also looking at this
Initial Progress
#2
11 files
+235
-34
| @@ -1,28 +0,0 @@ | ||
| 1 | <?php | |
| 2 | ||
| 3 | namespace Meema\LaravelMeema; | |
| 4 | ||
| 5 | use Illuminate\Support\ServiceProvider; | |
| 6 | ||
| 7 | class MeemaServiceProvider extends ServiceProvider | |
| 8 | { | |
| 9 | /** | |
| 10 | * Bootstrap the application services. | |
| 11 | */ | |
| 12 | public function boot() | |
| 13 | { | |
| 14 | if ($this->app->runningInConsole()) { | |
| 15 | $this->publishes([ | |
| 16 | __DIR__.'/../config/config.php' => config_path('meema.php'), | |
| 17 | ], 'config'); | |
| 18 | } | |
| 19 | } | |
| 20 | ||
| 21 | /** | |
| 22 | * Register the application services. | |
| 23 | */ | |
| 24 | public function register() | |
| 25 | { | |
| 26 | $this->mergeConfigFrom(__DIR__.'/../config/config.php', 'meema'); | |
| 27 | } | |
| 28 | } | |