Laravel Application Monitoring & Debugging with Sentry

Jun, 3 2024#vapor #forge #partnerships #news

At Laravel, we equip PHP developers with the most advanced tools to create exceptional applications. Today, we announce our partnership with Sentry, making it a preferred monitoring and debugging solution for Laravel projects using Forge or Vapor. This collaboration marks a significant step forward in our mission to ensure that PHP developers have access to modern, powerful tools to streamline app development.

Why Sentry?

When it comes to application monitoring, having a centralized platform to understand how errors and performance issues impact your application is crucial for fixing the broken code quickly. Sentry stands out as a world-leading debugging platform, trusted by Fortune 500 companies worldwide. It offers developers real time code visibility and debugging capabilities, helping developers identify and resolve issues swiftly. By integrating Sentry with Laravel’s services, we are providing PHP developers with a robust solution to maintain high-quality, error-free, and performant applications. Sentry already serves thousands of Laravel applications and we’re thrilled with their increased commitment to improving workflows for PHP developers.

Who should use Sentry?

Whether you’re a solo developer, part of a small team, or working on enterprise-level projects, Sentry helps you identify the root cause of an issue, down to the broken line of code. Its scalability and flexibility make it an ideal choice for anyone building web applications with Laravel. Sentry ensures that you have a comprehensive view of errors and slowdowns affecting your app, enabling you to maintain a seamless user experience and robust application performance.

Benefits for PHP Developers

If you’re working on an existing PHP project, you may already have Sentry installed. If you don’t or if you’re just getting started on a new endeavor, awesome — you can sign up for and add Sentry to your page/site from Forge or Vapor. The integration will automatically notify Sentry that you created a new page/site and will create an associated Sentry project for you. This is just the beginning of what we’re able to do to make sure PHP developers get the right telemetry they need even before they push to production.

Integration with Laravel Forge and Vapor

We are excited to announce that integrating Sentry with Laravel Forge and Vapor is now easier than ever. Laravel Forge and Vapor are already simplifying the process of deploying and managing PHP applications. With our new integration, activating Sentry within these environments is a breeze. Here’s how you can do it:

  1. Log in to Laravel Forge or Vapor
  2. Navigate to “User Profile” in Forge or “Team Settings” in Vapor (when logged in as the team owner) where you can find the new Sentry integration option.
  3. Follow the prompts to link your Sentry account
  4. Configure Sentry and connect your site to create a Sentry project create the project from the site’s or project’s Sentry panel
  5. Deploy your application, and Sentry will start tracking errors immediately

Visual demonstration

In the past, integrating Sentry required multiple steps and configurations. Now, almost everything is handled directly within Forge and Vapor, simplifying your workflow significantly.

Documentation and support

Comprehensive documentation (Forge / Vapor) is available to guide you through setting up and configuring Sentry with your Laravel applications. We are committed to providing the resources and support you need to make the most of this powerful tool.

Please Try & Tell Us What’s Next

The partnership between Laravel and Sentry is just the start of a new era in PHP development driven by the Laravel Community - please tell us how you like this integration and what services to focus on next. 

By combining Forge and Vapor with Sentry’s leading application monitoring platform, we are empowering developers to build better, more reliable applications. We invite you to explore this new integration and see how it can enhance your development workflow.

Explore the new Sentry integration with Laravel Forge and Vapor today. We look forward to your feedback and suggestions as we continue to improve and innovate. Together, let’s take PHP development to new heights!


By James Brooks

Engineering Team Lead at Laravel, building Forge, Vapor & Envoyer.

Find me on Twitter, GitHub or my blog.

Follow the RSS Feed.