Power Laravel
Whenever I start a new Laravel Application, I always search online for the best laravel Packages and configure those to my laravel application one by one. This is a tiresome task everytime. So here I am sharing the way to customize your Laravel Application with a bunch of most popular and most recommended packages which will be helpful for you during and post-develoment.
Just replace the default composer.json
file from your laravel application with the one from this repository and follow following steps for setting up application.
How to Setup Packages
1. arcanedev/log-viewer
One of the Best Laravel Log viewer with a dedicated Dashboard.
Below are the steps to make this package work
- In
.env
file addAPP_LOG=daily
- In
config/app.php
in theproviders
Array addArcanedev\LogViewer\LogViewerServiceProvider::class,
. - Run
php artisan log-viewer:publish
on terminal. - To use the Web UI just visit
http://example.com/log-viewer
. - Configuration settings are in
config/log-viewer.php
.
2. itsgoingd/clockwork
A browser extension for debugging, profiling Laravel Application.
Below are the steps to make this package work
- In
config/app.php
in theproviders
Array addClockwork\Support\Laravel\ClockworkServiceProvider::class,
. - In
config/app.php
in thealiases
Array add'Clockwork' => Clockwork\Support\Laravel\Facade::class,
. - Install the Chrome Extension or Firefox Extension.
- To use the Web UI just visit
http://example.com/__clockwork
.
3. barryvdh/laravel-debugbar
Debug Bar for Laravel Application which includes many collectors for Laravel
Below are the steps to make this package work
- In
config/app.php
in theproviders
Array addBarryvdh\Debugbar\ServiceProvider::class,
. - In
config/app.php
in thealiases
Array add'Debugbar' => Barryvdh\Debugbar\Facade::class,
. - Set
APP_DEBUG=true
in.env
file. - For Configuration just execute
php artisan vendor:publish --provider="Barryvdh\Debugbar\ServiceProvider"
. - Visit this link for more information.
4. lubusin/laravel-decomposer
It gives you information about all the installed Packages, their dependencies and Server Environment details.
Below are the steps to make this package work
- In
config/app.php
in theproviders
Array addLubusin\Decomposer\DecomposerServiceProvider::class,
. - In
routes/web.php
file add the route for DecomposerRoute::get('decompose','\Lubusin\Decomposer\Controllers\DecomposerController@index');
- To use the Web UI just visit
http://example.com/decompose
.
5. sven/artisan-view
This Package adds some view related Artisan Commands in your Laravel Project.
Below are the steps to make this package work
- Add following script In
boot
method ofapp/Providers/AppServiceProvider.php
if ($this->app->environment() == 'local') { $this->app->register(\Sven\ArtisanView\ServiceProvider::class); }
- Visit this link for more information.
6. nunomaduro/larastan
Larastan focuses on finding errors in your code without actually running it. It catches whole classes of bugs even before you write tests for the code.
Below are the steps to make this package work
- No Steps, Larastan starts working after installing the Package.
- To Analyse the code just execute
php artisan code:analyse
. It also provide different levels of analysis. - Visit this link for more information.
License
open-sourced software licensed under the MIT license.