linuxsong/laravel-administrator

A database interface package for Laravel

v4.16.1 2015-01-23 01:12 UTC

README

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.

Build Status

68747470733a2f2f7261772e6769746875622e636f6d2f46726f7a656e4e6f64652f4c61726176656c2d41646d696e6973747261746f722f6d61737465722f6578616d706c65732f696d616765732f6f766572766965772e6a7067

Composer

To install Administrator as a Composer package to be used with Laravel 4, simply add this to your composer.json:

"frozennode/administrator": "dev-master"

..and run composer update. Once it's installed, you can register the service provider in app/config/app.php in the providers array:

'providers' => array(
    'Frozennode\Administrator\AdministratorServiceProvider',
)

Then publish the config file with php artisan config:publish frozennode/administrator. This will add the file app/config/packages/frozennode/administrator/administrator.php. This config file is the primary way you interact with Administrator.

Then finally you need to publish the package's assets with the php artisan asset:publish frozennode/administrator command.

Laravel 3

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,
),

Documentation

The complete docs for Administrator can be found at http://administrator.frozennode.com. You can also find the docs in the /src/docs directory.

Copyright and License

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.

Recent Changelog

4.16.1

  • Bugfix: Previous update broke temporary upload paths

4.16.0

  • It's now possible to use the raw value of a file/image field to help with storing files on remote servers.

4.15.0

  • New uneditable states for color, password, enum, and wysiwyg fields for when the editable option resolves to false
  • New translations (sk)
  • Bugfix: Editable fields are now also verified on the back end
  • Bugfix: Setting a string image length would fail uploads
  • Bugfix: Basic validation for relationship fields wasn't working
  • Bugfix: "Characters left" text was sitting unnecessarily outside the "editable" conditional
  • Bugfix: Some missing image-related translations
  • Bugfix: Editable option wasn't working for some fields