despark/ignicms 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

despark/ignicms

Composer 安装命令:

composer create-project despark/ignicms

包简介

Administrative interface builder for Laravel 5.1

README 文档

README

IMPORTANT: This repo has been moved to https://github.com/despark/igni-core.

For laravel 5.4+ please use the new repo. Thanks!

Introduction

igniCMS is an administrative interface builder for Laravel 5.3

For Laravel versions 5.2 use branch v2.0

Prerequisites

  • nodejs >= 4.0
  • npm
  • bower
  • gulp
  • composer

Installation

  1. Require this package in your composer.json and run composer update:
"require": {
   "php": ">=5.5.9",
   "laravel/framework": "5.1.*",
   "despark/ignicms": "dev-master"
},

Or composer require despark/ignicms

  1. After composer update, insert service providers Despark\Providers\AdminServiceProvider::class, Despark\Cms\Providers\FieldServiceProvider::class, before the application service providers to the config/app.php

Example

 ...
 /*
  * Despark CMS Service Provider
  */
   Despark\Cms\Providers\AdminServiceProvider::class,
   Despark\Cms\Providers\FieldServiceProvider::class,

 /*
  * Application Service Providers...
  */
   App\Providers\AppServiceProvider::class,
 ...
  1. Run this command in the terminal (it'll set all necessary resources to use the CMS. To complete this step you should have composer, npm & bower, installed globally):
  php artisan igni:admin:install
  1. Run the database seeder to populate the database with default user, permissions and roles:
  php artisan db:seed --class=DesparkDatabaseSeeder
  1. All done! Now go to the <your_site_url>/admin and use default credentials admin@despark.com / Despark1234

Additional commands

  • Use the command php artisan igni:admin:resource to create all necessary files for manipulating resources. You should specify the resource name (in title case).

    Example

      php artisan igni:admin:resource "Blog Post"
    
  • The command php artisan igni:admin:update will update composer dependencies, it'll clear the autoload and it'll run any new migrations.

  • You can run php artisan igni:admin:prod on your production server, after deploy. It will install all dependencies according to your composer.lock file, run new migrations and optimize the autoload.

Image styles rebuilding

You can rebuild image styles using php artisan igni:images:rebuild . If you want you can specify which resources to rebuil with --resources=* switch. You can exclude some resources with --without=*

Copyright and License

Despark CMS was written by Despark for the Laravel framework and is released under the MIT License. See the LICENSE file for details.

统计信息

  • 总下载量: 2.47k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 22
  • 点击次数: 1
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 21
  • Watchers: 5
  • Forks: 5
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-06-21

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固