Download the PHP package ronaldoooo/laravel-admin without Composer
On this page you can find all versions of the php package ronaldoooo/laravel-admin. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ronaldoooo/laravel-admin
More information about ronaldoooo/laravel-admin
Files in ronaldoooo/laravel-admin
Package laravel-admin
Short Description laravel admin
License MIT
Homepage https://github.com/z-song/laravel-admin
Informations about the package laravel-admin
laravel-admin
laravel-admin is administrative interface builder for laravel which can help you build CRUD backends just with few lines of code.
Demo use username/password:admin/admin
Inspired by SleepingOwlAdmin and rapyd-laravel.
中文文档
Screenshots

Installation
First, install laravel, and make sure that the database connection settings are correct.
Inconfig/app.phpaddServiceProvider:
Then run these commands to finnish install:
open http://localhost/admin/ in browser,use username admin and password admin to login.
Default Settings
The file in config/admin.php contains an array of settings, you can find the default settings in there.
Documentation
- quick start
- router
- menu
- layout
- model-grid
- model-form
- widgets
- table
- form
- box
- info-box
- tab
- carousel
- collapse
- charts TODO
- RBAC
Directory structure
After install,you can find directoryapp/Admin,and then most of our develop work is under this directory.
app/Admin/routes.php is used to define routes,for more detail please read routes.
The app/Admin/Controllers directory is used to store all the controllers, The HomeController.php file under this directory is used to handle home request of admin,The ExampleController.php file is a controller example.
Quick start
We use users table come with Laravel for example,the structure of table is:
And the model for this table is App\User.php
You can follow these steps to setup CURD interfaces of table users:
1.add controller
Use the following command to create a controller for App\User model
The above command will create the controller in app/Admin/Controllers/UserController.php.
2.add route
Add a route in app/Admin/routes.php:
3.add left menu item
Open http://localhost:8000/admin/auth/menu, add menu link and refresh the page, then you can find a link item in left menu bar.
4.build grid and form
The rest needs to be done is open app/Admin/Contollers/UserController.php, find form() and grid() method and write few lines of code with model-grid and model-form,for more detail, please read model-form.
Other
laravel-admin based on thses plugins or services:
- Laravel
- AdminLTE
- Bootstrap Markdown
- Datetimepicker
- CodeMirror
- font-awesome
- moment
- Google map
- Tencent map
- bootstrap-fileinput
- jquery-pjax
- Nestable
- noty
License
laravel-admin is licensed under The MIT License (MIT).
