Package Data | |
---|---|
Maintainer Username: | edujugon |
Maintainer Contact: | edujugon@gmail.com (Eduardo Marcos) |
Package Create Date: | 2016-10-14 |
Package Last Update: | 2017-09-10 |
Home Page: | |
Language: | HTML |
License: | MIT |
Last Refreshed: | 2024-12-15 03:03:28 |
Package Statistics | |
---|---|
Total Downloads: | 123 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 6 |
Total Watchers: | 3 |
Total Forks: | 1 |
Total Open Issues: | 1 |
This Package adds latest version of AdminLTE Control Panel and some extra features in your Fresh Laravel 5 installation.
type in console:
composer require edujugon/adminlte
Register AdminLTE service by adding it to the providers array.
'providers' => array(
...
Edujugon\AdminLTE\Providers\AdminLTEServiceProvider::class
)
Since this package integrates auth views you should set up the Laravel Authentication Feature first:
Just run the following commands in your fresh Laravel application:
php artisan make:auth
Then
php artisan migrate
Since you will typically need to overwrite the dependencies every time the package is updated, I recommend to use the --force flag.
php artisan vendor:publish --tag=adminLTE_dependencies --force
Publish the package's view files to the application's own view directory
php artisan vendor:publish --tag=adminLTE_views --force
Publish the package's language files to the application's own lang directory.
Publish the package's LanguageController file to the application's own Controllers directory
php artisan vendor:publish --tag=adminLTE_languages
The last step is to add the below line to project's routes file.
File: routes/web.php
File: app/routes.php
Route::get('language/{lang}', 'LanguageController@index');
It will publish a file where you may have all project company data in one place.
File Location: config/company.php
php artisan vendor:publish --tag=adminLTE_config