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.
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.
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:
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 app(), route(), config(), env(), trans(), and more:
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.
Taylor introduced several new features coming to the Laravel framework, designed to make development more powerful and flexible:
You can access several attributes like DB(‘driver’) for database connections and CurrentUser to get the authenticated user. For example:
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!
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.
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.
The defer helper allows you to run tasks in the background after the response is sent to the browser:
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.
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.
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.
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.
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.
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!
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.