{"id":21363,"date":"2025-03-13T08:37:24","date_gmt":"2025-03-13T08:37:24","guid":{"rendered":"https:\/\/shivlab.com\/blog\/\/"},"modified":"2025-03-13T08:42:42","modified_gmt":"2025-03-13T08:42:42","slug":"features-and-updates-in-laravel-12","status":"publish","type":"post","link":"http:\/\/167.86.116.248\/shivlab\/blog\/features-and-updates-in-laravel-12\/","title":{"rendered":"Key Features and Updates in Laravel 12 [Everything You Need to Know]"},"content":{"rendered":"<p>Released on February 24, 2025, Laravel 12 marks a significant step forward for the popular <a href=\"http:\/\/167.86.116.248\/shivlab\/blog\/why-laravel-is-the-best-php-framework-10-reasons\/\">PHP framework<\/a>. This latest version focuses on enhancing security, performance, and the developer experience, all while maintaining minimal breaking changes.<\/p>\n<p>Laravel 12 introduces a host of new features and improvements \u2013 from streamlined front-end scaffolding and robust <a href=\"http:\/\/167.86.116.248\/shivlab\/blog\/what-are-server-side-apis-and-why-you-need-them\/\">API development enhancements<\/a> to powerful debugging tools and performance optimizations.<\/p>\n<p>In this in-depth overview, we\u2019ll explore the key features and updates in Laravel 12 that every developer and business should know about.<\/p>\n\t<div class=\"blog-banner-design-three\">\n\t\t<div class=\"blog-banner-design-three-inner\">\n\t\t\t<div class=\"blog-banner-design-three-left-image\">\n\t\t\t\t<img decoding=\"async\" src=\"https:\/\/shivlab.com\/wp-content\/uploads\/2025\/02\/blog-image-three-left.webp\" alt=\"Left Image\">\n\t\t\t<\/div>\n\t\t\t<div class=\"blog-banner-design-three-info-right\">\n\t\t\t\t<h5 class=\"blog-banner-design-three-title h3\">Build Faster with Laravel 12<\/h5>\n\t\t\t\t<p class=\"blog-banner-design-three-content\">Experience the power of enhanced security, faster performance, and simplified development with Laravel 12.<\/p>\n\t\t\t\t<div class=\"btn-wrap text-center\">\n\n\t\t\t\t\t<script src=\"https:\/\/assets.calendly.com\/assets\/external\/widget.js\" type=\"text\/javascript\" async=\"\"><\/script>\n\t\t\t\t\t<button class=\"btn btn-orange\" onclick=\"Calendly.initPopupWidget({url: 'https:\/\/calendly.com\/contact-4cu\/30min'});return false;\">Get Started Today<\/button>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t\t<div class=\"blog-banner-design-three-right-image\">\n\t\t\t\t<img decoding=\"async\" src=\"https:\/\/shivlab.com\/wp-content\/uploads\/2025\/02\/blog-image-three-right.webp\" alt=\"Right Image\">\n\t\t\t<\/div>\n\t\t<\/div>\n\t<\/div>\n\t\n<h2><strong>New Starter Kits for React, Vue &amp; Livewire<\/strong><\/h2>\n<hr \/>\n<p>One of the major highlights of Laravel 12 is the introduction of new starter kits for React, Vue, and Livewire. These kits offer pre-configured front-end scaffolding and authentication, making it easier to set up modern applications.<\/p>\n<p>The React and Vue starter kits come with Inertia 2, TypeScript support, and <a href=\"http:\/\/167.86.116.248\/shivlab\/tailwind-css-development\/\">Tailwind CSS<\/a> pre-configured. For Livewire, the new starter kit includes FluxUI, a Tailwind-based component library, and Laravel Volt for a seamless full-stack experience.<\/p>\n<p>WorkOS AuthKit is also integrated into the starter kits, providing enterprise-grade authentication features such as social logins (Google, Facebook, etc.), passwordless authentication with passkeys, and single sign-on (SSO) support.<\/p>\n<p>With the release of these new kits, <a href=\"https:\/\/www.linkedin.com\/pulse\/what-laravel-breeze-comprehensive-guide-dipen-majithiya-hjqmf\" target=\"_blank\" rel=\"dofollow noopener\">Laravel Breeze<\/a> and Jetstream are being deprecated. The new kits simplify the setup process and provide a modern development environment out of the box.<\/p>\n<h2><strong>Enhanced Application Structure and Organization<\/strong><\/h2>\n<hr \/>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-21412 size-full\" src=\"http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2025\/03\/Enhanced-Application-Structure-and-Organization.webp\" alt=\"Enhanced Application Structure and Organization\" width=\"950\" height=\"564\" srcset=\"http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2025\/03\/Enhanced-Application-Structure-and-Organization.webp 950w, http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2025\/03\/Enhanced-Application-Structure-and-Organization-300x178.webp 300w, http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2025\/03\/Enhanced-Application-Structure-and-Organization-768x456.webp 768w\" sizes=\"auto, (max-width: 950px) 100vw, 950px\" \/><\/p>\n<p>Laravel 12 introduces a more refined and intuitive application structure to improve project organization.<\/p>\n<p>The directory layout and configuration files have been streamlined, making it easier for developers to navigate large codebases. Configuration files are now more centralized, reducing clutter and improving consistency in how files and settings are organized.<\/p>\n<p>This improved structure helps developers onboard faster and maintain codebases more effectively. As projects grow in complexity, this cleaner structure ensures that the code remains manageable and scalable.<\/p>\n<h2><strong>Authentication and Security Enhancements<\/strong><\/h2>\n<hr \/>\n<p>Security has always been a key focus for Laravel, and version 12 strengthens it further with improvements to authentication and session handling.<\/p>\n<p>The new secureValidate() method simplifies the process of enforcing stronger password rules. Instead of manually defining complex validation rules, developers can use the strong keyword to enforce a higher password complexity.<\/p>\n<p><strong>Before (Laravel 11):<\/strong><\/p>\n<p><strong> php<\/strong><\/p>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\r\n  $request-&gt;validate(&#x5B;\r\n    &#039;password&#039; =&gt; &#039;required|min:8&#039;,\r\n]);\r\n<\/pre>\n<p><strong>After (Laravel 12): <\/strong><\/p>\n<p><strong> php<\/strong><\/p>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\r\n$request-&gt;secureValidate(&#x5B;\r\n    &#039;password&#039; =&gt; &#x5B;&#039;required&#039;, &#039;min:8&#039;, &#039;strong&#039;],\r\n]);\r\n<\/pre>\n<p>This method ensures that passwords meet modern security standards, reducing the risk of weak password vulnerabilities.<\/p>\n<p>Laravel 12 also improves session handling and OAuth support, making it easier to manage user authentication across multiple platforms. API authentication with Laravel Sanctum and Passport is more straightforward, ensuring secure handling of tokens and user sessions.<\/p>\n<h2><strong>Advanced Query Builder and Eloquent Improvements<\/strong><\/h2>\n<hr \/>\n<p>The query builder and Eloquent ORM receive significant upgrades in Laravel 12, making database interactions more powerful and efficient.<\/p>\n<h3><strong><span style=\"color: #ff8625;\">#<\/span> Simpler Nested Where Clauses<\/strong><\/h3>\n<p>The new nestedWhere() method simplifies complex queries that involve mixed AND\/OR logic.<\/p>\n<p><strong>Before (Laravel 11):<\/strong><\/p>\n<p><strong> php<\/strong><\/p>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\r\n  $users = DB::table(&#039;users&#039;)\r\n    -&gt;where(&#039;status&#039;, &#039;active&#039;)\r\n    -&gt;where(function($query) {\r\n        $query-&gt;where(&#039;age&#039;, &#039;&gt;&#039;, 25)\r\n              -&gt;orWhere(&#039;city&#039;, &#039;New York&#039;);\r\n    })\r\n    -&gt;get();\r\n    <\/pre>\n<p><strong>After (Laravel 12): <\/strong><\/p>\n<p><strong> php<\/strong><\/p>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\r\n    $users = DB::table(&#039;users&#039;)\r\n    -&gt;where(&#039;status&#039;, &#039;active&#039;)\r\n    -&gt;nestedWhere(&#039;age&#039;, &#039;&gt;&#039;, 25, &#039;or&#039;, &#039;city&#039;, &#039;New York&#039;)\r\n    -&gt;get();\r\n    <\/pre>\n<p>The new method makes the code cleaner and more readable while reducing the need for closures.<\/p>\n<h3><strong><span style=\"color: #ff8625;\">#<\/span> Conditional Eager Loading with withFiltered <\/strong><\/h3>\n<p>The withFiltered() method allows developers to load related models with specific conditions directly, simplifying relationship constraints.<\/p>\n<p><strong>Before (Laravel 11):<\/strong><\/p>\n<p><strong> php<\/strong><\/p>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\r\n      $users = User::with(&#x5B;&#039;posts&#039; =&gt; function($query) {\r\n    $query-&gt;where(&#039;status&#039;, &#039;published&#039;);\r\n}])-&gt;get();\r\n<\/pre>\n<p><strong>After (Laravel 12): <\/strong><\/p>\n<p><strong> php<\/strong><\/p>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\r\n$users = User::withFiltered(&#039;posts&#039;, &#x5B;&#039;status&#039; =&gt; &#039;published&#039;])-&gt;get();\r\nThese improvements reduce boilerplate code and make queries cleaner and more readable.\r\n<\/pre>\n\t<div class=\"blog-banner-design-two\">\n\t\t<div class=\"blog-banner-design-two-inner\">\n\t\t\t<div class=\"blog-banner-design-two-image\">\n\t\t\t\t<img decoding=\"async\" src=\"https:\/\/shivlab.com\/wp-content\/uploads\/2025\/02\/blog-image-two-new.webp\" alt=\"Blog Image Two New\">\n\t\t\t\t<img decoding=\"async\" src=\"https:\/\/shivlab.com\/wp-content\/uploads\/2025\/02\/blog-image-two-side-img.webp\" class=\"blog-banner-design-two-bottom-image\" alt=\"Blog Banner Design Two Bottom Image\">\n\t\t\t<\/div>\n\t\t\t<div class=\"blog-banner-design-two-info-right\">\n\t\t\t\t<h5 class=\"blog-banner-design-two-title h3\">Upgrade to Laravel 12 Now <\/h5>\n\t\t\t\t<p class=\"blog-banner-design-two-content\">Unlock new starter kits, improved query builder, and better API handling for a seamless development experience.<\/p>\n\t\t\t\t<div class=\"btn-wrap\">\n\t\t\t\t\t<!-- <a href=\"\" class=\"btn btn-black\" title=\"<? php \/\/ echo esc_attr($atts['link_title']); \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t?>\"><? php \/\/ echo esc_html($atts['link_title']); \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t?><\/a> -->\n\t\t\t\t\t<button type=\"button\" class=\"btn btn-black\" data-toggle=\"modal\" data-target=\"#selectableModal\">\n\t\t\t\t\t\tUpgrade Now\t\t\t\t\t<\/button>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t\t<div class=\"blog-banner-design-two-right-img\">\n\t\t\t\t<img decoding=\"async\" src=\"https:\/\/shivlab.com\/wp-content\/uploads\/2025\/02\/blog-image-two-right.webp\" alt=\"Blog Image Two Right\">\n\t\t\t<\/div>\n\t\t<\/div>\n\t<\/div>\n\n<h2><strong>Improved API Development (GraphQL &amp; Versioning)<\/strong><\/h2>\n<hr \/>\n<p>Laravel 12 introduces native support for GraphQL and improves API versioning to simplify modern API development.<\/p>\n<h3><strong><span style=\"color: #ff8625;\">#<\/span> GraphQL Support<\/strong><\/h3>\n<p>With GraphQL support built into the framework, developers can now define GraphQL schemas and resolvers directly within Laravel. This allows clients to request only the data they need, reducing over-fetching and under-fetching issues common with REST APIs.<\/p>\n<h3><strong><span style=\"color: #ff8625;\">#<\/span> Cleaner API Versioning<\/strong><\/h3>\n<p>API versioning has also been streamlined with the new Route::apiVersion() method.<\/p>\n<p><strong>Before (Laravel 11):<\/strong><\/p>\n<p><strong> php<\/strong><\/p>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\r\n  Route::get(&#039;\/api\/v1\/users&#039;, &#x5B;UserController::class, &#039;index&#039;]);\r\nRoute::get(&#039;\/api\/v2\/users&#039;, &#x5B;UserController::class, &#039;indexV2&#039;]);\r\n<\/pre>\n<p><strong> After (Laravel 12):<\/strong><\/p>\n<p><strong>php <\/strong><\/p>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\r\nRoute::apiVersion(1)-&gt;group(function () {\r\n    Route::get(&#039;users&#039;, &#x5B;UserController::class, &#039;index&#039;]);\r\n});\r\n<\/pre>\n<p>This keeps route files well-organized and makes it easier to manage multiple API versions as the application evolves.<\/p>\n<h2><strong>Performance and Scalability Improvements<\/strong><\/h2>\n<hr \/>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-21411 size-full\" src=\"http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2025\/03\/Performance-and-Scalability-Improvements.webp\" alt=\"Performance and Scalability Improvements\" width=\"950\" height=\"564\" srcset=\"http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2025\/03\/Performance-and-Scalability-Improvements.webp 950w, http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2025\/03\/Performance-and-Scalability-Improvements-300x178.webp 300w, http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2025\/03\/Performance-and-Scalability-Improvements-768x456.webp 768w\" sizes=\"auto, (max-width: 950px) 100vw, 950px\" \/><\/p>\n<p>Laravel 12 includes several under-the-hood improvements to boost performance and scalability.<\/p>\n<h3><strong><span style=\"color: #ff8625;\">#<\/span> Asynchronous Caching<\/strong><\/h3>\n<p>The framework now supports asynchronous cache operations, reducing response times by handling caching in the background.<\/p>\n<h3><strong><span style=\"color: #ff8625;\">#<\/span> Improved Job Queue Handling<\/strong><\/h3>\n<p>Laravel 12 improves the queue system with dynamic prioritization.<\/p>\n<p><strong>Before (Laravel 11):<\/strong><\/p>\n<p><strong> php<\/strong><\/p>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\r\ndispatch(new ProcessOrder($order))-&gt;onQueue(&#039;high&#039;);\r\n<\/pre>\n<p><strong>After (Laravel 12): <\/strong><\/p>\n<p><strong> php<\/strong><\/p>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\r\ndispatch(new ProcessOrder($order))-&gt;prioritize(&#039;high&#039;);\r\n<\/pre>\n<p>These improvements help Laravel applications handle high traffic and complex workloads more effectively.<\/p>\n<h2><strong>Real-Time Features and WebSocket Upgrades<\/strong><\/h2>\n<hr \/>\n<p><a href=\"http:\/\/167.86.116.248\/shivlab\/blog\/top-10-web-applications-build-with-laravel\/\">Real-time web application<\/a>s benefit from several improvements in Laravel 12\u2019s event broadcasting and WebSocket support.<\/p>\n<p>The <a href=\"https:\/\/dev.to\/robertobutti\/websocket-broadcasting-with-javascript-and-bun-3mkf\" target=\"_blank\" rel=\"nofollow noopener\">WebSocket broadcasting mechanism<\/a> has been optimized to reduce latency and improve connection handling. Events are now delivered more efficiently, even under heavy loads.<\/p>\n<p>Integration between event broadcasting and the queue system has been tightened, ensuring that real-time updates are processed quickly and reliably.<\/p>\n<h2><strong>Developer Experience and Debugging Improvements<\/strong><\/h2>\n<hr \/>\n<p><a href=\"https:\/\/laravel.com\/docs\/12.x\/releases\" target=\"_blank\" rel=\"nofollow noopener\">Laravel 12<\/a> introduces several features to enhance the developer experience and simplify debugging.<\/p>\n<h3><strong><span style=\"color: #ff8625;\">#<\/span> Unified Scaffolding Command<\/strong><\/h3>\n<p>The new php artisan scaffold command allows developers to create a model, migration, controller, and factory with a single command:<\/p>\n<p><strong>Before (Laravel 11):<\/strong><\/p>\n<p><strong> php<\/strong><\/p>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\r\nphp artisan make:model Product\r\nphp artisan make:controller ProductController\r\nphp artisan make:migration create_products_table\r\n<\/pre>\n<p><strong>After (Laravel 12): <\/strong><\/p>\n<p><strong> php<\/strong><\/p>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\r\nphp artisan scaffold Product\r\n<\/pre>\n<h3><strong><span style=\"color: #ff8625;\">#<\/span> AI-Powered Debugging Assistant<\/strong><\/h3>\n<p>Laravel 12 also introduces an <a href=\"http:\/\/167.86.116.248\/shivlab\/blog\/how-ai-can-be-employed-in-web-development-services\/\">AI-powered debugging assistant<\/a>. The new debug()-&gt;suggest() function analyzes variable output and provides actionable suggestions:<\/p>\n<p><strong>Before (Laravel 11):<\/strong><\/p>\n<p><strong> php<\/strong><\/p>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\r\n  dd($variable);\r\n  <\/pre>\n<p><strong>After (Laravel 12): <\/strong><\/p>\n<p><strong> php<\/strong><\/p>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\r\ndebug($variable)-&gt;suggest();\r\n<\/pre>\n<p>This helps developers diagnose issues faster by offering targeted suggestions based on common errors.<\/p>\n<h2><strong>Additional Updates in Laravel 12<\/strong><\/h2>\n<hr \/>\n<p>Laravel 12 includes several smaller updates that contribute to a more polished framework.<\/p>\n<ul class=\"orangeList\">\n<li>The new frontend:install command replaces older UI scaffolding commands.<\/li>\n<li>Several older methods have been deprecated to improve framework consistency.<\/li>\n<li>Laravel 12 requires PHP 8.2 or higher to take advantage of modern PHP features and security updates.<\/li>\n<\/ul>\n<h2><strong>Why Upgrade to Laravel 12?<\/strong><\/h2>\n<hr \/>\n<p>Laravel 12 brings a host of improvements to security, performance, and developer experience. The new starter kits, enhanced query builder, improved API handling, and AI-powered debugging simplify <a href=\"http:\/\/167.86.116.248\/shivlab\/laravel-development\/\">Laravel development<\/a> while making applications more scalable and secure.<\/p>\n<p>For businesses, this translates to faster load times, more reliable authentication, and reduced development costs. The cleaner project structure and modern feature set make Laravel 12 an excellent choice for both new and existing projects.<\/p>\n<h4><strong>Build with Laravel 12 \u2013 Contact Shiv Technolabs<\/strong><\/h4>\n<hr \/>\n<p>If you\u2019re looking to upgrade an existing Laravel app or start a new project, <a href=\"http:\/\/167.86.116.248\/shivlab\/\">Shiv Technolabs<\/a> can help.<\/p>\n<p>Our experienced Laravel developers are well-versed in the latest updates and can implement them to maximize performance and scalability for your project.<\/p>\n<p><a href=\"http:\/\/167.86.116.248\/shivlab\/contact\/\">Contact Shiv Technolabs<\/a> today to discuss your Laravel development needs and see how Laravel 12 can transform your business.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Laravel 12 brings new starter kits for React, Vue, and Livewire, improved query building, better authentication, and enhanced API handling for streamlined development.<\/p>\n","protected":false},"author":4,"featured_media":21410,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13],"tags":[],"class_list":["post-21363","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-web-development"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Key Features and Updates in Laravel 12 \u2013 What&#039;s New in 2025<\/title>\n<meta name=\"description\" content=\"Laravel 12 introduces new starter kits, enhanced authentication, improved query builder, and better API handling for faster and more secure development.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/167.86.116.248\/shivlab\/blog\/features-and-updates-in-laravel-12\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Key Features and Updates in Laravel 12 \u2013 What&#039;s New in 2025\" \/>\n<meta property=\"og:description\" content=\"Laravel 12 introduces new starter kits, enhanced authentication, improved query builder, and better API handling for faster and more secure development.\" \/>\n<meta property=\"og:url\" content=\"http:\/\/167.86.116.248\/shivlab\/blog\/features-and-updates-in-laravel-12\/\" \/>\n<meta property=\"og:site_name\" content=\"Shiv Technolabs Pvt. Ltd.\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/ShivTechnolabs\/\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/dipen.majithiya\" \/>\n<meta property=\"article:published_time\" content=\"2025-03-13T08:37:24+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-03-13T08:42:42+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2025\/03\/Key-Features-and-Updates-in-Laravel-12-Everything-You-Need-to-Know.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"1140\" \/>\n\t<meta property=\"og:image:height\" content=\"762\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"author\" content=\"Dipen Majithiya\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@dip_majithiya\" \/>\n<meta name=\"twitter:site\" content=\"@Shiv_Technolabs\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Dipen Majithiya\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"http:\/\/167.86.116.248\/shivlab\/blog\/features-and-updates-in-laravel-12\/#article\",\"isPartOf\":{\"@id\":\"http:\/\/167.86.116.248\/shivlab\/blog\/features-and-updates-in-laravel-12\/\"},\"author\":{\"name\":\"Dipen Majithiya\",\"@id\":\"http:\/\/167.86.116.248\/shivlab\/#\/schema\/person\/656b1fcc45a591961e3f3b061cd03206\"},\"headline\":\"Key Features and Updates in Laravel 12 [Everything You Need to Know]\",\"datePublished\":\"2025-03-13T08:37:24+00:00\",\"dateModified\":\"2025-03-13T08:42:42+00:00\",\"mainEntityOfPage\":{\"@id\":\"http:\/\/167.86.116.248\/shivlab\/blog\/features-and-updates-in-laravel-12\/\"},\"wordCount\":1307,\"publisher\":{\"@id\":\"http:\/\/167.86.116.248\/shivlab\/#organization\"},\"image\":{\"@id\":\"http:\/\/167.86.116.248\/shivlab\/blog\/features-and-updates-in-laravel-12\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2025\/03\/Key-Features-and-Updates-in-Laravel-12-Everything-You-Need-to-Know.webp\",\"articleSection\":[\"Web Development\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"http:\/\/167.86.116.248\/shivlab\/blog\/features-and-updates-in-laravel-12\/\",\"url\":\"http:\/\/167.86.116.248\/shivlab\/blog\/features-and-updates-in-laravel-12\/\",\"name\":\"Key Features and Updates in Laravel 12 \u2013 What's New in 2025\",\"isPartOf\":{\"@id\":\"http:\/\/167.86.116.248\/shivlab\/#website\"},\"primaryImageOfPage\":{\"@id\":\"http:\/\/167.86.116.248\/shivlab\/blog\/features-and-updates-in-laravel-12\/#primaryimage\"},\"image\":{\"@id\":\"http:\/\/167.86.116.248\/shivlab\/blog\/features-and-updates-in-laravel-12\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2025\/03\/Key-Features-and-Updates-in-Laravel-12-Everything-You-Need-to-Know.webp\",\"datePublished\":\"2025-03-13T08:37:24+00:00\",\"dateModified\":\"2025-03-13T08:42:42+00:00\",\"description\":\"Laravel 12 introduces new starter kits, enhanced authentication, improved query builder, and better API handling for faster and more secure development.\",\"breadcrumb\":{\"@id\":\"http:\/\/167.86.116.248\/shivlab\/blog\/features-and-updates-in-laravel-12\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\/\/167.86.116.248\/shivlab\/blog\/features-and-updates-in-laravel-12\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\/\/167.86.116.248\/shivlab\/blog\/features-and-updates-in-laravel-12\/#primaryimage\",\"url\":\"http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2025\/03\/Key-Features-and-Updates-in-Laravel-12-Everything-You-Need-to-Know.webp\",\"contentUrl\":\"http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2025\/03\/Key-Features-and-Updates-in-Laravel-12-Everything-You-Need-to-Know.webp\",\"width\":1140,\"height\":762,\"caption\":\"Key Features and Updates in Laravel 12 [Everything You Need to Know]\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\/\/167.86.116.248\/shivlab\/blog\/features-and-updates-in-laravel-12\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"http:\/\/167.86.116.248\/shivlab\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Key Features and Updates in Laravel 12 [Everything You Need to Know]\"}]},{\"@type\":\"WebSite\",\"@id\":\"http:\/\/167.86.116.248\/shivlab\/#website\",\"url\":\"http:\/\/167.86.116.248\/shivlab\/\",\"name\":\"Shiv Technolabs Pvt. Ltd.\",\"description\":\"\",\"publisher\":{\"@id\":\"http:\/\/167.86.116.248\/shivlab\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\/\/167.86.116.248\/shivlab\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"http:\/\/167.86.116.248\/shivlab\/#organization\",\"name\":\"Shiv Technolabs Pvt. Ltd\",\"url\":\"http:\/\/167.86.116.248\/shivlab\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\/\/167.86.116.248\/shivlab\/#\/schema\/logo\/image\/\",\"url\":\"http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2022\/11\/stl-logo1.png\",\"contentUrl\":\"http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2022\/11\/stl-logo1.png\",\"width\":1280,\"height\":371,\"caption\":\"Shiv Technolabs Pvt. Ltd\"},\"image\":{\"@id\":\"http:\/\/167.86.116.248\/shivlab\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/ShivTechnolabs\/\",\"https:\/\/x.com\/Shiv_Technolabs\",\"https:\/\/www.linkedin.com\/company\/shivtechnolabs\/\",\"https:\/\/www.instagram.com\/shivtechnolabs\/\",\"https:\/\/in.pinterest.com\/ShivTechnolabs\/\"]},{\"@type\":\"Person\",\"@id\":\"http:\/\/167.86.116.248\/shivlab\/#\/schema\/person\/656b1fcc45a591961e3f3b061cd03206\",\"name\":\"Dipen Majithiya\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\/\/167.86.116.248\/shivlab\/#\/schema\/person\/image\/\",\"url\":\"http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2022\/09\/02_emp_pic-dipen-150x150.png\",\"contentUrl\":\"http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2022\/09\/02_emp_pic-dipen-150x150.png\",\"caption\":\"Dipen Majithiya\"},\"description\":\"I am a proactive chief technology officer (CTO) of Shiv Technolabs. I have 10+ years of experience in eCommerce, mobile apps, and web development in the tech industry. I am Known for my strategic insight and have mastered core technical domains. I have empowered numerous business owners with bespoke solutions, fearlessly taking calculated risks and harnessing the latest technological advancements.\",\"sameAs\":[\"http:\/\/167.86.116.248\/shivlab\/\",\"https:\/\/www.facebook.com\/dipen.majithiya\",\"https:\/\/www.linkedin.com\/in\/dipenmajithiya\/\",\"https:\/\/x.com\/dip_majithiya\"],\"url\":\"http:\/\/167.86.116.248\/shivlab\/author\/dipen_majithiya\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Key Features and Updates in Laravel 12 \u2013 What's New in 2025","description":"Laravel 12 introduces new starter kits, enhanced authentication, improved query builder, and better API handling for faster and more secure development.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"http:\/\/167.86.116.248\/shivlab\/blog\/features-and-updates-in-laravel-12\/","og_locale":"en_US","og_type":"article","og_title":"Key Features and Updates in Laravel 12 \u2013 What's New in 2025","og_description":"Laravel 12 introduces new starter kits, enhanced authentication, improved query builder, and better API handling for faster and more secure development.","og_url":"http:\/\/167.86.116.248\/shivlab\/blog\/features-and-updates-in-laravel-12\/","og_site_name":"Shiv Technolabs Pvt. Ltd.","article_publisher":"https:\/\/www.facebook.com\/ShivTechnolabs\/","article_author":"https:\/\/www.facebook.com\/dipen.majithiya","article_published_time":"2025-03-13T08:37:24+00:00","article_modified_time":"2025-03-13T08:42:42+00:00","og_image":[{"width":1140,"height":762,"url":"http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2025\/03\/Key-Features-and-Updates-in-Laravel-12-Everything-You-Need-to-Know.webp","type":"image\/webp"}],"author":"Dipen Majithiya","twitter_card":"summary_large_image","twitter_creator":"@dip_majithiya","twitter_site":"@Shiv_Technolabs","twitter_misc":{"Written by":"Dipen Majithiya","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"http:\/\/167.86.116.248\/shivlab\/blog\/features-and-updates-in-laravel-12\/#article","isPartOf":{"@id":"http:\/\/167.86.116.248\/shivlab\/blog\/features-and-updates-in-laravel-12\/"},"author":{"name":"Dipen Majithiya","@id":"http:\/\/167.86.116.248\/shivlab\/#\/schema\/person\/656b1fcc45a591961e3f3b061cd03206"},"headline":"Key Features and Updates in Laravel 12 [Everything You Need to Know]","datePublished":"2025-03-13T08:37:24+00:00","dateModified":"2025-03-13T08:42:42+00:00","mainEntityOfPage":{"@id":"http:\/\/167.86.116.248\/shivlab\/blog\/features-and-updates-in-laravel-12\/"},"wordCount":1307,"publisher":{"@id":"http:\/\/167.86.116.248\/shivlab\/#organization"},"image":{"@id":"http:\/\/167.86.116.248\/shivlab\/blog\/features-and-updates-in-laravel-12\/#primaryimage"},"thumbnailUrl":"http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2025\/03\/Key-Features-and-Updates-in-Laravel-12-Everything-You-Need-to-Know.webp","articleSection":["Web Development"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"http:\/\/167.86.116.248\/shivlab\/blog\/features-and-updates-in-laravel-12\/","url":"http:\/\/167.86.116.248\/shivlab\/blog\/features-and-updates-in-laravel-12\/","name":"Key Features and Updates in Laravel 12 \u2013 What's New in 2025","isPartOf":{"@id":"http:\/\/167.86.116.248\/shivlab\/#website"},"primaryImageOfPage":{"@id":"http:\/\/167.86.116.248\/shivlab\/blog\/features-and-updates-in-laravel-12\/#primaryimage"},"image":{"@id":"http:\/\/167.86.116.248\/shivlab\/blog\/features-and-updates-in-laravel-12\/#primaryimage"},"thumbnailUrl":"http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2025\/03\/Key-Features-and-Updates-in-Laravel-12-Everything-You-Need-to-Know.webp","datePublished":"2025-03-13T08:37:24+00:00","dateModified":"2025-03-13T08:42:42+00:00","description":"Laravel 12 introduces new starter kits, enhanced authentication, improved query builder, and better API handling for faster and more secure development.","breadcrumb":{"@id":"http:\/\/167.86.116.248\/shivlab\/blog\/features-and-updates-in-laravel-12\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["http:\/\/167.86.116.248\/shivlab\/blog\/features-and-updates-in-laravel-12\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/167.86.116.248\/shivlab\/blog\/features-and-updates-in-laravel-12\/#primaryimage","url":"http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2025\/03\/Key-Features-and-Updates-in-Laravel-12-Everything-You-Need-to-Know.webp","contentUrl":"http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2025\/03\/Key-Features-and-Updates-in-Laravel-12-Everything-You-Need-to-Know.webp","width":1140,"height":762,"caption":"Key Features and Updates in Laravel 12 [Everything You Need to Know]"},{"@type":"BreadcrumbList","@id":"http:\/\/167.86.116.248\/shivlab\/blog\/features-and-updates-in-laravel-12\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"http:\/\/167.86.116.248\/shivlab\/"},{"@type":"ListItem","position":2,"name":"Key Features and Updates in Laravel 12 [Everything You Need to Know]"}]},{"@type":"WebSite","@id":"http:\/\/167.86.116.248\/shivlab\/#website","url":"http:\/\/167.86.116.248\/shivlab\/","name":"Shiv Technolabs Pvt. Ltd.","description":"","publisher":{"@id":"http:\/\/167.86.116.248\/shivlab\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/167.86.116.248\/shivlab\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"http:\/\/167.86.116.248\/shivlab\/#organization","name":"Shiv Technolabs Pvt. Ltd","url":"http:\/\/167.86.116.248\/shivlab\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/167.86.116.248\/shivlab\/#\/schema\/logo\/image\/","url":"http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2022\/11\/stl-logo1.png","contentUrl":"http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2022\/11\/stl-logo1.png","width":1280,"height":371,"caption":"Shiv Technolabs Pvt. Ltd"},"image":{"@id":"http:\/\/167.86.116.248\/shivlab\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/ShivTechnolabs\/","https:\/\/x.com\/Shiv_Technolabs","https:\/\/www.linkedin.com\/company\/shivtechnolabs\/","https:\/\/www.instagram.com\/shivtechnolabs\/","https:\/\/in.pinterest.com\/ShivTechnolabs\/"]},{"@type":"Person","@id":"http:\/\/167.86.116.248\/shivlab\/#\/schema\/person\/656b1fcc45a591961e3f3b061cd03206","name":"Dipen Majithiya","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/167.86.116.248\/shivlab\/#\/schema\/person\/image\/","url":"http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2022\/09\/02_emp_pic-dipen-150x150.png","contentUrl":"http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2022\/09\/02_emp_pic-dipen-150x150.png","caption":"Dipen Majithiya"},"description":"I am a proactive chief technology officer (CTO) of Shiv Technolabs. I have 10+ years of experience in eCommerce, mobile apps, and web development in the tech industry. I am Known for my strategic insight and have mastered core technical domains. I have empowered numerous business owners with bespoke solutions, fearlessly taking calculated risks and harnessing the latest technological advancements.","sameAs":["http:\/\/167.86.116.248\/shivlab\/","https:\/\/www.facebook.com\/dipen.majithiya","https:\/\/www.linkedin.com\/in\/dipenmajithiya\/","https:\/\/x.com\/dip_majithiya"],"url":"http:\/\/167.86.116.248\/shivlab\/author\/dipen_majithiya\/"}]}},"jetpack_featured_media_url":"http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2025\/03\/Key-Features-and-Updates-in-Laravel-12-Everything-You-Need-to-Know.webp","_links":{"self":[{"href":"http:\/\/167.86.116.248\/shivlab\/wp-json\/wp\/v2\/posts\/21363","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/167.86.116.248\/shivlab\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/167.86.116.248\/shivlab\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/167.86.116.248\/shivlab\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"http:\/\/167.86.116.248\/shivlab\/wp-json\/wp\/v2\/comments?post=21363"}],"version-history":[{"count":8,"href":"http:\/\/167.86.116.248\/shivlab\/wp-json\/wp\/v2\/posts\/21363\/revisions"}],"predecessor-version":[{"id":21414,"href":"http:\/\/167.86.116.248\/shivlab\/wp-json\/wp\/v2\/posts\/21363\/revisions\/21414"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/167.86.116.248\/shivlab\/wp-json\/wp\/v2\/media\/21410"}],"wp:attachment":[{"href":"http:\/\/167.86.116.248\/shivlab\/wp-json\/wp\/v2\/media?parent=21363"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/167.86.116.248\/shivlab\/wp-json\/wp\/v2\/categories?post=21363"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/167.86.116.248\/shivlab\/wp-json\/wp\/v2\/tags?post=21363"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}