njxqlus / getlaravel
Laravel starter kit with admin
Installs: 50
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 3
Forks: 1
Open Issues: 0
Type:project
Requires
- php: >=7.0.0
- barryvdh/laravel-debugbar: ~3.0
- doctrine/dbal: ^2.6
- fideloper/proxy: ~3.3
- laravel/framework: 5.5.*
- laravel/tinker: ~1.0
- santigarcor/laratrust: 4.0.*
- spatie/laravel-backup: dev-laravel-55
Requires (Dev)
- barryvdh/laravel-ide-helper: ^2.4
- filp/whoops: ~2.0
- fzaninotto/faker: ~1.4
- mockery/mockery: 0.9.*
- phpunit/phpunit: ~6.0
This package is not auto-updated.
Last update: 2024-11-10 02:29:52 UTC
README
What's inside?
-
Laravel 5.5 dev version
-
Fix "1071 Specified key was too long; max key length is 767 bytes" error
-
Move Uses Model to Models folder and App\Models namespace
-
santigarcor/laratrust:4.0.* and setup it
-
barryvdh/laravel-debugbar:~3.0
-
make:auth
-
spatie/laravel-backup:dev-laravel-55 and setup it
-
Russian traslatian for default Laravel lang files
-
php artisan preset none
-
barryvdh/laravel-ide-helper and setup it
-
Include external Bootstrap (from npm)
-
Some app.layouts, home and welcome blade file changes
-
Add less css to webpack
-
Add actions view part with show/delete/edit/create new/return to index buttons to easy use in other views
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
-
composer create-project njxqlus/getlaravel myproject
-
npm install
-
Setup database
-
php artisan migrate
Via git clone
-
git clone https://github.com/njxqlus/getlaravel-admin.git myproject
-
Copy and rename .env.example to .env
-
php artisan key:generate
-
composer install
-
npm install
-
Setup database
-
php artisan migrate
Backups Setup
-
Setup
MYSQLDUMP_PATH
in .env file for MySQL backups -
Setup CRON on server like:
* * * * * php /path/to/artisan schedule:run >> /dev/null 2>&1
IDE Helper Setup
-
php artisan ide-helper:meta
-
php artisan ide-helper:model
-
php artisan ide-helper:generate
Usage
Let's build something awesome!
Admin based on /cp
route
What's next?
- Setup permissions