Releases: sebastienheyd/boilerplate
Laravel 5.8 compatibility
- jenssegers/date has been removed and replaced by the built-in Carbon 2 date translation feature.
- santigarcor/laratrust update
Tests and PSR2 coding standards
5.7.10 Functional tests with Laravel Dusk
Fix bootstrap security vulnerabilities
5.7.9 Fix bootstrap security vulnerabilities
Bootbox locales
Bootbox locales are now in bootbox.locales.js
Readme and optimizations
- Updated readme
- Moved config, console commands and assets
- Optimized @php calls in views
Moved resources & users menu items
- views have been moved from
resources/views/vendor/boilerplate
toresources/views
- lang have been moved from
resources/lang/vendor/boilerplate
toresources/lang/boilerplate
- new users menu items ("add new user" and "your profile")
Assets now use mix with versionning
All assets used by Boilerplate now use Laravel mix with versioning. This avoid to manually clear browser cache on package update.
IMPORTANT !
After package update, you need to put the new assets folder into the public folder. To do that, run this command :
php artisan vendor:publish --provider="Sebastienheyd\Boilerplate\BoilerplateServiceProvider" --tag=public --force
After that, you can delete these following files and folders (unless you have added files in them) :
- public/css/boilerplate.min.css
- public/fonts
- public/js/boilerplate.min.js
- public/js/plugins
- public/images/default_user.png
- public/images/boxed-bg.jpg
Route names prefix
All routes names now have boilerplate.
as prefix.
If you have already boilerplate installed, you need to change this line in config/boilerplate/app.php
:
'redirectTo' => 'boilerplate.home'
to 'redirectTo' => 'boilerplate.dashboard'
If you have published boilerplate views, you need to remove the folder resources/views/errors
, unless you have made changes in it. Laravel now have its own errors views.
Routing and menu
- Add possibility to define your own providers classes to build menu in the new configuration file menu.php
- Add possibility to define your own class to display the dashboard
- Routes refactoring
Turkish language
Thanks to @mavisland !