Opinion

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

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

Simple question for fellow #Laravel.

What is ONE package you can't live without and install in all projects @laravelphp @laravelnews

— Mike Erickson (@codedungeon) May 21, 2017

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.

Eric L. Barnes photo

Eric is the creator of Laravel News and has been covering Laravel since 2012.

Filed in

Sponsored

serpapi logo
SerpApi

The Web Search API for Your LLM and AI Applications

Visit SerpApi

The latest

View all →
Agent Run Observability in Laravel AI SDK 0.11 image

Agent Run Observability in Laravel AI SDK 0.11

Read article
Debounced Queued Event Listeners in Laravel image

Debounced Queued Event Listeners in Laravel

Read article
Statamic Mailables Viewer Previews Laravel Emails in the Control Panel image

Statamic Mailables Viewer Previews Laravel Emails in the Control Panel

Read article
Laravel Tackle: Run an AI Coding Agent in Your Laravel App image

Laravel Tackle: Run an AI Coding Agent in Your Laravel App

Read article
Queue::forward(): Reroute Laravel Queues in One Place image

Queue::forward(): Reroute Laravel Queues in One Place

Read article
Laravel Read-Through Filesystem: Lazy Storage Migration image

Laravel Read-Through Filesystem: Lazy Storage Migration

Read article