| Package Data | |
|---|---|
| Maintainer Username: | yangyugang |
| Maintainer Contact: | smartydroid@gmail.com (YuGang Yang) |
| Package Create Date: | 2015-07-27 |
| Package Last Update: | 2017-02-08 |
| Home Page: | |
| Language: | CSS |
| License: | Unknown |
| Last Refreshed: | 2025-10-18 15:02:44 |
| Package Statistics | |
|---|---|
| Total Downloads: | 293 |
| Monthly Downloads: | 0 |
| Daily Downloads: | 0 |
| Total Stars: | 102 |
| Total Watchers: | 11 |
| Total Forks: | 22 |
| Total Open Issues: | 0 |
由于项目重构修改内容较多,现启用新的项目库,该项目不再维护更新,请点击访问新库
Model management


To install this package you will need:
You must then modify your composer.json file and run composer update to include the latest version of the package in your project.
"require": {
"forone/admin": "dev-master"
}
Or you can run the composer require command from your terminal.
composer require forone/admin:dev-master
At this time the package is still in a developmental stage and as such does not have a stable release. You may need to set your
minimum-stabilitytodev.
Once the package is installed the next step is dependant on which framework you're using.
Open config/app.php and register the required service provider and aliases.
'providers' => [
Forone\Admin\Providers\ForoneServiceProvider::class
]
'aliases' => [
'Form' => Illuminate\Html\FormFacade::class,
'Html' => Illuminate\Html\HtmlFacade::class,
]
If you'd like to make configuration changes in the configuration file you can pubish it with the following Aritsan command:
php artisan vendor:publish --provider="Forone\Admin\Providers\ForoneServiceProvider" --force
Publishing Defender configuration file and migrations
php artisan vendor:publish --provider="Artesaos\Defender\Providers\DefenderServiceProvider"
Init data
php artisan db:init
Backup database
php artisan db:backup
clear database
php artisan db:clear
upgrade database
php artisan db:upgrade