a2design/extended-crud

Extends templates compiling for appzcoder/crud-generator

v1.0.8 2016-05-16 05:00 UTC

This package is not auto-updated.

Last update: 2024-04-19 20:40:01 UTC


README

Extends templates compiling for appzcoder/crud-generator

Requirements

Laravel >=5.1
PHP >= 5.5.9

Installation

  1. Run

    composer require a2design/extended-crud
    
  2. Add service provider to /config/app.php file.

    'providers' => [
        ...
    
        A2Design\ExtendedCrud\ExtendedCrudServiceProvider::class,
    ],
  3. Install laravelcollective/html package for form & html.

    • Run
    composer require laravelcollective/html
    // For laravel 5.1
    composer require laravelcollective/html "5.1.*"
    
    • Add service provider & aliases to /config/app.php file.
    'providers' => [
        ...
    
        Collective\Html\HtmlServiceProvider::class,
    ],
    
    // Use the lines below for "laravelcollective/html" package otherwise remove it.
    'aliases' => [
        ...
    
        'Form'      => Collective\Html\FormFacade::class,
        'HTML'      => Collective\Html\HtmlFacade::class,
    ],
  4. Run composer dump-autoload

  5. Publish config file & generator template files.

    php artisan vendor:publish
    

Note: You should have configured database for this operation.

Commands

See docs of original generator