a133a766f786f7f47ab87f7ea2c0f18f4c7035d6
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
$ ./composer.phar install
- Install dependencies.
$ ./do install
- Update dependencies when needed.
$ ./do update
- Copy .env.sample to .env.
$ cp .env.sample .env
Structure.
- Dependencies.
# PHP dependencies.
composer.json
# JS dependencies.
package.json
-
/assets CSS and JS.
-
/lang Language files.
-
/lib MailPoet classes. All classes are autoloaded, under the MailPoet namespace.
// file: ./lib/models/subscriber.php
namespace \MailPoet\Models;
class Subscriber {}
$subscriber = new \MailPoet\Models\Subscriber();
-
/tests Acceptance and spec tests.
-
/mailpoet.php Kickstart file.
Tests.
- Unit tests (using verify):
$ ./do test:unit
- Acceptance tests:
# Setup .env
$ ./do test:acceptance
- Run all tests:
$ ./do test:all
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%