Close Menu
    DevStackTipsDevStackTips
    • Home
    • News & Updates
      1. Tech & Work
      2. View All

      Sunshine And March Vibes (2025 Wallpapers Edition)

      May 17, 2025

      The Case For Minimal WordPress Setups: A Contrarian View On Theme Frameworks

      May 17, 2025

      How To Fix Largest Contentful Paint Issues With Subpart Analysis

      May 17, 2025

      How To Prevent WordPress SQL Injection Attacks

      May 17, 2025

      Microsoft’s allegiance isn’t to OpenAI’s pricey models — Satya Nadella’s focus is selling any AI customers want for maximum profits

      May 17, 2025

      If you think you can do better than Xbox or PlayStation in the Console Wars, you may just want to try out this card game

      May 17, 2025

      Surviving a 10 year stint in dev hell, this retro-styled hack n’ slash has finally arrived on Xbox

      May 17, 2025

      Save $400 on the best Samsung TVs, laptops, tablets, and more when you sign up for Verizon 5G Home or Home Internet

      May 17, 2025
    • Development
      1. Algorithms & Data Structures
      2. Artificial Intelligence
      3. Back-End Development
      4. Databases
      5. Front-End Development
      6. Libraries & Frameworks
      7. Machine Learning
      8. Security
      9. Software Engineering
      10. Tools & IDEs
      11. Web Design
      12. Web Development
      13. Web Security
      14. Programming Languages
        • PHP
        • JavaScript
      Featured

      NodeSource N|Solid Runtime Release – May 2025: Performance, Stability & the Final Update for v18

      May 17, 2025
      Recent

      NodeSource N|Solid Runtime Release – May 2025: Performance, Stability & the Final Update for v18

      May 17, 2025

      Big Changes at Meteor Software: Our Next Chapter

      May 17, 2025

      Apps in Generative AI – Transforming the Digital Experience

      May 17, 2025
    • Operating Systems
      1. Windows
      2. Linux
      3. macOS
      Featured

      Microsoft’s allegiance isn’t to OpenAI’s pricey models — Satya Nadella’s focus is selling any AI customers want for maximum profits

      May 17, 2025
      Recent

      Microsoft’s allegiance isn’t to OpenAI’s pricey models — Satya Nadella’s focus is selling any AI customers want for maximum profits

      May 17, 2025

      If you think you can do better than Xbox or PlayStation in the Console Wars, you may just want to try out this card game

      May 17, 2025

      Surviving a 10 year stint in dev hell, this retro-styled hack n’ slash has finally arrived on Xbox

      May 17, 2025
    • Learning Resources
      • Books
      • Cheatsheets
      • Tutorials & Guides
    Home»Development»Highlights from Taylor Otwell’s Laracon US Keynote 2024

    Highlights from Taylor Otwell’s Laracon US Keynote 2024

    August 29, 2024

    Taylor Otwell gave his keynote address at the end of day one of Laracon US 2024, with many ambitious projects, such as an official VS code extension, many cool Laravel framework features like defer(), a demo of Inertia v2 features, and Laravel Cloud.

    Let’s take a glance at what Taylor shared in his keynote this year:

    Official Laravel VS Code Extension

    Taylor announced an official VS Code Extension for Laravel, which will be available later this fall (2024). With the new extension you will have everything you need to have an incredible experience developing web applications with Laravel and VS Code.

    Taylor invited Joe Tannenbaum to the stage during his keynote to demonstrate the upcoming VS Code Extension, which was an awesome sight to see. Here are the high-level features shared during the Keynote:

    The goal is to “reveal as much intelligence about your project as possible, manifested in four different ways:
    Autocomplete for Eloquent, services, etc.
    Clickable
    Hover – information at a glance with “quick fixes”
    Diagnostics – warn you inline if you’ve made a mistake
    VS Code Test Explorer integration

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

    Autocomplete for available app() services, hover info about the service, with the ability to jump straight to the source of where the service is registered, was one of my favorite features Joe showed us:

    The text explorer integration will let you run tests via a play button in the file explorer, giving you inline error messages for failures. You will also have access to full test output at the bottom of VS Code:

    New Open-source Features for the Laravel Framework

    Temporary file URL with the local filesystem driver

    Container attributes allow you to set parameters on classes loaded via the container:

    The Config attribute isn’t the only attribute that will be available, others include DB(‘driver’) for resolving a database connection, CurrentUser to get the currently authenticated user, and more:

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

    You can also create your own container attributes for a package or Laravel app by implementing a simple interface. Laravel 11 already has these container attributes available, which you can use in your application right now!

    Eloquent Chaperone

    You can avoid gnarly N+1 queries by instructing Eloquent to link the related models back to the parent after the relationship query has run using the new ->chaperone() method on a relationship:

    New Defer Helper

    There’s a new way to push work to the background using the defer() helper

    With the defer helper, you can push code execution into the background, which is executed after the response is already sent to the browser:

    public function index()
    {
    defer(fn() => Some:backgroundTask());

    // ….
    return view(‘example’);
    }

    There are other areas of the framework that take advantage of defer, such as this Cache::flexible() method, which can serve a stale cache between 5-10 seconds, but then defer() will update the cache in the background to keep it fresh:

    New Concurrency Facade

    The new Concurrency Facade can run multiple callbacks simultaneously without slowing down the request:

    Laravel Inertia v2.0

    Taylor demonstrated six key features coming to Inertia 2.0, but this part of the keynote is best to see live. This link goes directly to the Inertia v2.0 part of the keynote, which is well worth a watch. The new features coming to Inertia 2 are mind-blowingly good, and include async requests, deferred props, prefetching, and more.

    I loved the prefetching feature, which will either preload links on mount or hover, making for a near-instant, snappy user experience.

    One More Thing – Laravel Cloud ☁️

    Taylor ended the keynote by unveiling Laravel Cloud, the Future of Shipping. The keynote was the first public demo of Laravel’s new app platform for deploying Laravel apps instantly. During the demo, Taylor created a project and had a Laravel app up and running in 25 seconds 🤯

    You can get on the Laravel Cloud waiting list on cloud.laravel.com.

    The Laravel Cloud commercial video can be seen here.

    The post Highlights from Taylor Otwell’s Laracon US Keynote 2024 appeared first on Laravel News.

    Join the Laravel Newsletter to get all the latest
    Laravel articles like this directly in your inbox.

    Source: Read More 

    Hostinger
    Facebook Twitter Reddit Email Copy Link
    Previous ArticleIntroducing Laravel Cloud
    Next Article Laravel API Resources with Relations: Methods to Avoid N+1 Query

    Related Posts

    Development

    February 2025 Baseline monthly digest

    May 17, 2025
    Development

    Learn A1 Level Spanish

    May 17, 2025
    Leave A Reply Cancel Reply

    Continue Reading

    The Impact of AI in DevOps: Transforming Software Development

    Development

    4 Ways Perficient’s Adobe Practice is Forging the Future So Far in 2024

    Development

    Martin Rees: Post-human intelligence – a cosmic perspective | Starmus highlights

    Development

    The Blue Bubble That Burst

    Artificial Intelligence

    Highlights

    Development

    How GitHub reduced testing time for iOS apps with new runner features

    June 3, 2024

    GitHub Actions GitHub for iOS The GitHub iOS and GitHub Actions macOS runner teams are…

    Understanding Causal AI: Bridging the Gap Between Correlation and Causation

    April 20, 2024

    Building a Zapier AI-Powered Cursor Agent to Read, Search, and Send Gmail Messages using Model Context Protocol (MCP) Server

    May 2, 2025

    CVE-2025-2579 – Lottie Player WordPress Stored Cross-Site Scripting Vulnerability

    April 24, 2025
    © DevStackTips 2025. All rights reserved.
    • Contact
    • Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.