by Devin Yang
(This article was automatically translated.)

Published - 7 years ago ( Updated - 7 years ago )

What packages do you definitely have installed on your Laravel application?
There are four-star kits here, almost everyone will install them,
Let's take a look at my usage experience.

Here's what I've tried:

1. Laravel Debugbar.

It is OK after trying it out, you can decide whether to use this function through APP_DEBUG in env.
When I use it in development mode, my favorite is probably his Views,
Because I loaded a lot of Blade templates in my self-built background,
When I need to adjust, it is easy to recall which template I want to adjust, and it may take a long time to change it.
Laravel debug bar

2. Laravel IDE Helper

If there is PhpStorm, I think this must be installed.
The IDE can't read it without installing it.
Before PhpStorm did not use laravel-ide-help
After installation, Route displays, and there is no bottom line for marking errors.
PhpStorm not using laravel-ide-help after

Download and drop it into the project directory: (L5)
_ide_helper.php
This file does not require version control,
Remember that you can modify the .gitignore file in the Laravel Project directory, add _ide_helper.php , and ignore it.

Here is a Laracasts video installation tutorial: https://laracasts.com/series/how-to-be-awesome-in-phpstorm/episodes/15

3. Laravel Collective HTML

Since my background form is fully controllable form template, repeated use,
All modified values ​​will be automatically substituted into the input or automatically selected from the dropdown.
This is not attractive to me, Blade is really the best prototype engine I have seen so far.


There are more useful packages, you can refer to the source of the original text:
https://mattstauffer.co/blog/what-packages-do-you-install-on-every-laravel-application-you-create

Tags: Laravel Packages

Devin Yang

Feel free to ask me, if you don't get it.:)

No Comment

Post your comment

Login is required to leave comments

Similar Stories


laravel

Customize your own helper in laravel

In the Laravel framework, a considerable number of PHP functions (php functions), called helpers, are included. https://laravel.com/docs/5.6/helpers So how do we customize our own helper in Laravel? It's actually quite simple.. Just add files in autoload in composer.json.

dlaravel

Description of .env.example file on D-Laravel

This article explains about the .env settings on D-Laravel MYSQL_ROOT_PASSWORD=secret LARAVEL_INSTALLER='container' DOCKER_SERVICES='docker-compose.yml service/redis.yml'

dlaravel

D-Laravel test domain name *.dev changed to *.test

Since Google Chrome 63 will forcibly convert the domain name of *.dev to https, the domain name of the new version of D-Laravel will be changed to *.test. This article explains how to update.