Must-have Laravel & PHP Packages
A list of Laravel and PHP packages I absolutely need in every project, continuously updated.
This list is relatively short because I follow the principle "avoid packages until it hurts". I use packages that encapsulate complex functionality and features that would take too long to implement from scratch. I also heavily favor those that are well maintained, which is why you'll see a lot of Spatie ones on the list.
Must-have
- livewire/livewire - Laravel Livewire.
- wire-elements/modal - Wire Elements Modal, a modal component for Laravel Livewire.
- spatie/laravel-google-fonts - Manage self-hosted Google Fonts in Laravel apps.
- spatie/laravel-backup - A modern backup solution for Laravel apps.
- opcodesio/log-viewer - Easy-to-use, fast, and beautiful log viewer for Laravel apps.
- barryvdh/laravel-debugbar dev - Laravel Debugbar.
- spatie/laravel-ray dev - Laravel adapter for Ray.
- /spatie/laravel-login-link dev - Quick login links for the local environment.
- barryvdh/laravel-ide-helper dev - Laravel IDE Helper. It generates helper files that enable your IDE to provide accurate autocompletion. Especially useful to allow PHPStorm to make sense of facades. Run the following commands after installing:
php artisan clear-compiled
php artisan ide-helper:generate
- (optional)
php artisan ide-helper:models
- (optional)
php artisan ide-helper:meta
Sometimes
- spatie/laravel-data - Powerful data objects for Laravel.
- spatie/simple-excel - Read and write simple Excel and CSV files.
- spatie/laravel-markdown - A highly configurable markdown renderer and Blade component for Laravel.
- spatie/laravel-personal-data-export - Create zip files containing personal data.
- roach-php/laravel - Web Scraping for Laravel.
- vlucas/phpdotenv - PHP dotenv / Loads environment variables from .env to getenv(), $_ENV and $_SERVER automagically.
- bringyourownideas/laravel-backblaze - B2-Backblaze Storage Adapter for Laravel 5+.
- brendt/php-sparkline - Generate sparkline SVGs in PHP.
My packages
- breadthe/php-simple-calendar - Generate a 7 x 6 (42) or 7 x 5 (35) element array of the days of the month for any date in PHP.
- breadthe/laravel-silent-spam-filter - Silently ignore messages submitted via contact forms in Laravel.
- PHP Contrast Tools - Various utilities for working with color contrast in PHP.
Liked this article? Share it on your favorite platform.