DEV Community

Cover image for Laravel Packages Every Developer Should Know (After Building a Real-World Product)
Abiodun Paul Ogunnaike
Abiodun Paul Ogunnaike

Posted on

Laravel Packages Every Developer Should Know (After Building a Real-World Product)

Laravel is one of my favorite frameworks because it allows you to move from idea to production incredibly fast. But after spending months building CelebrateMe a platform that helps people celebrate life's special moments through virtual gifts, wishlists, messages, and verified vendors—I realized something.

I wasn't just using Laravel.

I was relying heavily on the incredible ecosystem around it.

Some packages solved problems that would have taken days (or weeks) to build myself. Others helped me monitor, debug, and secure the application as it grew.

Here are the Laravel packages I now consider essential for almost every project.


1. Laravel Sanctum

Use it for: API Authentication

CelebrateMe has a Laravel API with a React frontend, so authentication needed to be secure without adding unnecessary complexity.

Laravel Sanctum was the perfect choice.

It provides:

  • Personal access tokens
  • SPA authentication
  • Mobile API authentication
  • Lightweight implementation

For most APIs, Sanctum is more than enough.


2. Laravel Horizon

Use it for: Queue Monitoring

As CelebrateMe grew, background jobs became increasingly important.

Things like:

  • Sending emails
  • Processing uploads
  • Notifications
  • Payment-related jobs

Instead of wondering whether jobs were running correctly, Horizon gave me a beautiful dashboard to monitor everything in real time.

If you're using queues and not using Horizon, you're missing out.


3. Laravel Telescope

Use it for: Debugging

Telescope quickly became one of my favorite development tools.

Instead of scattering dd() statements throughout my code, I could inspect:

  • Requests
  • SQL queries
  • Jobs
  • Exceptions
  • Cache operations
  • Notifications

It made debugging significantly easier.


4. Spatie Laravel Permission

Use it for: Roles & Permissions

CelebrateMe has multiple user types, each requiring different permissions.

Managing authorization manually would have become difficult very quickly.

Spatie's Permission package made it straightforward to assign roles and permissions while integrating cleanly with Laravel's authorization system.


5. Laravel Excel

Use it for: Importing and Exporting Data

Every business application eventually needs reporting.

Whether it's exporting users, vendors, or financial reports, Laravel Excel saves an enormous amount of development time.


6. Spatie Media Library

Use it for: File Management

Users upload profile pictures, event images, product photos, and other assets.

Media Library handles:

  • Multiple collections
  • Image conversions
  • Cloud storage
  • Responsive images

Instead of building a custom media management solution, I could focus on building product features.


7. Laravel Activity Log

Use it for: Audit Trails

As applications grow, knowing who changed what becomes increasingly valuable.

Whether it's an administrator updating information or users modifying their profiles, Activity Log creates a reliable audit trail with minimal effort.


8. Laravel Pint

Use it for: Code Formatting

This may seem like a small addition, but it improves team productivity.

Instead of discussing formatting during code reviews, Pint keeps everything consistent automatically.

One command:

./vendor/bin/pint
Enter fullscreen mode Exit fullscreen mode

That's it.


9. Laravel Pulse

Use it for: Application Monitoring

Performance issues are much easier to solve when you can actually see what's happening.

Pulse provides visibility into:

  • Slow requests
  • Database performance
  • Cache usage
  • Queue health

It's a great addition once your application reaches production.


10. Laravel Socialite

Use it for: Social Authentication

If your application supports "Sign in with Google" or GitHub, don't build OAuth yourself.

Socialite makes authentication simple and integrates beautifully with Laravel.


My Biggest Lesson

One thing I learned while building CelebrateMe is that being productive isn't about writing the most code.

It's about writing the right code.

Laravel's ecosystem already solves many common problems with mature, well-maintained packages. Instead of reinventing those solutions, I could spend my time building features that actually made CelebrateMe better for its users.

That shift in mindset probably saved me weeks of development.


Honorable Mentions

Some excellent packages that are also worth exploring:

  • Laravel Reverb
  • Laravel Scout
  • Laravel Octane
  • Spatie Laravel Data
  • Spatie Query Builder
  • Barryvdh DomPDF
  • Intervention Image
  • Laravel Backup

Final Thoughts

These are the packages that have consistently made my development workflow faster and my applications more maintainable.

The Laravel ecosystem is one of the framework's biggest strengths, and learning which packages to trust is just as important as learning the framework itself.

I'm always looking for new tools.

What Laravel package do you install on every project?

I'd love to discover a few more.

Top comments (0)