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

After upgrading Laravel 8.8, I integrated the articles and notes together

Laravel 8 has undergone major revisions, and my website has also been revised accordingly. The "notes" and "articles" on my website were originally separated into two blocks. This time I integrated him together. Anyway, there are not many articles, and the combined content seems to be more. :p

laravel,Laravel security

Lock IP in Laravel debug mode

Laravel's debugging mode is quite rich. Laravel's official website has a reminder that you can set APP_DEBUG to true for local development, but in the production environment, this value must always be False.

laravel storage

How do I sync files with Laravel's Storage's sftp driver

The installation and setting of SFTP is beyond the scope of this article. If you want to know more, I suggest you read another article https://www.ccc.tc/article/Laravel-SFTP-Driver-Configuration. In this article, I will use a very fast Sample. Demo How do I use the self-built artisan command to synchronize the remote data to the local end. Some people may ask why rsync is not used. This article is to introduce the use of Storage to synchronize files. 🤪Let’s look directly at the code, I set up an sftp disk called ccc in config/filesystems.php.