Package Data | |
---|---|
Maintainer Username: | jonstavis |
Maintainer Contact: | jon@yottaram.com (Jon Stavis) |
Package Create Date: | 2014-07-09 |
Package Last Update: | 2015-02-27 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-16 15:00:52 |
Package Statistics | |
---|---|
Total Downloads: | 55 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 2 |
Total Watchers: | 1 |
Total Forks: | 1 |
Total Open Issues: | 0 |
A simple model configuration generator for Laravel Administrator https://github.com/FrozenNode/Laravel-Administrator/
This package provides an artisan command to generate skeleton model configuration files from model classes suitable for Laravel Administrator.
This is very much a work in progress. The output skeleton model configuration files should be viewed as a step-saver and it is expected that they are reviewed and edited before deploying.
To use as a Composer package with Laravel 4, add this to your composer.json:
"yottaram/administrator-config": "dev-master"
And run composer update
. When it is installed, register the service provider in app/config/app.php
in the providers
array:
'providers' => array(
'Yottaram\AdministratorConfig\AdministratorConfigServiceProvider',
)
This creats an artisan command and can be used with php artisan administrator:config --help
You will be prompted for output directory and asked to confirm each model config creation. To skip confirmation use --no-prompt
. An existing model configuration will never be overwritten.