Package Data | |
---|---|
Maintainer Username: | roboticsexpert |
Maintainer Contact: | roboticsexpert@gmail.com (Mahdi Youseftabar) |
Package Create Date: | 2016-08-11 |
Package Last Update: | 2017-03-29 |
Home Page: | http://administrator.frozennode.com/ |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-19 03:12:49 |
Package Statistics | |
---|---|
Total Downloads: | 1,052 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 0 |
Total Watchers: | 1 |
Total Forks: | 1 |
Total Open Issues: | 0 |
Administrator is an administrative interface builder for Laravel. With Administrator you can visually manage your Eloquent models and their relations, and also create stand-alone settings pages for storing site data and performing site tasks.
Legacy Version
To install Administrator as a Composer package to be used with Laravel 5.4, simply run:
composer require "exodusanto/administrator: 5.4.*"
To install Administrator as a Composer package to be used with Laravel 5, simply run:
composer require "frozennode/administrator: 5.*"
Once it's installed, you can register the service provider in config/app.php
in the providers
array:
'providers' => [
'Frozennode\Administrator\AdministratorServiceProvider',
]
Then publish Administrator's assets with php artisan vendor:publish
. This will add the file config/administrator.php
. This config file is the primary way you interact with Administrator. This command will also publish all of the assets, views, and translation files.
If you want to use Administrator with Laravel 4, you need to resolve to Administrator 4:
"frozennode/administrator": "4.*"
Then publish the config file with php artisan config:publish frozennode/administrator
. This will add the file app/config/packages/frozennode/administrator/administrator.php
.
Then finally you need to publish the package's assets with the php artisan asset:publish frozennode/administrator
command.
Since Administrator has switched over to Composer, you can no longer use php artisan bundle:install administrator
or php artisan bundle:upgrade administrator
. If you want to use Administrator with Laravel 3, you must switch to the 3.3.2 branch, download it, and add it in the /bundles/administrator
directory and add this to your bundles.php file:
'administrator' => array(
'handles' => 'admin', //this determines what URI this bundle will use
'auto' => true,
),
The complete docs for Administrator can be found at http://administrator.frozennode.com. You can also find the docs in the /src/docs
directory.
Administrator was written by Jan Hartigan of Frozen Node for the Laravel framework. Administrator is released under the MIT License. See the LICENSE file for details.
Request::url()
instead of using url()