fb5deb7d29e15c7cfedacc75edc09e9dfef8ed0c
namp2
Not another MP2 a.k.a MP3 done the right way.
Install.
- Install system dependencies:
php
nodejs
phantomjs
-
Clone the repo in wp-content/plugins.
-
Install composer.
$ curl -sS https://getcomposer.org/installer | php
- Install dependencies.
$ ./do update
Structure.
-
/assets CSS and JS.
-
/lang Language files.
-
/lib MailPoet classes. All classes are autoloaded, under the MailPoet namespace.
namespace \MailPoet\Models;
class Subscriber {}
$subscriber = new \MailPoet\Models\Subscriber();
-
/tests Acceptance and spec tests.
-
/mailpoet.php Kickstart file.
Unit testing.
- Run tests:
$ ./do test:unit
Acceptance testing.
- Run a WordPress install at:
127.0.0.1:8888
- Run tests:
$ ./do tes:acceptance
Watch assets.
$ ./do watch
Description
5.12.4-pirate
Latest
Languages
PHP
73.2%
TypeScript
12.8%
JavaScript
7.7%
SCSS
2.5%
HTML
2%
Other
1.7%