{"id":6242,"date":"2021-05-18T14:01:08","date_gmt":"2021-05-18T08:31:08","guid":{"rendered":"https:\/\/www.concettolabs.com\/blog\/?p=6242"},"modified":"2021-05-18T14:01:08","modified_gmt":"2021-05-18T08:31:08","slug":"in-depth-laravel-8-new-released-features","status":"publish","type":"post","link":"https:\/\/websitelaravel.concettoprojects.com\/blog\/in-depth-laravel-8-new-released-features\/","title":{"rendered":"In-Depth Laravel 8 New Released Features"},"content":{"rendered":"<p>Laravel 8 is a newly released Laravel framework that launched on 8th September. Peers want to know <strong>what\u2019s new in Laravel 8<\/strong> and what improvement made in Laravel 7. Before understanding the Laravel 8 features, one needs to see the Laravel 6 version. As Laravel 6 framework switches to semantic versioning, we need to understand its process.<\/p>\n<p>Let\u2019s drive-in and take a look at the latest <strong>Laravel 8 new features<\/strong><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Laravel_8_New_Features\"><\/span>Laravel 8 New Features<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6268\" src=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2021\/05\/In-depth-Laravel-8-New-Released-Features.png\" alt=\"Laravel 8 New Features\" width=\"1170\" height=\"540\" srcset=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2021\/05\/In-depth-Laravel-8-New-Released-Features.png 1170w, https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2021\/05\/In-depth-Laravel-8-New-Released-Features-300x138.png 300w, https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2021\/05\/In-depth-Laravel-8-New-Released-Features-1024x473.png 1024w, https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2021\/05\/In-depth-Laravel-8-New-Released-Features-768x354.png 768w\" sizes=\"auto, (max-width: 1170px) 100vw, 1170px\" \/><\/p>\n<h3><span class=\"ez-toc-section\" id=\"1_Laravel_Jetstream\"><\/span>1. Laravel Jetstream<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>One of the <strong>best new features in Laravel 8<\/strong> is Laravel Jetstream. It provides a fantastic starting point for developing <a href=\"https:\/\/www.concettolabs.com\/laravel-development\" target=\"_blank\" rel=\"nofollow\"><span style=\"text-decoration: underline;\"><strong>Laravel applications development<\/strong><\/span><\/a>. It uses built-in options like:<\/p>\n<ul>\n<li>\u00a0Login and Registration<\/li>\n<li>\u00a0Email Verification<\/li>\n<li>Session Management<\/li>\n<li>Two Factor authentication<\/li>\n<li>Tailwind CSS designed<\/li>\n<li>Laravel Sanctum API Support<\/li>\n<\/ul>\n<h3><span class=\"ez-toc-section\" id=\"2_How_is_Laravel_8_features_Jetstream_used\"><\/span>2. How is Laravel 8 features Jetstream used?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Developers can create a new application with Jetstream by using Laravel installer. One needs to add the following code:<br \/>\nLaravel new your-project \u2013jet<\/p>\n<p>Now choose the stack (Livewire or Inertia). Later run your database migrations like: <strong>PHP artisan migrate<\/strong><\/p>\n<p>Finally, check your app at localhost:8000 by running code: <strong>PHP artisan serve<\/strong><\/p>\n<p>That\u2019s all it\u2019s ready. Get set and explore your new Laravel Jetstream application. One can find the composer installation instructions that available in the Laravel Jetstream documentation.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"3_Migration_Squashing\"><\/span>3. Migration Squashing<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Wondering what the best new features in Laravel 8? Well, Laravel 8 introduced another existing new feature migration squashing. With this, we do not need to scroll for longer to open the migration folder. When comparing <strong>Laravel 8 vs Laravel 7<\/strong> migration squashing is one best features of Laravel 8. Using this, one can condense migration files into a single SQL file by using the below code:<\/p>\n<p><strong>PHP artisan schema: dump<\/strong><br \/>\n<strong>PHP artisan schema: dump \u2013 prune<\/strong><\/p>\n<p>Laravel comes with a new schema file database\/schema. One needs to use the migration squashing feature to run the schema. Using this feature, Laravel will run the SQL from the schema and then move on to create later in the migration folder.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"4_Model_Updates\"><\/span>4. Model Updates<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>The <strong>new features in Laravel 8<\/strong>, i.e. app\/Models directory, are back. In the Laravel 5 version, a lot of developers observed that the Models directory was missing. With this new release Laravel feature, the app directory was introduced. Using this feature, one need not create a folder. One need not require a lot of developers. And need not make an extra nuisance. Laravel 8 comes with an app\/models directory that can be restored quickly.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"5_Model_Factory_Classes\"><\/span>5. Model Factory Classes<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Taylor Otwell rewrote the Eloquent model factories as classes. If we compare Laravel 8 vs Laravel 7, then we can better understand the model factor classes.<\/p>\n<h4><strong>Laravel 7.x User Factory code:<\/strong><\/h4>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6245\" src=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2021\/05\/Page-2-Image-1.jpg\" alt=\"Laravel 7.x User Factory code:\" width=\"1005\" height=\"348\" srcset=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2021\/05\/Page-2-Image-1.jpg 1005w, https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2021\/05\/Page-2-Image-1-300x104.jpg 300w, https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2021\/05\/Page-2-Image-1-768x266.jpg 768w\" sizes=\"auto, (max-width: 1005px) 100vw, 1005px\" \/><\/p>\n<h4><strong>Laravel 8 User Factory code:<\/strong><\/h4>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6246\" src=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2021\/05\/Page-3-Image-2.jpg\" alt=\"Laravel 8 User Factory code:\" width=\"899\" height=\"734\" srcset=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2021\/05\/Page-3-Image-2.jpg 899w, https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2021\/05\/Page-3-Image-2-300x245.jpg 300w, https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2021\/05\/Page-3-Image-2-768x627.jpg 768w\" sizes=\"auto, (max-width: 899px) 100vw, 899px\" \/><\/p>\n<p>With the above code, we can say that <a href=\"https:\/\/laravel.com\/docs\/8.x\/releases\" target=\"_blank\" rel=\"nofollow\">Laravel 8<\/a> factory classes can extend the base Laravel factory class. Let\u2019s take a look at how Laravel 7 vs Laravel 8 different.<\/p>\n<h4><strong>Use factories in Laravel 7<\/strong><\/h4>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6247\" src=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2021\/05\/Page-3-Image-3.jpg\" alt=\"Use factories in Laravel 7\" width=\"893\" height=\"358\" srcset=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2021\/05\/Page-3-Image-3.jpg 893w, https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2021\/05\/Page-3-Image-3-300x120.jpg 300w, https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2021\/05\/Page-3-Image-3-768x308.jpg 768w\" sizes=\"auto, (max-width: 893px) 100vw, 893px\" \/><\/p>\n<h4><strong>Use factories in Laravel 8<\/strong><\/h4>\n<h3><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6248\" src=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2021\/05\/Page-4-Image-4.jpg\" alt=\"Use factories in Laravel 8\" width=\"906\" height=\"385\" srcset=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2021\/05\/Page-4-Image-4.jpg 906w, https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2021\/05\/Page-4-Image-4-300x127.jpg 300w, https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2021\/05\/Page-4-Image-4-768x326.jpg 768w\" sizes=\"auto, (max-width: 906px) 100vw, 906px\" \/><\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6249\" src=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2021\/05\/Page-4-Image-5.jpg\" alt=\"Use factories in Laravel 8.1\" width=\"897\" height=\"293\" srcset=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2021\/05\/Page-4-Image-5.jpg 897w, https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2021\/05\/Page-4-Image-5-300x98.jpg 300w, https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2021\/05\/Page-4-Image-5-768x251.jpg 768w\" sizes=\"auto, (max-width: 897px) 100vw, 897px\" \/><\/p>\n<h3><span class=\"ez-toc-section\" id=\"6_Job_Batching\"><\/span>6. Job Batching<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>For Laravel, jobs are tasks that are performed as part of a queue to accomplish something. The <strong>Laravel 8 features<\/strong> use new batching functionality with defining jobs. Let\u2019s say, for example, use a simplified batchable unit like given below:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6250\" src=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2021\/05\/Page-5-Image-6.jpg\" alt=\"Job Batching\" width=\"915\" height=\"596\" srcset=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2021\/05\/Page-5-Image-6.jpg 915w, https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2021\/05\/Page-5-Image-6-300x195.jpg 300w, https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2021\/05\/Page-5-Image-6-768x500.jpg 768w\" sizes=\"auto, (max-width: 915px) 100vw, 915px\" \/><\/p>\n<p>As soon as the batch job is set, you can dispatch a batch in your controller using the batch method of the bus fa\u00e7ade.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6251\" src=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2021\/05\/Page-5-Image-7.jpg\" alt=\"bus fa\u00e7ade\" width=\"901\" height=\"440\" srcset=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2021\/05\/Page-5-Image-7.jpg 901w, https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2021\/05\/Page-5-Image-7-300x147.jpg 300w, https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2021\/05\/Page-5-Image-7-768x375.jpg 768w\" sizes=\"auto, (max-width: 901px) 100vw, 901px\" \/><\/p>\n<h3><span class=\"ez-toc-section\" id=\"7_Get_better_Rate_Limiting\"><\/span>7. Get better Rate Limiting<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<h4><strong>Here\u2019s the rate-limiting of Laravel 7<\/strong><\/h4>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6252\" src=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2021\/05\/Page-5-Image-8.jpg\" alt=\"Here\u2019s the rate-limiting of Laravel 7\" width=\"925\" height=\"145\" srcset=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2021\/05\/Page-5-Image-8.jpg 925w, https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2021\/05\/Page-5-Image-8-300x47.jpg 300w, https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2021\/05\/Page-5-Image-8-768x120.jpg 768w\" sizes=\"auto, (max-width: 925px) 100vw, 925px\" \/><\/p>\n<h4><strong>Here\u2019s the rate-limiting of Laravel 8<\/strong><\/h4>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6253\" src=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2021\/05\/Page-6-Image-9.jpg\" alt=\"Here\u2019s the rate-limiting of Laravel 7\" width=\"895\" height=\"156\" srcset=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2021\/05\/Page-6-Image-9.jpg 895w, https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2021\/05\/Page-6-Image-9-300x52.jpg 300w, https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2021\/05\/Page-6-Image-9-768x134.jpg 768w\" sizes=\"auto, (max-width: 895px) 100vw, 895px\" \/><\/p>\n<h4><strong>Apply to pre-configured rate limiter along with route throttle.<\/strong><\/h4>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6254\" src=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2021\/05\/Page-6-Image-10.jpg\" alt=\"Apply to pre-configured rate limiter along with route throttle.\" width=\"904\" height=\"208\" srcset=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2021\/05\/Page-6-Image-10.jpg 904w, https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2021\/05\/Page-6-Image-10-300x69.jpg 300w, https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2021\/05\/Page-6-Image-10-768x177.jpg 768w\" sizes=\"auto, (max-width: 904px) 100vw, 904px\" \/><\/p>\n<h3><span class=\"ez-toc-section\" id=\"8_Maintenance_Mode\"><\/span>8. Maintenance Mode<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Taylor Otwell contributed to the maintenance mode. In the <strong>features of Laravel 8<\/strong>, PHP artisan down maintenance mode. It\u2019s bypass using an allow list that accessed the application. The feature was removed to get a simpler solution. In maintenance mode, one uses the secret option to specify a maintenance mode:<\/p>\n<p><strong>PHP artisan down &#8211; &#8211; secret = \u201c1630542a-246b-4b66-afa1-dd72a4c43515\u201d<\/strong><\/p>\n<p>After maintenance mode is placed, one navigates the application URL matching. Laravel uses maintenance mode with bypass cookies to your browser. One can redirect the application route. As soon as a cookie issued to your browser, one can browse the application normally.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"9_Pre-Rendering_Maintenance_Mode\"><\/span>9. Pre-Rendering Maintenance Mode<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Utilize the PHP artisan down command during deployment. The user can encounter errors while composer dependencies and infrastructure components continue to update. With this Laravel framework, one can determine your application and render the maintenance mode using a template engine. To pre-render a template of your choice using the down command render option.<br \/>\nphp artisan down &#8211; &#8211; render = \u201cerrors: : 503\u201d<\/p>\n<h3><span class=\"ez-toc-section\" id=\"10_Closure_Dispatch_Chain\"><\/span>10. Closure Dispatch \/ Chain<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Use the new catch method and provide a closure that execute if a queue closure fails to complete successfully after exhausting. Check the queue configured retry attempt:<\/p>\n<p>use Throwable;<br \/>\ndispatch(function () use ($podcast) {<br \/>\n$podcast-&gt;publish();<br \/>\n})-&gt;catch(function (Throwable $e) {<br \/>\n\/\/ This job has failed&#8230;<br \/>\n});<\/p>\n<h3><span class=\"ez-toc-section\" id=\"11_Dynamic_Blade_Components\"><\/span>11. Dynamic Blade Components<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Taylor contributed Dynamic Blade Components. There are times when we need to render components but don\u2019t know which component to render until runtime. In this situation, one needs to use Laravel\u2019s dynamic component to render based on a runtime value like:<br \/>\n&lt;x-dynamic-component :component=&#8221;$componentName&#8221; class=&#8221;mt-4&#8243; \/&gt;<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Wrapping_up\"><\/span>Wrapping up<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>We have checked new features in Laravel 8, where Taylor and the teamwork hard to add a feature that benefits developers. Talking about Laravel 8, it requires PHP 7.3 and more upgrades. As one of the best Laravel app development companies, we offer the best Laravel shift service or custom-based requirements. If you\u2019re looking for innovative Laravel solutions, <a href=\"https:\/\/www.concettolabs.com\/hire-laravel-developer\" target=\"_blank\" rel=\"nofollow\"><span style=\"text-decoration: underline;\"><strong>hire Laravel developers<\/strong><\/span><\/a> and grow your business with ease.<\/p>\n<style>\n      .blog-block-8{background:url(https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2020\/05\/blog-script-81-2.png);background-position: center;background-repeat: no-repeat;background-size: cover;width: 100%;margin: 0 auto;padding: 70px 60px;display: inline-block;} .blog-block-8 h3{font-size: 45px;line-height: 60px!important;color:#000; text-align: left;text-transform: capitalize;margin-top:0;margin-bottom:10px;font-weight:700; }  .blog-block-8 p{color:#000!important;font-size:18px;margin: 0 auto 20px;text-align:left;} .blog-block-8 h3 span{color: #00d78f;    font-weight: 900;font-size: 72px;} .blog-block-8 .blog-btn-8{background: #00d78f; border-radius: 0; font-size: 18px; padding: 10px 20px;border:0;color:#fff!important;} blog-block-8 .bg-animated span{color:#fff!important;}<\/style>\n<div class=\"blog-block-8\">\n<div class=\"col-md-6\"><\/div>\n<div class=\"col-md-6\">\n<h3><span class=\"ez-toc-section\" id=\"In-Depth_Laravel_8_New_Released_Features\"><\/span>In-Depth Laravel 8 New Released Features<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><a class=\"btn blog-btn-8\" href=\"https:\/\/www.concettolabs.com\/inquiry\" target=\"_blank\" rel=\"nofollow\">Contact Us<\/a><\/p>\n<\/div>\n<\/div>\n<p>&nbsp;<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_71 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 eztoc-toggle-hide-by-default' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/in-depth-laravel-8-new-released-features\/#Laravel_8_New_Features\" title=\"Laravel 8 New Features\">Laravel 8 New Features<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/in-depth-laravel-8-new-released-features\/#1_Laravel_Jetstream\" title=\"1. Laravel Jetstream\">1. Laravel Jetstream<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/in-depth-laravel-8-new-released-features\/#2_How_is_Laravel_8_features_Jetstream_used\" title=\"2. How is Laravel 8 features Jetstream used?\">2. How is Laravel 8 features Jetstream used?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/in-depth-laravel-8-new-released-features\/#3_Migration_Squashing\" title=\"3. Migration Squashing\">3. Migration Squashing<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/in-depth-laravel-8-new-released-features\/#4_Model_Updates\" title=\"4. Model Updates\">4. Model Updates<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/in-depth-laravel-8-new-released-features\/#5_Model_Factory_Classes\" title=\"5. Model Factory Classes\">5. Model Factory Classes<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/in-depth-laravel-8-new-released-features\/#6_Job_Batching\" title=\"6. Job Batching\">6. Job Batching<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/in-depth-laravel-8-new-released-features\/#7_Get_better_Rate_Limiting\" title=\"7. Get better Rate Limiting\">7. Get better Rate Limiting<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/in-depth-laravel-8-new-released-features\/#8_Maintenance_Mode\" title=\"8. Maintenance Mode\">8. Maintenance Mode<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/in-depth-laravel-8-new-released-features\/#9_Pre-Rendering_Maintenance_Mode\" title=\"9. Pre-Rendering Maintenance Mode\">9. Pre-Rendering Maintenance Mode<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/in-depth-laravel-8-new-released-features\/#10_Closure_Dispatch_Chain\" title=\"10. Closure Dispatch \/ Chain\">10. Closure Dispatch \/ Chain<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/in-depth-laravel-8-new-released-features\/#11_Dynamic_Blade_Components\" title=\"11. Dynamic Blade Components\">11. Dynamic Blade Components<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/in-depth-laravel-8-new-released-features\/#Wrapping_up\" title=\"Wrapping up\">Wrapping up<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/in-depth-laravel-8-new-released-features\/#In-Depth_Laravel_8_New_Released_Features\" title=\"In-Depth Laravel 8 New Released Features\">In-Depth Laravel 8 New Released Features<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Laravel 8 is a newly released Laravel framework that launched on 8th September. Peers want to know what\u2019s new in Laravel 8 and what improvement made in Laravel 7. Before understanding the Laravel 8 features, one needs to see the Laravel 6 version. As Laravel 6 framework switches to semantic versioning, we need to understand [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":7524,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[146],"tags":[2561,2562,1834,2563,2564,2565,2566,2567,2568,2569],"class_list":["post-6242","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-web-development","tag-best-new-features-in-laravel-8","tag-features-of-laravel-8","tag-hire-laravel-developers","tag-laravel-8","tag-laravel-8-features","tag-laravel-8-new-features","tag-laravel-8-vs-laravel-7","tag-laravel-applications","tag-new-features-in-laravel-8","tag-whats-new-in-laravel-8"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>In-Depth Laravel 8 New Released Features | Concetto Labs<\/title>\n<meta name=\"description\" content=\"Laravel 8 is a newly released Laravel framework. Peers want to know what\u2019s new features in Laravel 8 and what improvement made in Laravel 7. Click here\" \/>\n<meta name=\"robots\" content=\"noindex, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"In-Depth Laravel 8 New Released Features | Concetto Labs\" \/>\n<meta property=\"og:description\" content=\"Laravel 8 is a newly released Laravel framework. Peers want to know what\u2019s new features in Laravel 8 and what improvement made in Laravel 7. Click here\" \/>\n<meta property=\"og:url\" content=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/in-depth-laravel-8-new-released-features\/\" \/>\n<meta property=\"og:site_name\" content=\"concettolabs\" \/>\n<meta property=\"article:published_time\" content=\"2021-05-18T08:31:08+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2021\/05\/In-depth-Laravel-8-New-Released-Features-1-1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1170\" \/>\n\t<meta property=\"og:image:height\" content=\"540\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Disha Aghera\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Disha Aghera\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/websitelaravel.concettoprojects.com\/blog\/in-depth-laravel-8-new-released-features\/\",\"url\":\"https:\/\/websitelaravel.concettoprojects.com\/blog\/in-depth-laravel-8-new-released-features\/\",\"name\":\"In-Depth Laravel 8 New Released Features | Concetto Labs\",\"isPartOf\":{\"@id\":\"https:\/\/websitelaravel.concettoprojects.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/websitelaravel.concettoprojects.com\/blog\/in-depth-laravel-8-new-released-features\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/websitelaravel.concettoprojects.com\/blog\/in-depth-laravel-8-new-released-features\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2021\/05\/In-depth-Laravel-8-New-Released-Features-1-1.png\",\"datePublished\":\"2021-05-18T08:31:08+00:00\",\"dateModified\":\"2021-05-18T08:31:08+00:00\",\"author\":{\"@id\":\"https:\/\/websitelaravel.concettoprojects.com\/blog\/#\/schema\/person\/52229a9e03cf7c2a5e3f0f0d5eb043f9\"},\"description\":\"Laravel 8 is a newly released Laravel framework. Peers want to know what\u2019s new features in Laravel 8 and what improvement made in Laravel 7. Click here\",\"breadcrumb\":{\"@id\":\"https:\/\/websitelaravel.concettoprojects.com\/blog\/in-depth-laravel-8-new-released-features\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/websitelaravel.concettoprojects.com\/blog\/in-depth-laravel-8-new-released-features\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/websitelaravel.concettoprojects.com\/blog\/in-depth-laravel-8-new-released-features\/#primaryimage\",\"url\":\"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2021\/05\/In-depth-Laravel-8-New-Released-Features-1-1.png\",\"contentUrl\":\"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2021\/05\/In-depth-Laravel-8-New-Released-Features-1-1.png\",\"width\":1170,\"height\":540,\"caption\":\"Laravel 8\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/websitelaravel.concettoprojects.com\/blog\/in-depth-laravel-8-new-released-features\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/websitelaravel.concettoprojects.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"In-Depth Laravel 8 New Released Features\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/websitelaravel.concettoprojects.com\/blog\/#website\",\"url\":\"https:\/\/websitelaravel.concettoprojects.com\/blog\/\",\"name\":\"concettolabs\",\"description\":\"Just another WordPress site\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/websitelaravel.concettoprojects.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/websitelaravel.concettoprojects.com\/blog\/#\/schema\/person\/52229a9e03cf7c2a5e3f0f0d5eb043f9\",\"name\":\"Disha Aghera\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/websitelaravel.concettoprojects.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2022\/03\/IMG_20200920_122510-96x96.jpg\",\"contentUrl\":\"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2022\/03\/IMG_20200920_122510-96x96.jpg\",\"caption\":\"Disha Aghera\"},\"description\":\"Disha Aghera is a Full Stack Tech Lead. I have developed web applications from scratch and also support existing applications. I have experience in Laravel, CodeIgniter, CakePHP, Zend Framework, Angular, Node JS, etc. I found more things to learn here\",\"url\":\"https:\/\/websitelaravel.concettoprojects.com\/blog\/author\/disha-aghera\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"In-Depth Laravel 8 New Released Features | Concetto Labs","description":"Laravel 8 is a newly released Laravel framework. Peers want to know what\u2019s new features in Laravel 8 and what improvement made in Laravel 7. Click here","robots":{"index":"noindex","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"og_locale":"en_US","og_type":"article","og_title":"In-Depth Laravel 8 New Released Features | Concetto Labs","og_description":"Laravel 8 is a newly released Laravel framework. Peers want to know what\u2019s new features in Laravel 8 and what improvement made in Laravel 7. Click here","og_url":"https:\/\/websitelaravel.concettoprojects.com\/blog\/in-depth-laravel-8-new-released-features\/","og_site_name":"concettolabs","article_published_time":"2021-05-18T08:31:08+00:00","og_image":[{"width":1170,"height":540,"url":"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2021\/05\/In-depth-Laravel-8-New-Released-Features-1-1.png","type":"image\/png"}],"author":"Disha Aghera","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Disha Aghera","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/websitelaravel.concettoprojects.com\/blog\/in-depth-laravel-8-new-released-features\/","url":"https:\/\/websitelaravel.concettoprojects.com\/blog\/in-depth-laravel-8-new-released-features\/","name":"In-Depth Laravel 8 New Released Features | Concetto Labs","isPartOf":{"@id":"https:\/\/websitelaravel.concettoprojects.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/websitelaravel.concettoprojects.com\/blog\/in-depth-laravel-8-new-released-features\/#primaryimage"},"image":{"@id":"https:\/\/websitelaravel.concettoprojects.com\/blog\/in-depth-laravel-8-new-released-features\/#primaryimage"},"thumbnailUrl":"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2021\/05\/In-depth-Laravel-8-New-Released-Features-1-1.png","datePublished":"2021-05-18T08:31:08+00:00","dateModified":"2021-05-18T08:31:08+00:00","author":{"@id":"https:\/\/websitelaravel.concettoprojects.com\/blog\/#\/schema\/person\/52229a9e03cf7c2a5e3f0f0d5eb043f9"},"description":"Laravel 8 is a newly released Laravel framework. Peers want to know what\u2019s new features in Laravel 8 and what improvement made in Laravel 7. Click here","breadcrumb":{"@id":"https:\/\/websitelaravel.concettoprojects.com\/blog\/in-depth-laravel-8-new-released-features\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/websitelaravel.concettoprojects.com\/blog\/in-depth-laravel-8-new-released-features\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/websitelaravel.concettoprojects.com\/blog\/in-depth-laravel-8-new-released-features\/#primaryimage","url":"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2021\/05\/In-depth-Laravel-8-New-Released-Features-1-1.png","contentUrl":"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2021\/05\/In-depth-Laravel-8-New-Released-Features-1-1.png","width":1170,"height":540,"caption":"Laravel 8"},{"@type":"BreadcrumbList","@id":"https:\/\/websitelaravel.concettoprojects.com\/blog\/in-depth-laravel-8-new-released-features\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/websitelaravel.concettoprojects.com\/blog\/"},{"@type":"ListItem","position":2,"name":"In-Depth Laravel 8 New Released Features"}]},{"@type":"WebSite","@id":"https:\/\/websitelaravel.concettoprojects.com\/blog\/#website","url":"https:\/\/websitelaravel.concettoprojects.com\/blog\/","name":"concettolabs","description":"Just another WordPress site","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/websitelaravel.concettoprojects.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/websitelaravel.concettoprojects.com\/blog\/#\/schema\/person\/52229a9e03cf7c2a5e3f0f0d5eb043f9","name":"Disha Aghera","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/websitelaravel.concettoprojects.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2022\/03\/IMG_20200920_122510-96x96.jpg","contentUrl":"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2022\/03\/IMG_20200920_122510-96x96.jpg","caption":"Disha Aghera"},"description":"Disha Aghera is a Full Stack Tech Lead. I have developed web applications from scratch and also support existing applications. I have experience in Laravel, CodeIgniter, CakePHP, Zend Framework, Angular, Node JS, etc. I found more things to learn here","url":"https:\/\/websitelaravel.concettoprojects.com\/blog\/author\/disha-aghera\/"}]}},"_links":{"self":[{"href":"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-json\/wp\/v2\/posts\/6242","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-json\/wp\/v2\/comments?post=6242"}],"version-history":[{"count":0,"href":"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-json\/wp\/v2\/posts\/6242\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-json\/wp\/v2\/media\/7524"}],"wp:attachment":[{"href":"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-json\/wp\/v2\/media?parent=6242"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-json\/wp\/v2\/categories?post=6242"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-json\/wp\/v2\/tags?post=6242"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}