2017 © Pedro Peláez
 

project getlaravel

Laravel starter kit with admin

image

njxqlus/getlaravel

Laravel starter kit with admin

  • Friday, September 22, 2017
  • by njxqlus
  • Repository
  • 2 Watchers
  • 3 Stars
  • 34 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 8 Versions
  • 3 % Grown

The README.md

Laravel starter kit with admin

Packagist, (*1)

Screenshot, (*2)

What's inside?

  • Laravel 5.5 dev version, (*3)

  • Fix "1071 Specified key was too long; max key length is 767 bytes" error, (*4)

  • Move Uses Model to Models folder and App\Models namespace, (*5)

  • santigarcor/laratrust:4.0.* and setup it, (*6)

  • barryvdh/laravel-debugbar:~3.0, (*7)

  • make:auth, (*8)

  • spatie/laravel-backup:dev-laravel-55 and setup it, (*9)

  • Russian traslatian for default Laravel lang files, (*10)

  • php artisan preset none, (*11)

  • barryvdh/laravel-ide-helper and setup it, (*12)

  • AdminLTE integration, (*13)

  • Include external Bootstrap (from npm), (*14)

  • Some app.layouts, home and welcome blade file changes, (*15)

  • Add less css to webpack, (*16)

  • Create resources, (*17)

  • Add actions view part with show/delete/edit/create new/return to index buttons to easy use in other views, (*18)

AdminLTE integration

Integration of starter.html to laravel blade's files
  • Create views and slice to parth like header, footer, sidebars etc.
  • Create some layouts like default starter layout and auth layout
  • Modify webpack.js to copy admin-lte plugins, images, css, js
Create additional auth views
  • Merge AdminLTE login and register html with Laravel make:auth views
  • Additionaly create password reset and password email views with Laravel make:auth views and on the base AdminLTE login html
Localization
  • Localize auth views (add @lang on blade templates and create admin-lte localization file)
  • Localize some admin-lte strings like sign out
  • Add ru translation
Other small things
  • Add CSRF token to forms
  • Make Sign Out button workable
  • Change name to {{ Auth::user()->name }} (your name)
  • Edit company name in footer
  • Include external Bootstrap, iCheck and other libraries from npm

Create resources

  • Create Role and Permission models
  • Create User, Role and Permission controllers and requests
  • Create User, Role and Permission views
  • Add some translations

Installation

Via Composer

1) composer create-project njxqlus/getlaravel myproject, (*19)

1) npm install, (*20)

1) Setup database, (*21)

1) php artisan migrate, (*22)

Via git clone

1) git clone https://github.com/njxqlus/getlaravel-admin.git myproject, (*23)

1) Copy and rename .env.example to .env, (*24)

1) php artisan key:generate, (*25)

1) composer install, (*26)

1) npm install, (*27)

1) Setup database, (*28)

1) php artisan migrate, (*29)

Backups Setup

1) Setup MYSQLDUMP_PATH in .env file for MySQL backups, (*30)

1) Setup CRON on server like: * * * * * php /path/to/artisan schedule:run >> /dev/null 2>&1, (*31)

IDE Helper Setup

1) php artisan ide-helper:meta, (*32)

1) php artisan ide-helper:model, (*33)

1) php artisan ide-helper:generate, (*34)

Usage

Let's build something awesome!, (*35)

Admin based on /cp route, (*36)

What's next?

  • Setup permissions

Credits

The Versions