Package Data | |
---|---|
Maintainer Username: | trungpv93 |
Maintainer Contact: | me@mitul.me (Mitul Golakiya) |
Package Create Date: | 2016-10-24 |
Package Last Update: | 2016-10-24 |
Home Page: | http://labs.infyom.com/laravelgenerator/ |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-19 03:16:27 |
Package Statistics | |
---|---|
Total Downloads: | 15 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 0 |
Total Watchers: | 2 |
Total Forks: | 0 |
Total Open Issues: | 0 |
Documentation is located here
"require": {
...
"trungpv93/laravel-generator": "5.3.x-dev",
"laravelcollective/html": "dev-master",
"doctrine/dbal": "~2.3" //If you want to use Generate from Table option, you need to install
}
Run update compose
composer update
Collective\Html\HtmlServiceProvider::class,
Laracasts\Flash\FlashServiceProvider::class, //If Use Flash Notification
Prettus\Repository\Providers\RepositoryServiceProvider::class,
\InfyOm\Generator\InfyOmGeneratorServiceProvider::class,
'Form' => Collective\Html\FormFacade::class,
'Html' => Collective\Html\HtmlFacade::class,
'Flash' => Laracasts\Flash\Flash::class, //If Use Flash Notification
php artisan vendor:publish
Open app\Providers\RouteServiceProvider.php and update mapApiRoutes method as following:
Route::group([
'middleware' => 'api',
'namespace' => $this->namespace."\\API",
'prefix' => 'api',
'as' => 'api.',
], function ($router) {
require base_path('routes/api.php');
});
php artisan infyom:publish
```
### Run Publish Layout Command (Option)
```sh
php artisan infyom.publish:layout