Pingpong modules it seems to be built for an earlier version of Laravel 5 and how compatible they are with future versions (and maybe with the current 5.1.11), I can’t say.
Not much activity can be seen in the commit history for 2.1, today (December 18) the last commit was more than 6 months ago.
But is the package specifically designed for Laravel? It seems. They offer many features useful for development. The only bad thing: you get a lot of code in your own environment git(is this good? I don’t know what you prefer).
Personally, I don’t like this for development, I prefer them in the vendor/ folder , otherwise it hurts me to update it to a newer version.
Laravel 5 Taylor , Laravel 4. , ( ), Laravel, ServiceProvider s. ServiceProvider - Laravel.
, ( github/packagist Satis).
Pingpong (2.1) Laravel 5, (Embedded Laravel Package) Laravel 4, , .
?
, / , Asgard CMS. , , , ( ).
?
, . , . modules , / . .
, app/, Laravel , CMS/API.
:
tests/
src/
Acme/
Controllers/
Requests/
Models/
Module.php // contains some specifc calculations for example
ModelServiceProvider.php
composer.json
composer.json : "Module\\": "src/"
config/app.php ModuleServiceProvider. Laravel app().
, Models , , composer . :
<?php
require_once __DIR__ .'/vendor/autoload.php';
use Module\Models\Module;
$module = new Module;
, , API CMS:
tests/
src/
Cms/
Controllers/
Requests/
Api/
Controllers/
Transformers/
Models/
Module.php
Providers/
CmsServiceProvider.php
ApiServiceProvider.php
ModuleServiceProvider.php
composer.json
ModuleServiceProvider config/app.php ApiServiceProvider CmsServiceProvider /.