{"id":587,"date":"2023-12-29T09:48:19","date_gmt":"2023-12-29T09:48:19","guid":{"rendered":"https:\/\/www.cmsgalaxy.com\/blog\/?p=587"},"modified":"2023-12-29T09:48:21","modified_gmt":"2023-12-29T09:48:21","slug":"installing-laravel-breeze-to-a-fresh-laravel-project","status":"publish","type":"post","link":"https:\/\/www.cmsgalaxy.com\/blog\/installing-laravel-breeze-to-a-fresh-laravel-project\/","title":{"rendered":"Installing Laravel Breeze to a Fresh Laravel Project"},"content":{"rendered":"\n<p>Step&#8217;s<\/p>\n\n\n\n<p>Step 1 :- First create a new Laravel application<\/p>\n\n\n\n<p>Step 2 :- configure your database<\/p>\n\n\n\n<p>Step 3 :- run\u00a0database migrations<\/p>\n\n\n\n<p>Step 4 :- install Laravel Breeze with the following command :-<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>composer require laravel\/breeze --dev<\/code><\/pre>\n\n\n\n<p>we will use Blade which is the default templating engine for Laravel. To start the scaffolding run these commands:-<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>php artisan breeze:install blade \n\nphp artisan migrate \nnpm install \nnpm run dev<\/code><\/pre>\n\n\n\n<p>Run the App<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>php artisan serve<\/code><\/pre>\n\n\n\n<p>You can now navigate to the login and register URL.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>http:&#47;&#47;localhost:8000\/login\n\nhttp:\/\/localhost:8000\/register<\/code><\/pre>\n\n\n\n<p><strong>Result :-<\/strong> This is register page<\/p>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"512\" data-id=\"590\" src=\"https:\/\/www.cmsgalaxy.com\/blog\/wp-content\/uploads\/2023\/12\/laravel_breeze_register-1024x512.png\" alt=\"\" class=\"wp-image-590\" srcset=\"https:\/\/www.cmsgalaxy.com\/blog\/wp-content\/uploads\/2023\/12\/laravel_breeze_register-1024x512.png 1024w, https:\/\/www.cmsgalaxy.com\/blog\/wp-content\/uploads\/2023\/12\/laravel_breeze_register-300x150.png 300w, https:\/\/www.cmsgalaxy.com\/blog\/wp-content\/uploads\/2023\/12\/laravel_breeze_register-768x384.png 768w, https:\/\/www.cmsgalaxy.com\/blog\/wp-content\/uploads\/2023\/12\/laravel_breeze_register.png 1119w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/figure>\n\n\n\n<p><strong>Result :-<\/strong> This is Log in page<\/p>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-2 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"559\" height=\"453\" data-id=\"591\" src=\"https:\/\/www.cmsgalaxy.com\/blog\/wp-content\/uploads\/2023\/12\/laravel_breeze_login.png\" alt=\"\" class=\"wp-image-591\" srcset=\"https:\/\/www.cmsgalaxy.com\/blog\/wp-content\/uploads\/2023\/12\/laravel_breeze_login.png 559w, https:\/\/www.cmsgalaxy.com\/blog\/wp-content\/uploads\/2023\/12\/laravel_breeze_login-300x243.png 300w\" sizes=\"auto, (max-width: 559px) 100vw, 559px\" \/><\/figure>\n<\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Step&#8217;s Step 1 :- First create a new Laravel application Step 2 :- configure your database Step 3 :- run\u00a0database<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-587","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.cmsgalaxy.com\/blog\/wp-json\/wp\/v2\/posts\/587","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.cmsgalaxy.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.cmsgalaxy.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.cmsgalaxy.com\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cmsgalaxy.com\/blog\/wp-json\/wp\/v2\/comments?post=587"}],"version-history":[{"count":2,"href":"https:\/\/www.cmsgalaxy.com\/blog\/wp-json\/wp\/v2\/posts\/587\/revisions"}],"predecessor-version":[{"id":592,"href":"https:\/\/www.cmsgalaxy.com\/blog\/wp-json\/wp\/v2\/posts\/587\/revisions\/592"}],"wp:attachment":[{"href":"https:\/\/www.cmsgalaxy.com\/blog\/wp-json\/wp\/v2\/media?parent=587"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.cmsgalaxy.com\/blog\/wp-json\/wp\/v2\/categories?post=587"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.cmsgalaxy.com\/blog\/wp-json\/wp\/v2\/tags?post=587"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}