2017 © Pedro Peláez
 

project ignicms

Administrative interface builder for Laravel 5.1

image

despark/ignicms

Administrative interface builder for Laravel 5.1

  • Friday, February 9, 2018
  • by astoimenov
  • Repository
  • 6 Watchers
  • 18 Stars
  • 1,815 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 6 Forks
  • 25 Open issues
  • 41 Versions
  • 5 % Grown

The README.md

Despark's igniCMS

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

For laravel 5.4+ please use the new repo. Thanks!, (*1)

Introduction

igniCMS is an administrative interface builder for Laravel 5.3, (*2)

For Laravel versions 5.2 use branch v2.0, (*3)

Prerequisites

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

Installation

  1. Require this package in your composer.json and run composer update:, (*4)

    "require": {
     "php": ">=5.5.9",
     "laravel/framework": "5.1.*",
     "despark/ignicms": "dev-master"
    },
    

    Or composer require despark/ignicms, (*5)

  2. 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, (*6)

    Example, (*7)

    ...
    /*
    * Despark CMS Service Provider
    */
     Despark\Cms\Providers\AdminServiceProvider::class,
     Despark\Cms\Providers\FieldServiceProvider::class,
    
    /*
    * Application Service Providers...
    */
     App\Providers\AppServiceProvider::class,
    ...
    
  3. 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):, (*8)

    php artisan igni:admin:install
    
  4. Run the database seeder to populate the database with default user, permissions and roles:, (*9)

    php artisan db:seed --class=DesparkDatabaseSeeder
    
  5. All done! Now go to the <your_site_url>/admin and use default credentials admin@despark.com / Despark1234, (*10)

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)., (*11)

    Example, (*12)

    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., (*13)

  • 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., (*14)

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=*, (*15)

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

The Versions