What is the one package you install in all Laravel projects?

What is the one package you install in all Laravel projects?

Mike Erickson (@codedungeon) asked this question on Twitter, and it had a lot of great responses. I had a gut feeling the Debugbar by Barry vd. Heuvel would win this category and, sure enough, it had the most people recommending it.

Here is a list of all the packages people suggested:

Debugbar
The Laravel Debugbar is a package that allows you to quickly and easily keep tabs on your application during development.

IDE Helper
This package generates a file that your IDE understands so that it can provide accurate autocompletion. Generation is done based on the files in your project, so they are always up-to-date.

Guzzle
Guzzle is a PHP HTTP client that makes it easy to send HTTP requests and trivial to integrate with web services.

Spatie Backup
This Laravel package creates a backup of your application. The backup is a zip file that contains all files in the directories you specify along with a dump of your database. The backup can be stored on any of the filesystems you have configured in Laravel.

Laravel Collective
The Laravel Collective is a community organization designed to maintain components that have been removed from the Laravel Framework core.

Socialite
Laravel Socialite provides an expressive, fluent interface to OAuth authentication with Facebook, Twitter, Google, LinkedIn, GitHub and Bitbucket. It handles almost all of the boilerplate social authentication code you are dreading writing.

Laravel Fractal
The package provides a nice and easy wrapper around Fractal for use in your Laravel applications.

Some of these are very project specific like Socialite, Fractal, and Guzzle, but others like the IDE Helper and Spatie Backup can be useful for any project.

I like to use the Debugbar and an HTTP/2 package. Outside of that, it all depends on the project requirements on what I include.


Filed in: Opinion


Newsletter

Join the weekly newsletter and never miss out on new tips, tutorials, and more.

Laravel News Partners

Laravel Jobs

Senior PHP Developer (Full Stack | CakePHP | Laravel | Vue | jQuery)
Remote
continued
Senior Laravel Developer (Full-Stack)
Munich
Volunteer Vision GmbH
Full-Stack Developer
Tampa
Nu Image Medical
Senior Software Developer
Remote (US ONLY)/Kenilworth, NJ
Diversified
Senior Back-end Laravel API Developer - Immediate Contract (Full Time)
Remote
ApproveMe // Document Signing
Web Development Project Manager
Houston, TX
Swyft Filings
Experienced Laravel/VueJS Developer (Freelance)
Remote (preferably in the US)
Prosperly LLC