1.0 DOCUMENTATION

REQUIREMENTS:

  • PHP >= 5.5.9
  • Laravel 5.1.x

INSTALLATION GUIDE:

IMPORTANT!

  • Preferred a fresh install of laravel 5.1 application.
  • Make sure to set all your database connection first.
  • Make sure to set correct "url" on config/app.php
  • STEP 1:

    composer require darryldecode/laravelbackend:~1.0
                
  • STEP 2:

    add this lines in config/app.php on providers array:

    
    Darryldecode\Backend\BackendServiceProvider::class,
    Darryldecode\Backend\BackendRoutesServiceProvider::class,
                

    add this lines in config/app.php on aliases array:

    
    'Form' => Illuminate\Html\FormFacade::class,
    'Html' => Illuminate\Html\HtmlFacade::class,
                
  • STEP 3:

    NOTE: Delete all default migration first bundled with your laravel installation. Backend package has its own full-blown user component. After you have deleted it, do this on your command line:
    php artisan vendor:publish --provider="Darryldecode\Backend\BackendServiceProvider"

    Then do:

    composer dump-autoload
  • STEP 4:

    On your terminal, do:

    
    php artisan migrate
    php artisan db:seed --class=BackendSeeder
                
  • STEP 5:

    on config/auth.php (changed your model to:)

    'Darryldecode\Backend\Components\User\Models\User'

    on config/filesystems.php (changed the local disks:)

    
        'root'   => storage_path('app'),
            to:
        'root'   => public_path('uploads'),
                

    on app/Console/Kernel.php (add this on the $commands property array, this will enable package's built in consoles)

    
    \Darryldecode\Backend\Base\Console\ComponentMake::class,
    \Darryldecode\Backend\Base\Console\WidgetMake::class
                
  • CONRGATULATIONS! Your instant laravel 5.1 backend is ready!

    You can now login to your backend installation:

    youdomain.com/backend/login

    • User: admin@gmail.com
    • Pass: admin
    Please change your credentials. You can also change your backend url on config.

VIDEO INSTALLATION TUTORIAL: