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


d-laravel, docker, laravel, docker-compose

D-Laravel v1.0.0 release change description

In order to allow the container to be used more flexibly, D-Laravel has released version v1.0.0, which is not backward compatible. https://github.com/DevinY/dlaravel/releases/tag/v1.0.0 If you are using before v1.0.0, you need to modify the .env file of the Laravel project, change DB_HOST=127.0.0.1 to DB_HOST=db If you have a custom docker-compose-custom.yml file....more

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,docker

How to customize Laravel pagination

Recently, I have been free, and I want to adjust the arrows on the upper and lower pages of the website. If you don’t know how to customize Laravel’s pagination, You can take a look at a short three-minute introduction on how I customize Laravel's pagination.