đš Laravel 11 Extensions & Packages
Laravel has many useful extensions (packages) to enhance its functionality. Here are some commonly used ones:
1ī¸âŖ Authentication & Security
đš Laravel Sanctum (API Authentication)
composer require laravel/sanctum
php artisan vendor:publish --provider="Laravel\Sanctum\SanctumServiceProvider"
php artisan migrate
đ Used for: Token-based API authentication.
đš Laravel Breeze (Simple Authentication)
composer require laravel/breeze --dev
php artisan breeze:install
php artisan migrate
đ Used for: Lightweight authentication (Login, Register, Forgot Password).
đš Laravel Jetstream (Advanced Authentication)
composer require laravel/jetstream
php artisan jetstream:install livewire
php artisan migrate
đ Used for: Multi-factor authentication, Team management.
2ī¸âŖ Database & Migrations
đš Laravel Telescope (Debugging & Monitoring)
composer require laravel/telescope
php artisan telescope:install
php artisan migrate
đ Used for: Monitoring queries, jobs, requests.
đš Laravel Excel (Export & Import)
composer require maatwebsite/excel
php artisan vendor:publish --provider="Maatwebsite\Excel\ExcelServiceProvider"
đ Used for: Working with Excel/CSV files.
3ī¸âŖ API & Backend Development
đš Laravel API Resources
composer require spatie/laravel-fractal
đ Used for: Transforming API responses.
đš Laravel Debugbar (Debugging Tool)
composer require barryvdh/laravel-debugbar --dev
đ Used for: Debugging SQL queries, routes.
đš Laravel Query Builder (Advanced Queries)
composer require spatie/laravel-query-builder
đ Used for: Dynamic API filtering and sorting.
4ī¸âŖ Storage & File Upload
đš Laravel Media Library (File Upload & Management)
composer require spatie/laravel-medialibrary
php artisan vendor:publish --provider="Spatie\MediaLibrary\MediaLibraryServiceProvider"
php artisan migrate
đ Used for: File and image handling.
đš Laravel Image Manipulation
composer require intervention/image
đ Used for: Resizing and editing images.
5ī¸âŖ UI & Frontend
đš Laravel Livewire (Dynamic Components)
composer require livewire/livewire
đ Used for: Building reactive UI without JavaScript.
đš Laravel Inertia.js (Vue/React Integration)
composer require inertiajs/inertia-laravel
đ Used for: Integrating Laravel with Vue/React.
đš Laravel Tailwind CSS
composer require laravel-frontend-presets/tailwindcss
đ Used for: Tailwind CSS support in Laravel.
6ī¸âŖ Payment Integration
đš Stripe Payment
composer require stripe/stripe-php
đ Used for: Stripe payment gateway.
đš Laravel PayPal
composer require srmklive/paypal
đ Used for: PayPal integration.
7ī¸âŖ Logs & Monitoring
đš Laravel Log Viewer
composer require rap2hpoutre/laravel-log-viewer
đ Used for: Viewing logs in a browser.
đš Laravel Backup (Automatic Database Backup)
composer require spatie/laravel-backup
php artisan vendor:publish --provider="Spatie\Backup\BackupServiceProvider"
php artisan backup:run
đ Used for: Automating backups.
đš Final Tip
Run:
composer show
To see all installed Laravel packages.
Would you like help installing a specific package? đ