{"id":2037,"date":"2020-08-24T10:33:18","date_gmt":"2020-08-24T10:33:18","guid":{"rendered":"https:\/\/localhost\/mysite\/vi\/?p=2037"},"modified":"2020-08-24T10:33:18","modified_gmt":"2020-08-24T10:33:18","slug":"some-new-features-coming-to-laravel-8","status":"publish","type":"post","link":"https:\/\/vivustandard.com\/vi\/2020\/08\/24\/some-new-features-coming-to-laravel-8\/","title":{"rendered":"Some new features coming to Laravel 8"},"content":{"rendered":"\n<p>The plan is for\u00a0<a href=\"https:\/\/laravel-news.com\/laravel-8-release-date\">Laravel 8 to be released on September 8th<\/a>, and in anticipation, Taylor has been hinting at some of the new features that will be coming to the framework. Let\u2019s take a look at some of these.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img src=\"https:\/\/i1.wp.com\/wp.laravel-news.com\/wp-content\/uploads\/2020\/08\/laravel8.jpg?fit=1400%2C708&amp;ssl=1?resize=2200%2C1125\" alt=\"\"\/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p><strong>php artisan serve enhancements<\/strong><\/p>\n\n\n\n<p>You will no longer have to manually restart\u00a0<code>php artisan serve<\/code>\u00a0if you update your \u201c.env\u201d file. The changes will be read in, and you can just continue working.<\/p>\n\n\n\n<p><strong>app\/Models directory<\/strong><\/p>\n\n\n\n<p>This feature came to life after a Twitter poll a few months back where Taylor asked where people like to put their \u201cModels\u201d Either in\u00a0<code>app\/<\/code>\u00a0or\u00a0<code>app\/Models<\/code>. The latter won out, and the Laravel 8 skeleton will include an\u00a0<code>app\/Models<\/code>\u00a0directory by default.<\/p>\n\n\n\n<p>Generator commands are updated for new directories<\/p>\n\n\n\n<p>To make life easier with that directory change, all generator commands in 8.x will detect if you have a Models directory. If you don\u2019t, it will assume models go in \u201capp\u201d.<\/p>\n\n\n\n<p><strong>Even more\u2026<\/strong><\/p>\n\n\n\n<p>At\u00a0<a href=\"https:\/\/laracon.net\/\">Laracon Online<\/a>, Taylor plans to talk about model factories, squashing migrations, job batching, job backoffs, rate limiting, exception reporting, event listening, route caching, maintenance mode, Jetstream, and much more! He is scheduled for the 12:15 PM time slot, and it\u2019s one you wouldn\u2019t want to miss.<\/p>\n\n\n\n<p class=\"has-text-align-right\">Source: <a href=\"https:\/\/laravel-news.com\/new-features-coming-to-laravel-8\">https:\/\/laravel-news.com\/new-features-coming-to-laravel-8<\/a><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The plan is for\u00a0Laravel 8 to be released on September 8th, and in anticipation, Taylor has been hinting at some of the new features that will be coming to the &#8230;<\/p>\n","protected":false},"author":1,"featured_media":1860,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[25],"tags":[],"_links":{"self":[{"href":"https:\/\/vivustandard.com\/vi\/wp-json\/wp\/v2\/posts\/2037"}],"collection":[{"href":"https:\/\/vivustandard.com\/vi\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vivustandard.com\/vi\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vivustandard.com\/vi\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vivustandard.com\/vi\/wp-json\/wp\/v2\/comments?post=2037"}],"version-history":[{"count":1,"href":"https:\/\/vivustandard.com\/vi\/wp-json\/wp\/v2\/posts\/2037\/revisions"}],"predecessor-version":[{"id":2038,"href":"https:\/\/vivustandard.com\/vi\/wp-json\/wp\/v2\/posts\/2037\/revisions\/2038"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/vivustandard.com\/vi\/wp-json\/wp\/v2\/media\/1860"}],"wp:attachment":[{"href":"https:\/\/vivustandard.com\/vi\/wp-json\/wp\/v2\/media?parent=2037"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vivustandard.com\/vi\/wp-json\/wp\/v2\/categories?post=2037"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vivustandard.com\/vi\/wp-json\/wp\/v2\/tags?post=2037"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}