by Devin Yang
(This article was automatically translated.)

Published - 8 years ago ( Updated - 8 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,dotenv,seo

How do I dynamically load different dotenv files in Laravel according to the subdomain name

Before we start, let me complain. Originally, my website could automatically display different languages ​​according to the user's browser. That's okay, but Google's SEO doesn't seem to like it. He recommends using different URLs for each language and not using cookies or browser settings to adjust the content of the page. Well, I'll just be obedient. His suggested method, the first solution: distinguish by country, such as example.tw or example.de, how is this really impossible, or buy the registered domain name, or take all the domain names and no one will take it The strange domain name is more likely. The second solution: use sub-domain names to distinguish, this is what I am going to do, and so on to explain how to do it in Laravel. The third solution: example.com/tw/ and the like, Apple seems to do it this way. The fourth solution: site.com?loc=tw and the like are not recommended, indeed I think this is not a good idea.

laravel

In Laravel 5.5, easy to use basic routing

Especially for friends who are studying SEO, we should know that sometimes we need to redirect 301 pages, which is provided in Laravel 5.5 The function of Route::redirect is quite simple. In addition, using Route::view is also very useful for the layout of static pages.

dlaravel,docker

D-Laravel learning three stages

Chat about the three stages of using D-Laravel, why use D-Laravel. Because the configuration files used by D-Laravel are quite simple, it is very suitable for beginners of Docker to learn, And users who do not know how to use Docker can also use the two commands ./console and ./create to create a project.