diff --git a/config/app.php b/config/app.php index 83686c7..a3d767d 100644 --- a/config/app.php +++ b/config/app.php @@ -167,6 +167,7 @@ * Package Service Providers... */ Laravel\Tinker\TinkerServiceProvider::class, + WebEd\Base\Providers\ModuleProvider::class, /* * Application Service Providers... @@ -177,8 +178,6 @@ App\Providers\EventServiceProvider::class, App\Providers\RouteServiceProvider::class, - WebEd\Base\Providers\ModuleProvider::class, - ], /* diff --git a/documentation/console/images/plugins.png b/documentation/console/images/plugins.png deleted file mode 100644 index 0d04230..0000000 Binary files a/documentation/console/images/plugins.png and /dev/null differ diff --git a/documentation/console/module.md b/documentation/console/module.md deleted file mode 100644 index 1544bfe..0000000 --- a/documentation/console/module.md +++ /dev/null @@ -1,102 +0,0 @@ -#WebEd module commands - -####Install CMS -``` -php artisan cms:install --refresh -``` - -**Note**: if you use **--refresh**, please make sure all plugins and themes are uninstalled! - -![Plugins page](./images/plugins.png) - -####Get all modules information -``` -php artisan module:list -php artisan module:list --type=base -php artisan module:list --type=plugins -``` - -####Export a base module -When you need to modify a base core module. It's time to use export method. -To know the alias of module, just run: -``` -php artisan module:list --type=base -``` -Then run -``` -php artisan module:base:export {alias} -``` - -####Disable plugins -``` -php artisan module:disable --all -``` - -####Enable plugins -``` -php artisan module:enable --all -``` - -####Install plugin dependencies: -When you enable a plugin, it's still not have some related things like database schema, sample data..., -it's time that you need to run install. - -There are two ways to install plugin: -``` -php artisan module:install {alias} -``` - -or you go to **Admin Dashboard** page --> **Plugins**. Then just click to **Install** button. - -####Uninstall plugin dependencies: -When you want to remove all installed dependencies of a plugin like database schema..., -it's time that you need to run uninstall. -``` -php artisan module:uninstall {alias} -``` - -or you go to **Admin Dashboard** page --> **Plugins**. Then just click to **Uninstall** button. - -##Generators - -####Create a new plugin/module -``` -php artisan module:create {alias} -``` - -####Other helpers: -``` -php artisan module:make:controller {alias} {name} {--resource} - -php artisan module:make:command {alias} {name} - -php artisan module:make:facade {alias} {name} - -php artisan module:make:middleware {alias} {name} - -php artisan module:make:migration {alias} {name} {--create} {--table] - -php artisan module:make:model {alias} {name} {table} - -php artisan module:make:provider {alias} {name} - -php artisan module:make:repository {alias} {name} {--no-cache} - -php artisan module:make:request {alias} {name} - -php artisan module:make:service {alias} {name} - -php artisan module:make:support {alias} {name} - -php artisan module:make:view {alias} {name} {--layout=1columns/2columns} -``` - -For example: - -``` -php artisan module:make:controller webed-blog SystemController -``` - -``` -php artisan module:make:provider webed-blog HookServiceProvider -``` \ No newline at end of file diff --git a/documentation/console/theme.md b/documentation/console/theme.md deleted file mode 100644 index 8537a17..0000000 --- a/documentation/console/theme.md +++ /dev/null @@ -1,67 +0,0 @@ -#WebEd theme commands - -####Disable themes -``` -php artisan theme:disable {alias} -``` - -####Enable themes -``` -php artisan theme:enable {alias} -``` - -####Install theme dependencies: -When you enable a theme, it's still not have some related things like database schema, sample data..., -it's time that you need to run install. - -There are two ways to install theme: -``` -php artisan theme:install {alias} -``` - -or you go to **Admin Dashboard** page --> **Themes**. Then just click to **Install** button. - -####Uninstall theme dependencies: -When you want to remove all installed dependencies of a theme like database schema..., -it's time that you need to run uninstall. -``` -php artisan theme:uninstall {alias} -``` - -or you go to **Admin Dashboard** page --> **Themes**. Then just click to **Uninstall** button. - -##Generators - -####Create a new theme -``` -php artisan theme:create {alias} -``` - -####Other helpers: -These commands will generate php files with specified type to the **current activated theme**. - -``` -php artisan theme:make:controller {name} {--resource} -``` - -``` -php artisan theme:make:command {name} -``` - -``` -php artisan theme:make:provider {name} -``` - -``` -php artisan theme:make:view {name} -``` - -For example: - -``` -php artisan theme:make:controller SystemController --resource -``` - -``` -php artisan theme:make:provider HookServiceProvider -``` \ No newline at end of file diff --git a/documentation/images/1.png b/documentation/images/1.png deleted file mode 100644 index 88fa01a..0000000 Binary files a/documentation/images/1.png and /dev/null differ diff --git a/documentation/images/2.png b/documentation/images/2.png deleted file mode 100644 index e2e80b0..0000000 Binary files a/documentation/images/2.png and /dev/null differ diff --git a/documentation/images/3.png b/documentation/images/3.png deleted file mode 100644 index 27b5775..0000000 Binary files a/documentation/images/3.png and /dev/null differ diff --git a/documentation/images/4.png b/documentation/images/4.png deleted file mode 100644 index c6180aa..0000000 Binary files a/documentation/images/4.png and /dev/null differ diff --git a/documentation/images/5.png b/documentation/images/5.png deleted file mode 100644 index 62733e9..0000000 Binary files a/documentation/images/5.png and /dev/null differ