FEATURE: init module environment

Initialized environment for creating modules.
This commit is contained in:
Michal Kváček
2016-01-20 19:14:59 +01:00
parent 6fd00cc993
commit e3f6f49d1c
4 changed files with 59 additions and 52 deletions
+1
View File
@@ -23,6 +23,7 @@ class AppServiceProvider extends ServiceProvider
*/
public function register()
{
// register PingPong module extension
$this->app->register('Pingpong\Modules\ModulesServiceProvider');
}
}
Regular → Executable
View File
+8 -3
View File
@@ -1,14 +1,18 @@
{
"name": "laravel/laravel",
"description": "The Laravel Framework.",
"keywords": ["framework", "laravel"],
"keywords": [
"framework",
"laravel"
],
"license": "MIT",
"type": "project",
"require": {
"php": ">=5.5.9",
"laravel/framework": "5.2.*",
"phpmailer/phpmailer": "^5.2",
"pingpong/modules": "~2.0"
"pingpong/modules": "~2.0",
"league/flysystem": "^1.0"
},
"require-dev": {
"fzaninotto/faker": "~1.4",
@@ -23,7 +27,8 @@
"database"
],
"psr-4": {
"App\\": "app/"
"App\\": "app/",
"Modules\\": "modules/"
}
},
"autoload-dev": {
+1
View File
@@ -147,6 +147,7 @@ return [
Illuminate\Translation\TranslationServiceProvider::class,
Illuminate\Validation\ValidationServiceProvider::class,
Illuminate\View\ViewServiceProvider::class,
Pingpong\Modules\ModulesServiceProvider::class,
/*
* Application Service Providers...