{"id":8355,"date":"2026-09-02T21:34:46","date_gmt":"2026-09-02T21:34:46","guid":{"rendered":"https:\/\/kutia.net\/laravel-6-8-0-released-2\/"},"modified":"2026-09-02T21:34:46","modified_gmt":"2026-09-02T21:34:46","slug":"laravel-6-8-0-released","status":"publish","type":"post","link":"https:\/\/kutia.net\/de\/laravel-6-8-0-released\/","title":{"rendered":"Laravel 6.8.0 ver\u00f6ffentlicht"},"content":{"rendered":"<p>The Laravel team released a minor version v6.8.0 this week, adding useful test response updates, along with the latest features, changes, and fixes for Laravel 6.x:<\/p>\n<p>ArrayAccess on Responses<br \/>\nTaylor Otwell Implemented ArrayAccess on JsonResponse and TestResponse classes. Having array access is convenient if you want to get JSON data in a test or JsonResponse instance. Taylor summarized how this could be useful in <a href=\"https:\/\/github.com\/laravel\/framework\/pull\/30817\" target=\"_blank\" rel=\"noopener noreferrer\">pull request (#30817)<\/a>:<\/p>\n<blockquote>\n<p>When building \/ testing and JSON API, I like to sometimes interact with the raw JSON payload returned in the response. Normally you would have to access this via $response-&gt;original[&#8216;foo&#8217;]; however, with this change I implement ArrayAccess on both JsonResponse and TestResponse in order to be able to proxy directly into the response JSON without going through the original property.<\/p>\n<\/blockquote>\n<p>Here\u2019s a quick example from the PR:<\/p>\n<h2>Packages Can Use Custom Markdown Mail Themes<\/h2>\n<p>Packages can now use custom markdown mail themes. Now, a package could use something like the following example:<\/p>\n<h2>Set an Individual Raw Attribute<\/h2>\n<p>You can now set raw values for individual model attributes using the setRawAttribute() method:<\/p>\n<h2>Force flag for artisan make:controller<\/h2>\n<p>Similar to models, you can force the creation of controllers with the make:controller command. Forcing is useful if you forget to use the &#8211;resource flag and want to recreate the controller:<\/p>\n<h2>Create a Seeder with artisan make:model<\/h2>\n<p>With the &#8211;seed flag, the make:model artisan command will create a seeder matching the model name:<\/p>\n<p>You can see the full list of new features and updates below and the whole diff between <a href=\"https:\/\/github.com\/laravel\/framework\/compare\/v6.7.0...v6.8.0\" target=\"_blank\" rel=\"noopener noreferrer\">6.7.0 and 6.8.0<\/a> on GitHub. The full release notes for Laravel 6.0 are available in the GitHub v6 changelog:<\/p>\n<h2>v6.8.0<\/h2>\n<p><strong>Added<\/strong><\/p>\n<ul>\n<li>Allowed packages to use custom markdown mail themes (#30814, 2206d52)<\/li>\n<li>Added more quotes to Inspiring (4a7d566, 9693ced)<\/li>\n<li>Added support for nested arrays in TestResponse::assertViewHas() (#30837)<\/li>\n<li>Added Model::setRawAttribute() (#30853)<\/li>\n<li>Added &#8211;force option to the make:controller resource (#30856)<\/li>\n<li>Allowed passing an array to Resource::collection() (#30800)<\/li>\n<li>Implemented ArrayAccess on JsonResponse and TestResponse (#30817)<\/li>\n<li>Added &#8211;seed option to the make::model resource (#30828, 2cd9417)<\/li>\n<\/ul>\n<p><strong>Fixed<\/strong><\/p>\n<ul>\n<li>Fixed two index creation instead of one when using change() (#30843)<\/li>\n<li>Prevent duplicate attachments in the Mailable (3c8ccc2)<\/li>\n<li>Fixed ServiceProvider for PHP 7.4 in Lumen (#30819)<\/li>\n<li>Fixed non-eloquent model validation in database validation rules (#30840)<\/li>\n<\/ul>\n<p><strong>Changed<\/strong><\/p>\n<ul>\n<li>Changed rescue() helper (#30838)<\/li>\n<li>Added previous exception to EntryNotFoundException thrown in Container.php (#30862)<\/li>\n<li>Changed DatabaseNotification::$keyType to match uuid (#30823)<\/li>\n<\/ul>\n<p>Author: <a href=\"https:\/\/laravel-news.com\/@paulredmond\" target=\"_blank\" rel=\"noopener noreferrer\">Paul Redmond<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Das Laravel-Team hat diese Woche eine Nebenversion v6.8.0 ver\u00f6ffentlicht, die n\u00fctzliche Testantwortaktualisierungen sowie die neuesten Funktionen, \u00c4nderungen und Korrekturen f\u00fcr Laravel 6.x hinzuf\u00fcgt: ArrayAccess f\u00fcr Antworten. Taylor Otwell hat ArrayAccess f\u00fcr die Klassen JsonResponse und TestResponse implementiert. <\/p>\n","protected":false},"author":0,"featured_media":3113,"comment_status":"","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[49],"tags":[],"class_list":["post-8355","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-unkategorisiert"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Laravel 6.8.0 Released - Kutia<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/kutia.net\/laravel-6-8-0-released-2\/\" \/>\n<meta property=\"og:locale\" content=\"de_DE\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Laravel 6.8.0 Released - Kutia\" \/>\n<meta property=\"og:description\" content=\"Das Laravel-Team hat diese Woche eine Nebenversion v6.8.0 ver\u00f6ffentlicht, die n\u00fctzliche Testantwortaktualisierungen sowie die neuesten Funktionen, \u00c4nderungen und Korrekturen f\u00fcr Laravel 6.x hinzuf\u00fcgt: ArrayAccess f\u00fcr Antworten. Taylor Otwell hat ArrayAccess f\u00fcr die Klassen JsonResponse und TestResponse implementiert.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/kutia.net\/laravel-6-8-0-released-2\/\" \/>\n<meta property=\"og:site_name\" content=\"Kutia\" \/>\n<meta property=\"article:published_time\" content=\"2026-09-02T21:34:46+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/kutia.net\\\/laravel-6-8-0-released-2\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/kutia.net\\\/laravel-6-8-0-released-2\\\/\"},\"author\":{\"name\":\"\",\"@id\":\"\"},\"headline\":\"Laravel 6.8.0 ver\u00f6ffentlicht\",\"datePublished\":\"2026-09-02T21:34:46+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/kutia.net\\\/laravel-6-8-0-released-2\\\/\"},\"wordCount\":2,\"image\":{\"@id\":\"https:\\\/\\\/kutia.net\\\/laravel-6-8-0-released-2\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/kutia.net\\\/wp-content\\\/uploads\\\/2020\\\/01\\\/laravel6-1.webp\",\"articleSection\":[\"Unkategorisiert\"],\"inLanguage\":\"de-DE\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/kutia.net\\\/laravel-6-8-0-released-2\\\/\",\"url\":\"https:\\\/\\\/kutia.net\\\/laravel-6-8-0-released-2\\\/\",\"name\":\"Laravel 6.8.0 Released - Kutia\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/kutia.net\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/kutia.net\\\/laravel-6-8-0-released-2\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/kutia.net\\\/laravel-6-8-0-released-2\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/kutia.net\\\/wp-content\\\/uploads\\\/2020\\\/01\\\/laravel6-1.webp\",\"datePublished\":\"2026-09-02T21:34:46+00:00\",\"author\":{\"@id\":\"\"},\"inLanguage\":\"de-DE\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/kutia.net\\\/laravel-6-8-0-released-2\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"de-DE\",\"@id\":\"https:\\\/\\\/kutia.net\\\/laravel-6-8-0-released-2\\\/#primaryimage\",\"url\":\"https:\\\/\\\/kutia.net\\\/wp-content\\\/uploads\\\/2020\\\/01\\\/laravel6-1.webp\",\"contentUrl\":\"https:\\\/\\\/kutia.net\\\/wp-content\\\/uploads\\\/2020\\\/01\\\/laravel6-1.webp\",\"width\":2200,\"height\":1125,\"caption\":\"laravel 6 official banner\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/kutia.net\\\/#website\",\"url\":\"https:\\\/\\\/kutia.net\\\/\",\"name\":\"Kutia\",\"description\":\"Custom software, team augmentation, IT recruitment\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/kutia.net\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"de-DE\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Laravel 6.8.0 Released - Kutia","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":"https:\/\/kutia.net\/laravel-6-8-0-released-2\/","og_locale":"de_DE","og_type":"article","og_title":"Laravel 6.8.0 Released - Kutia","og_description":"Das Laravel-Team hat diese Woche eine Nebenversion v6.8.0 ver\u00f6ffentlicht, die n\u00fctzliche Testantwortaktualisierungen sowie die neuesten Funktionen, \u00c4nderungen und Korrekturen f\u00fcr Laravel 6.x hinzuf\u00fcgt: ArrayAccess f\u00fcr Antworten. Taylor Otwell hat ArrayAccess f\u00fcr die Klassen JsonResponse und TestResponse implementiert.","og_url":"https:\/\/kutia.net\/laravel-6-8-0-released-2\/","og_site_name":"Kutia","article_published_time":"2026-09-02T21:34:46+00:00","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/kutia.net\/laravel-6-8-0-released-2\/#article","isPartOf":{"@id":"https:\/\/kutia.net\/laravel-6-8-0-released-2\/"},"author":{"name":"","@id":""},"headline":"Laravel 6.8.0 ver\u00f6ffentlicht","datePublished":"2026-09-02T21:34:46+00:00","mainEntityOfPage":{"@id":"https:\/\/kutia.net\/laravel-6-8-0-released-2\/"},"wordCount":2,"image":{"@id":"https:\/\/kutia.net\/laravel-6-8-0-released-2\/#primaryimage"},"thumbnailUrl":"https:\/\/kutia.net\/wp-content\/uploads\/2020\/01\/laravel6-1.webp","articleSection":["Unkategorisiert"],"inLanguage":"de-DE"},{"@type":"WebPage","@id":"https:\/\/kutia.net\/laravel-6-8-0-released-2\/","url":"https:\/\/kutia.net\/laravel-6-8-0-released-2\/","name":"Laravel 6.8.0 Released - Kutia","isPartOf":{"@id":"https:\/\/kutia.net\/#website"},"primaryImageOfPage":{"@id":"https:\/\/kutia.net\/laravel-6-8-0-released-2\/#primaryimage"},"image":{"@id":"https:\/\/kutia.net\/laravel-6-8-0-released-2\/#primaryimage"},"thumbnailUrl":"https:\/\/kutia.net\/wp-content\/uploads\/2020\/01\/laravel6-1.webp","datePublished":"2026-09-02T21:34:46+00:00","author":{"@id":""},"inLanguage":"de-DE","potentialAction":[{"@type":"ReadAction","target":["https:\/\/kutia.net\/laravel-6-8-0-released-2\/"]}]},{"@type":"ImageObject","inLanguage":"de-DE","@id":"https:\/\/kutia.net\/laravel-6-8-0-released-2\/#primaryimage","url":"https:\/\/kutia.net\/wp-content\/uploads\/2020\/01\/laravel6-1.webp","contentUrl":"https:\/\/kutia.net\/wp-content\/uploads\/2020\/01\/laravel6-1.webp","width":2200,"height":1125,"caption":"laravel 6 official banner"},{"@type":"WebSite","@id":"https:\/\/kutia.net\/#website","url":"https:\/\/kutia.net\/","name":"Kutia","description":"Custom software, team augmentation, IT recruitment","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/kutia.net\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"de-DE"}]}},"_links":{"self":[{"href":"https:\/\/kutia.net\/de\/wp-json\/wp\/v2\/posts\/8355","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kutia.net\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kutia.net\/de\/wp-json\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/kutia.net\/de\/wp-json\/wp\/v2\/comments?post=8355"}],"version-history":[{"count":0,"href":"https:\/\/kutia.net\/de\/wp-json\/wp\/v2\/posts\/8355\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/kutia.net\/de\/wp-json\/wp\/v2\/media\/3113"}],"wp:attachment":[{"href":"https:\/\/kutia.net\/de\/wp-json\/wp\/v2\/media?parent=8355"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kutia.net\/de\/wp-json\/wp\/v2\/categories?post=8355"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kutia.net\/de\/wp-json\/wp\/v2\/tags?post=8355"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}