Attending Laracon US 2024 in Deep Ellum, Dallas, TX, was an exciting experience for the Bacancy team. As a leading official Laravel Development Partner, we were excited to be part of this event, which brought together passionate developers from around the globe. The event provided us with a unique opportunity to showcase our innovative solutions, engage in insightful discussions, and explore the future of Laravel. We are immensely grateful to the Laravel community for their warm reception and for organizing such an inspiring event.

Table of Contents

Bacancy’s Experience As Official Laravel Silver Partner

Attending the flagship Laracon US 2024 and the largest PHP conference was an enriching experience for the Bacancy team. As the proud official Laravel Development Partner and Laravel News Partner, we demonstrated our expertise and engaged with developers and industry leaders worldwide.

Our team gathered insights on the latest advancements in Laravel and delved into exciting discussions about the future of web development. The event allowed us to connect with the vibrant Laravel community and inspired us to continue pushing the boundaries of innovation in our field.

Thoughts of Chandresh Patel, CEO of Bacancy Technology, about Laracon US 2024

Key Takeaways from Taylor Otwell’s Laracon US 2024 Keynote

Taylor Otwell’s keynote at Laracon US 2024 was a highlight of the event, revealing several groundbreaking updates to revolutionize Laravel development. Here’s a glimpse into the future of Laravel, as shared by Taylor:

1. Official Laravel VS Code Extension

Official Laravel VS Code Extension

One of the most anticipated announcements was the introduction of the official Laravel VS Code Extension, set to launch in the fall of 2024. This extension promises to enhance the development experience by offering features like autocomplete for Eloquent, services, and more. The extension also includes hover information, clickable diagnostics, and integration with VS Code’s Test Explorer, making Laravel development more efficient and enjoyable.

During the keynote, Joe Tannenbaum joined Taylor on stage to demonstrate the capabilities of this new extension. The highlights included intelligent project insights, inline error diagnostics, and seamless test execution directly within VS Code. This extension is poised to become an indispensable tool for Laravel developers.

The detailed highlights included:

  • Autocomplete for Eloquent, services, and more.
  • Clickable elements for easy navigation.
  • Hover info with quick fixes at a glance.
  • Inline diagnostics to catch mistakes as you code.
  • Integration with the VS Code Test Explorer.

Autocomplete for app(), route(), config(), env(), trans(), and more:

Autocomplete for services

One of our favorite features Joe demonstrated was autocomplete for app() services, with hover info and a quick jump to the service’s source.

The Test Explorer integration allows you to run tests with a play button in the file explorer. It shows inline error messages for failures and full test output at the bottom of VS Code.

full test output at the bottom of VS Code

2. New Open-source Features for Laravel Framework

Taylor introduced several new features coming to the Laravel framework, designed to make development more powerful and flexible:

  • Temporary File URL with Local Filesystem Driver: This feature allows developers to generate temporary URLs for files stored locally, making file handling more secure and efficient.
Temporary File URL with Local Filesystem Driver
  • Container Attributes: Developers can now set parameters on classes loaded via the container using attributes. For example, the DB(‘driver’) attribute can resolve a database connection, while CurrentUser retrieves the currently authenticated user. These attributes simplify dependency injection and enhance the clarity of your code.
Container Attributes

You can access several attributes like DB(‘driver’) for database connections and CurrentUser to get the authenticated user. For example:

Copy Text
public function __construct(
    #[CurrentUser] User $user,
    #[DB('mysql')] Connection $connection,
    #[Config('services.github.token')]
    string $githubToken
) {
    // ...
}

Implementing a simple interface allows you to create custom container attributes for your Laravel app. These features are available for use right now in Laravel 11!

3. Eloquent Chaperone

The new ->chaperone() method makes it easier to avoid N+1 query issues. This method links related models to the parent after a relationship query, ensuring more efficient and organized data retrieval.

Eloquent Chaperone

4. Defer Helper

The new defer() helper allows developers to push tasks to the background, executing them after the response has been sent to the browser. This feature enhances performance by offloading non-essential tasks, ensuring a smoother user experience.

Defer Helper

The defer helper allows you to run tasks in the background after the response is sent to the browser:

Copy Text
public function index()
{
    defer(fn() => Some::backgroundTask());
 
    // ....
    return view('example');
}

Other parts of Laravel, like the Cache::flexible() method, also use defer to update the cache in the background, keeping it fresh while serving a slightly stale cache for a few seconds.

5. Concurrency Facade

The Concurrency Facade introduced by Taylor enables the simultaneous execution of multiple callbacks without slowing down the request. This feature is handy for optimizing performance in complex applications.

Concurrency Facade

6. Laravel Inertia v2.0

Taylor also previewed Laravel Inertia 2.0, showcasing six key features that promise to transform how developers build reactive applications. These features include async requests, deferred props, and prefetching, all designed to create a snappy, responsive user experience. The prefetching feature, in particular, stands out, allowing for near-instant loading by preloading links on mount or hover.

Laravel Inertia v2.0

7. Laravel Echo & WebSockets Updates

The updates also introduced enhancements to Laravel Echo, improving real-time communication in applications. These improvements offer better WebSockets integration, making developing real-time features like notifications and live updates easier.

8. Laravel Cloud: The Future of Deployment

In a thrilling conclusion to his keynote, Taylor Otwell unveiled Laravel Cloud, a new platform designed to revolutionize the deployment process of Laravel applications. With Laravel Cloud, developers can have a Laravel app up and running in just 25 seconds. This platform is set to redefine the deployment process, making it faster and more efficient than ever before.

Conclusion

Laracon US 2024 brought game-changing updates to Laravel development, and at Bacancy, we’re excited to help you leverage these innovations in your projects. As your trusted Laravel Outsource Partner, we are ready to shape the future of web development together.

And there is more to come—Taylor Otwell teased a new “secret project” focused on monitoring and debugging Laravel applications, set to be revealed at Laracon AU in November. Stay tuned!

Build Your Next Business Application With Laravel Framework

Profit from the extensive set of features in future Laravel versions and create a robust app that exceeds your expectations.

Contact US Now!

Build Your Agile Team

Hire Skilled Developer From Us

[email protected]

Your Success Is Guaranteed !

We accelerate the release of digital product and guaranteed their success

We Use Slack, Jira & GitHub for Accurate Deployment and Effective Communication.

How Can We Help You?