huanghua581 / Laravel Backend
Backend for Laravel 4
Stars: ✭ 137
Projects that are alternatives of or similar to Laravel Backend
Otter
A relatively automatic CRUD backend administration panel for Laravel
Stars: ✭ 261 (+90.51%)
Mutual labels: laravel, backend
Blogetc
Easily add a full Laravel blog (with built in admin panel and public views) to your laravel project with this simple package.
Stars: ✭ 198 (+44.53%)
Mutual labels: laravel, backend
Poetryclub Backend
基于 laravel + vue.js 的诗词小筑网站后台页面与后端代码
Stars: ✭ 87 (-36.5%)
Mutual labels: laravel, backend
Laravel Realworld Example App
Exemplary real world backend API built with Laravel
Stars: ✭ 954 (+596.35%)
Mutual labels: laravel, backend
Sleepingowladmin
🦉 Administrative interface builder for Laravel (Laravel admin)
Stars: ✭ 671 (+389.78%)
Mutual labels: laravel, backend
October
Self-hosted CMS platform based on the Laravel PHP Framework.
Stars: ✭ 10,740 (+7739.42%)
Mutual labels: laravel, backend
Concord
Laravel extension for building modular applications where modules are decoupled, re-usable and easily customizable
Stars: ✭ 135 (-1.46%)
Mutual labels: laravel
Laravel Hashslug
Package providing a trait to use Hashids on a model
Stars: ✭ 136 (-0.73%)
Mutual labels: laravel
Laravel Deletable
👾 Gracefully restrict deletion of Laravel Eloquent models
Stars: ✭ 137 (+0%)
Mutual labels: laravel
Forum
A fully-fledged modern forum app, including @mention and private messaging, built with Laravel 5.3 and Vue 2.
Stars: ✭ 135 (-1.46%)
Mutual labels: laravel
Blade Extensions
Laravel Blade Extension Classes for Laravel 5
Stars: ✭ 136 (-0.73%)
Mutual labels: laravel
Sonic
🦔 Fast, lightweight & schema-less search backend. An alternative to Elasticsearch that runs on a few MBs of RAM.
Stars: ✭ 12,347 (+8912.41%)
Mutual labels: backend
Laravel 通用后台
安装
请先确认已经安装Composer. 编辑项目中的 composer.json
文件,然后加入 ecdo/backend
.
{
"require": {
"ecdo/backend": "dev-master"
}
}
更新包 composer update
或者初始化包 composer install
。
composer update
请清空 app/storage/views
需要添加以下服务到系统。
打开 app/config/app.php
, 然后添加新的值到 providers
数组:
'Former\FormerServiceProvider',
'Cartalyst\Sentry\SentryServiceProvider',
'Ecdo\Backend\BackendServiceProvider',
同时添加类别名,
'Former' => 'Former\Facades\Former',
'Sentry' => 'Cartalyst\Sentry\Facades\Laravel\Sentry',
注意:使用中文包请修改 'locale' => 'zh-cn'
,
最后执行 php artisan backend:install
命令执行完成后会生成这些包配置文件 : Cartalyst/Sentry
, Anahkiasen/Former
, Ecdo/Backend
;
同时相对应的数据库创建完成。
创建一个新用户 php artisan backend:user
现在可以访问 http://localhost/admin 来操作后台了。
使用帮助
- 配置
app/config/ecdo/backend/config.php
设置系统参数:后台标题、菜单、模板别名等; - 控制器使用
use Ecdo\Backend\Controllers\BaseController;
然后继承 BaseController; - 模板继承 @extends(Config::get('backend::views.layout')) , 具体使用模块 可以查看包里面的layout文件。主意:模板文件命名为
*.blade.php
- 路由设置 参照包里面路由规则写就行了;
License
This is free software distributed under the terms of the MIT license
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].