Initilized package for creating modules. This still needs more testing to see if this is the real and best solution. However, I was able to generate module, so it seems promissing.
29 lines
465 B
PHP
29 lines
465 B
PHP
<?php
|
|
|
|
namespace App\Providers;
|
|
|
|
use Illuminate\Support\ServiceProvider;
|
|
|
|
class AppServiceProvider extends ServiceProvider
|
|
{
|
|
/**
|
|
* Bootstrap any application services.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function boot()
|
|
{
|
|
//
|
|
}
|
|
|
|
/**
|
|
* Register any application services.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function register()
|
|
{
|
|
$this->app->register('Pingpong\Modules\ModulesServiceProvider');
|
|
}
|
|
}
|