2015-07-09 23:04:41 +02:00
2015-07-21 18:20:38 +02:00
2015-07-14 18:18:34 +02:00
2015-07-21 18:20:38 +02:00
2015-07-21 18:20:38 +02:00
2015-07-21 17:56:15 +02:00
2015-07-17 22:43:22 +02:00
2015-07-09 23:04:41 +02:00
2015-07-09 23:04:41 +02:00
2015-07-09 23:04:41 +02:00
2015-07-09 23:04:41 +02:00

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.

$ ./do test:unit
  • Acceptance tests:
# Setup .env
$ ./do test:acceptance
  • Run all tests:
$ ./do test:all

Watch assets.

$ ./do watch
Description
I refuse to pay money to send emails from my own damn email server.
Readme 368 MiB
5.12.4-pirate Latest
2025-06-03 02:30:47 +00:00
Languages
PHP 73.2%
TypeScript 12.8%
JavaScript 7.7%
SCSS 2.5%
HTML 2%
Other 1.7%