{"id":13019,"date":"2023-02-10T03:01:05","date_gmt":"2023-02-10T08:01:05","guid":{"rendered":"http:\/\/local.brightwhiz\/?p=13019"},"modified":"2023-02-10T03:01:09","modified_gmt":"2023-02-10T08:01:09","slug":"laravel-9-51-release-available","status":"publish","type":"post","link":"http:\/\/local.brightwhiz\/laravel-9-51-release-available\/","title":{"rendered":"Laravel 9.51 Release With Database Query Count Expectation"},"content":{"rendered":"\n

Laravel 9.51 release is now available with a host of new features covering database, URI templates, Laravel Sail and more.<\/p>\n\n\n\n

A new DatabaseTruncation<\/code> trait that will migrate your database<\/a> and then truncate your tables to speed up rerunning database migrations has been added by Patrick O’Meara. A test expectation for database query count that ensures code doesn’t inadvertently introduce new database queries has been introduced by Tim MacDonald who has also contributed a pending builder for has-one-through and has-many-through relationships.<\/p>\n\n\n\n

A sail:add command that users can use to add new services to an existing Sail installation is now available courtesy of Tony Messias. HTTP client URI templates that use guzzlehttp\/uri-templates<\/code> under the hood has been contributed by James Brooks.<\/p>\n\n\n\n

More details about this release can be retrieved from the official Laravel 9.51 Release changelog here<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"

Laravel 9.51 release is now available with a host of new features covering database, URI templates, Laravel Sail and more. A new DatabaseTruncation trait that will migrate your database and…<\/p>\n","protected":false},"author":1,"featured_media":13020,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[25,13,28,16,18],"tags":[344,424,433,452,471,591,635,636,638],"yoast_head":"\nLaravel 9.51 Release With Database Query Count Expectation<\/title>\n<meta name=\"description\" content=\"Laravel 9.51 release is now available with a host of new features covering database, URI templates, Laravel Sail and more\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/local.brightwhiz\/laravel-9-51-release-available\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Laravel 9.51 Release With Database Query Count Expectation\" \/>\n<meta property=\"og:description\" content=\"Laravel 9.51 release is now available with a host of new features covering database, URI templates, Laravel Sail and more\" \/>\n<meta property=\"og:url\" content=\"http:\/\/local.brightwhiz\/laravel-9-51-release-available\/\" \/>\n<meta property=\"og:site_name\" content=\"Brightwhiz.com\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/brightwhiz\/\" \/>\n<meta property=\"article:published_time\" content=\"2023-02-10T08:01:05+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-02-10T08:01:09+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/local.brightwhiz\/wp-content\/uploads\/2023\/02\/Laravel-9.51-release.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1280\" \/>\n\t<meta property=\"og:image:height\" content=\"680\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Michael Bright\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@brightwhizmag\" \/>\n<meta name=\"twitter:site\" content=\"@brightwhizmag\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Michael Bright\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"http:\/\/local.brightwhiz\/laravel-9-51-release-available\/#article\",\"isPartOf\":{\"@id\":\"http:\/\/local.brightwhiz\/laravel-9-51-release-available\/\"},\"author\":{\"name\":\"Michael Bright\",\"@id\":\"http:\/\/local.brightwhiz\/#\/schema\/person\/81f0f3126f13834ae2e7f381b3028e32\"},\"headline\":\"Laravel 9.51 Release With Database Query Count Expectation\",\"datePublished\":\"2023-02-10T08:01:05+00:00\",\"dateModified\":\"2023-02-10T08:01:09+00:00\",\"mainEntityOfPage\":{\"@id\":\"http:\/\/local.brightwhiz\/laravel-9-51-release-available\/\"},\"wordCount\":141,\"commentCount\":0,\"publisher\":{\"@id\":\"http:\/\/local.brightwhiz\/#organization\"},\"image\":{\"@id\":\"http:\/\/local.brightwhiz\/laravel-9-51-release-available\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/local.brightwhiz\/wp-content\/uploads\/2023\/02\/Laravel-9.51-release.jpg\",\"keywords\":[\"Laravel\",\"Open Source\",\"Optimization\",\"PHP\",\"Programming\",\"Tools\",\"Web\",\"Web Applications\",\"Web Development\"],\"articleSection\":[\"Libraries\",\"News\",\"Software\",\"Technology\",\"Tools\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"http:\/\/local.brightwhiz\/laravel-9-51-release-available\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"http:\/\/local.brightwhiz\/laravel-9-51-release-available\/\",\"url\":\"http:\/\/local.brightwhiz\/laravel-9-51-release-available\/\",\"name\":\"Laravel 9.51 Release With Database Query Count Expectation\",\"isPartOf\":{\"@id\":\"http:\/\/local.brightwhiz\/#website\"},\"primaryImageOfPage\":{\"@id\":\"http:\/\/local.brightwhiz\/laravel-9-51-release-available\/#primaryimage\"},\"image\":{\"@id\":\"http:\/\/local.brightwhiz\/laravel-9-51-release-available\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/local.brightwhiz\/wp-content\/uploads\/2023\/02\/Laravel-9.51-release.jpg\",\"datePublished\":\"2023-02-10T08:01:05+00:00\",\"dateModified\":\"2023-02-10T08:01:09+00:00\",\"description\":\"Laravel 9.51 release is now available with a host of new features covering database, URI templates, Laravel Sail and more\",\"breadcrumb\":{\"@id\":\"http:\/\/local.brightwhiz\/laravel-9-51-release-available\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\/\/local.brightwhiz\/laravel-9-51-release-available\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\/\/local.brightwhiz\/laravel-9-51-release-available\/#primaryimage\",\"url\":\"http:\/\/local.brightwhiz\/wp-content\/uploads\/2023\/02\/Laravel-9.51-release.jpg\",\"contentUrl\":\"http:\/\/local.brightwhiz\/wp-content\/uploads\/2023\/02\/Laravel-9.51-release.jpg\",\"width\":1280,\"height\":680,\"caption\":\"Laravel 9.51 Release\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\/\/local.brightwhiz\/laravel-9-51-release-available\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"http:\/\/local.brightwhiz\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Laravel 9.51 Release With Database Query Count Expectation\"}]},{\"@type\":\"WebSite\",\"@id\":\"http:\/\/local.brightwhiz\/#website\",\"url\":\"http:\/\/local.brightwhiz\/\",\"name\":\"Brightwhiz.com\",\"description\":\"Best Tech guides, Tutorials, and News\",\"publisher\":{\"@id\":\"http:\/\/local.brightwhiz\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\/\/local.brightwhiz\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"http:\/\/local.brightwhiz\/#organization\",\"name\":\"Brightwhiz\",\"url\":\"http:\/\/local.brightwhiz\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\/\/local.brightwhiz\/#\/schema\/logo\/image\/\",\"url\":\"http:\/\/local.brightwhiz\/wp-content\/uploads\/2021\/11\/brightwhiz-com-logo-orange.png\",\"contentUrl\":\"http:\/\/local.brightwhiz\/wp-content\/uploads\/2021\/11\/brightwhiz-com-logo-orange.png\",\"width\":706,\"height\":135,\"caption\":\"Brightwhiz\"},\"image\":{\"@id\":\"http:\/\/local.brightwhiz\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/brightwhiz\/\",\"https:\/\/x.com\/brightwhizmag\",\"https:\/\/instagram.com\/bright_whiz\/\",\"https:\/\/www.pinterest.com\/sobbayi\/\",\"https:\/\/www.youtube.com\/channel\/UC6sCdP_d_RiTIM7ErFT-PSQ\"]},{\"@type\":\"Person\",\"@id\":\"http:\/\/local.brightwhiz\/#\/schema\/person\/81f0f3126f13834ae2e7f381b3028e32\",\"name\":\"Michael Bright\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\/\/local.brightwhiz\/#\/schema\/person\/image\/\",\"url\":\"http:\/\/1.gravatar.com\/avatar\/da90485875ff0aafa38fdd494abe87d1?s=96&d=mm&r=g\",\"contentUrl\":\"http:\/\/1.gravatar.com\/avatar\/da90485875ff0aafa38fdd494abe87d1?s=96&d=mm&r=g\",\"caption\":\"Michael Bright\"},\"sameAs\":[\"https:\/\/sobbayi.com\"],\"url\":\"http:\/\/local.brightwhiz\/author\/sobbayiadmin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Laravel 9.51 Release With Database Query Count Expectation","description":"Laravel 9.51 release is now available with a host of new features covering database, URI templates, Laravel Sail and more","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:\/\/local.brightwhiz\/laravel-9-51-release-available\/","og_locale":"en_US","og_type":"article","og_title":"Laravel 9.51 Release With Database Query Count Expectation","og_description":"Laravel 9.51 release is now available with a host of new features covering database, URI templates, Laravel Sail and more","og_url":"http:\/\/local.brightwhiz\/laravel-9-51-release-available\/","og_site_name":"Brightwhiz.com","article_publisher":"https:\/\/www.facebook.com\/brightwhiz\/","article_published_time":"2023-02-10T08:01:05+00:00","article_modified_time":"2023-02-10T08:01:09+00:00","og_image":[{"width":1280,"height":680,"url":"http:\/\/local.brightwhiz\/wp-content\/uploads\/2023\/02\/Laravel-9.51-release.jpg","type":"image\/jpeg"}],"author":"Michael Bright","twitter_card":"summary_large_image","twitter_creator":"@brightwhizmag","twitter_site":"@brightwhizmag","twitter_misc":{"Written by":"Michael Bright","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"http:\/\/local.brightwhiz\/laravel-9-51-release-available\/#article","isPartOf":{"@id":"http:\/\/local.brightwhiz\/laravel-9-51-release-available\/"},"author":{"name":"Michael Bright","@id":"http:\/\/local.brightwhiz\/#\/schema\/person\/81f0f3126f13834ae2e7f381b3028e32"},"headline":"Laravel 9.51 Release With Database Query Count Expectation","datePublished":"2023-02-10T08:01:05+00:00","dateModified":"2023-02-10T08:01:09+00:00","mainEntityOfPage":{"@id":"http:\/\/local.brightwhiz\/laravel-9-51-release-available\/"},"wordCount":141,"commentCount":0,"publisher":{"@id":"http:\/\/local.brightwhiz\/#organization"},"image":{"@id":"http:\/\/local.brightwhiz\/laravel-9-51-release-available\/#primaryimage"},"thumbnailUrl":"http:\/\/local.brightwhiz\/wp-content\/uploads\/2023\/02\/Laravel-9.51-release.jpg","keywords":["Laravel","Open Source","Optimization","PHP","Programming","Tools","Web","Web Applications","Web Development"],"articleSection":["Libraries","News","Software","Technology","Tools"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["http:\/\/local.brightwhiz\/laravel-9-51-release-available\/#respond"]}]},{"@type":"WebPage","@id":"http:\/\/local.brightwhiz\/laravel-9-51-release-available\/","url":"http:\/\/local.brightwhiz\/laravel-9-51-release-available\/","name":"Laravel 9.51 Release With Database Query Count Expectation","isPartOf":{"@id":"http:\/\/local.brightwhiz\/#website"},"primaryImageOfPage":{"@id":"http:\/\/local.brightwhiz\/laravel-9-51-release-available\/#primaryimage"},"image":{"@id":"http:\/\/local.brightwhiz\/laravel-9-51-release-available\/#primaryimage"},"thumbnailUrl":"http:\/\/local.brightwhiz\/wp-content\/uploads\/2023\/02\/Laravel-9.51-release.jpg","datePublished":"2023-02-10T08:01:05+00:00","dateModified":"2023-02-10T08:01:09+00:00","description":"Laravel 9.51 release is now available with a host of new features covering database, URI templates, Laravel Sail and more","breadcrumb":{"@id":"http:\/\/local.brightwhiz\/laravel-9-51-release-available\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["http:\/\/local.brightwhiz\/laravel-9-51-release-available\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/local.brightwhiz\/laravel-9-51-release-available\/#primaryimage","url":"http:\/\/local.brightwhiz\/wp-content\/uploads\/2023\/02\/Laravel-9.51-release.jpg","contentUrl":"http:\/\/local.brightwhiz\/wp-content\/uploads\/2023\/02\/Laravel-9.51-release.jpg","width":1280,"height":680,"caption":"Laravel 9.51 Release"},{"@type":"BreadcrumbList","@id":"http:\/\/local.brightwhiz\/laravel-9-51-release-available\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"http:\/\/local.brightwhiz\/"},{"@type":"ListItem","position":2,"name":"Laravel 9.51 Release With Database Query Count Expectation"}]},{"@type":"WebSite","@id":"http:\/\/local.brightwhiz\/#website","url":"http:\/\/local.brightwhiz\/","name":"Brightwhiz.com","description":"Best Tech guides, Tutorials, and News","publisher":{"@id":"http:\/\/local.brightwhiz\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/local.brightwhiz\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"http:\/\/local.brightwhiz\/#organization","name":"Brightwhiz","url":"http:\/\/local.brightwhiz\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/local.brightwhiz\/#\/schema\/logo\/image\/","url":"http:\/\/local.brightwhiz\/wp-content\/uploads\/2021\/11\/brightwhiz-com-logo-orange.png","contentUrl":"http:\/\/local.brightwhiz\/wp-content\/uploads\/2021\/11\/brightwhiz-com-logo-orange.png","width":706,"height":135,"caption":"Brightwhiz"},"image":{"@id":"http:\/\/local.brightwhiz\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/brightwhiz\/","https:\/\/x.com\/brightwhizmag","https:\/\/instagram.com\/bright_whiz\/","https:\/\/www.pinterest.com\/sobbayi\/","https:\/\/www.youtube.com\/channel\/UC6sCdP_d_RiTIM7ErFT-PSQ"]},{"@type":"Person","@id":"http:\/\/local.brightwhiz\/#\/schema\/person\/81f0f3126f13834ae2e7f381b3028e32","name":"Michael Bright","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/local.brightwhiz\/#\/schema\/person\/image\/","url":"http:\/\/1.gravatar.com\/avatar\/da90485875ff0aafa38fdd494abe87d1?s=96&d=mm&r=g","contentUrl":"http:\/\/1.gravatar.com\/avatar\/da90485875ff0aafa38fdd494abe87d1?s=96&d=mm&r=g","caption":"Michael Bright"},"sameAs":["https:\/\/sobbayi.com"],"url":"http:\/\/local.brightwhiz\/author\/sobbayiadmin\/"}]}},"_links":{"self":[{"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/posts\/13019"}],"collection":[{"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/comments?post=13019"}],"version-history":[{"count":0,"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/posts\/13019\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/media\/13020"}],"wp:attachment":[{"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/media?parent=13019"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/categories?post=13019"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/tags?post=13019"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}