{"id":5365,"date":"2020-06-27T05:57:46","date_gmt":"2020-06-27T05:57:46","guid":{"rendered":"https:\/\/infyblog.zluck.in\/?p=5365"},"modified":"2024-08-09T06:01:55","modified_gmt":"2024-08-09T06:01:55","slug":"how-to-use-adminlte-theme-with-laravel-fortify","status":"publish","type":"post","link":"https:\/\/infyom.com\/blog\/how-to-use-adminlte-theme-with-laravel-fortify\/","title":{"rendered":"How to use AdminLTE theme with Laravel Fortify"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"5365\" class=\"elementor elementor-5365\" data-elementor-post-type=\"post\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-a67201c elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"a67201c\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-a32f714\" data-id=\"a32f714\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\n\t\t<div class=\"elementor-element elementor-element-3044c1c elementor-widget elementor-widget-text-editor\" data-id=\"3044c1c\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>Recently, the Laravel team announced a <a href=\"https:\/\/github.com\/laravel\/fortify\">Laravel Fortify<\/a>. A framework agnostic authentication backend for Laravel applications. It provides registration, authentication along with two-factor authentication.<\/p><p>As said above, it is framework agnostic, so it doesn&#8217;t provide any blade views with it. You can implement views of your choice of the frontend. Blade, Vue, React with Bootstrap or TailwindCSS, or any other CSS framework.<\/p><p>Today we are going to see how we can use Laravel Fortify with one of the most popular Bootstrap 4 theme<a href=\"https:\/\/adminlte.io\/themes\/v3\/\"> AdminLTE v3.<\/a><\/p><p>We can actually do that in minutes with the package that we already developed called Laravel UI AdminLTE<\/p><p>This package also works with the previous laravel version to have an authentication system with <a href=\"https:\/\/github.com\/laravel\/ui\">Laravel UI<\/a> for<a href=\"https:\/\/laravel.com\/docs\/7.x\/frontend\"> Laravel Frontend Scaffolding.<\/a><\/p><p>Let&#8217;s see step by step, how we can do that.<\/p><h2>Install Packages<\/h2><p>Install Laravel Fortify and Laravel UI AdminLTE by the following command,<\/p><p>composer require laravel\/fortify infyomlabs\/laravel-ui-adminlte<\/p><h2>Publish Fortify Resources<\/h2><p>This command will publish all required actions in the app\/Actions directory along with the Fortify configuration file and migration for two-factor authentication.<\/p><p>php artisan vendor:publish &#8211;provider=&#8221;Laravel\\Fortify\\FortifyServiceProvider&#8221;<\/p><h2>Run Migrations<\/h2><p>Then run migrations,<\/p><p>php artisan migrate<\/p><h2>Add Fortify Service Provider<\/h2><p>Next step, add published FortifyServiceProvider to config\/app.php<\/p><h2>Run AdminLTE Fortify Command<\/h2><p>Run the following command,<\/p><p>php artisan ui adminlte-fortify &#8211;auth<\/p><h2>Install Node Modules and Run a Build<\/h2><p>As a next step, install required npm modules and run a build,<\/p><p>npm install &amp;&amp; npm run dev<\/p><p>And we are done. Now visit the home page and you should be able to see the full authentication system working including,<\/p><p>Login Registration Forgot Password Reset Password Home page<\/p><p>Laravel AdminLTE UI also provides a starting layout with a sidebar menu and header once you login. so you are all set to go.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t\n    <div class=\"xs_social_share_widget xs_share_url after_content \t\tmain_content  wslu-style-1 wslu-share-box-shaped wslu-fill-colored wslu-none wslu-share-horizontal wslu-theme-font-no wslu-main_content\">\n\n\t\t\n        <ul>\n\t\t\t        <\/ul>\n    <\/div> \n","protected":false},"excerpt":{"rendered":"<p>How to integrate and use Laravel Fortify with AdminLTE theme with package infyomlabs laravel ui&#8230;<\/p>\n","protected":false},"author":2,"featured_media":5368,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"postBodyCss":"","postBodyMargin":[],"postBodyPadding":[],"postBodyBackground":{"backgroundType":"classic","gradient":""},"two_page_speed":[],"footnotes":""},"categories":[9],"tags":[167,168,121],"class_list":["post-5365","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-laravel","tag-adminlte","tag-laravel-fortify","tag-packages"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to use AdminLTE theme with Laravel Fortify<\/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:\/\/infyom.com\/blog\/how-to-use-adminlte-theme-with-laravel-fortify\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to use AdminLTE theme with Laravel Fortify\" \/>\n<meta property=\"og:description\" content=\"How to integrate and use Laravel Fortify with AdminLTE theme with package infyomlabs laravel ui...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/infyom.com\/blog\/how-to-use-adminlte-theme-with-laravel-fortify\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog | InfyOm Technologies\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/infyom\" \/>\n<meta property=\"article:published_time\" content=\"2020-06-27T05:57:46+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-08-09T06:01:55+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/infyom.com\/blog\/wp-content\/uploads\/2024\/08\/adminlte-laravel-fortify-1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"772\" \/>\n\t<meta property=\"og:image:height\" content=\"484\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"InfyOm\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@InfyOm\" \/>\n<meta name=\"twitter:site\" content=\"@InfyOm\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"InfyOm\" \/>\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\":\"https:\/\/infyom.com\/blog\/how-to-use-adminlte-theme-with-laravel-fortify\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/infyom.com\/blog\/how-to-use-adminlte-theme-with-laravel-fortify\/\"},\"author\":{\"name\":\"InfyOm\",\"@id\":\"https:\/\/infyom.com\/blog\/#\/schema\/person\/659bfc844c333d041221e83c5f5ec754\"},\"headline\":\"How to use AdminLTE theme with Laravel Fortify\",\"datePublished\":\"2020-06-27T05:57:46+00:00\",\"dateModified\":\"2024-08-09T06:01:55+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/infyom.com\/blog\/how-to-use-adminlte-theme-with-laravel-fortify\/\"},\"wordCount\":308,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/infyom.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/infyom.com\/blog\/how-to-use-adminlte-theme-with-laravel-fortify\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/infyom.com\/blog\/wp-content\/uploads\/2024\/08\/adminlte-laravel-fortify-1.png\",\"keywords\":[\"AdminLTE\",\"Laravel Fortify\",\"Packages\"],\"articleSection\":[\"Laravel\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/infyom.com\/blog\/how-to-use-adminlte-theme-with-laravel-fortify\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/infyom.com\/blog\/how-to-use-adminlte-theme-with-laravel-fortify\/\",\"url\":\"https:\/\/infyom.com\/blog\/how-to-use-adminlte-theme-with-laravel-fortify\/\",\"name\":\"How to use AdminLTE theme with Laravel Fortify\",\"isPartOf\":{\"@id\":\"https:\/\/infyom.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/infyom.com\/blog\/how-to-use-adminlte-theme-with-laravel-fortify\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/infyom.com\/blog\/how-to-use-adminlte-theme-with-laravel-fortify\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/infyom.com\/blog\/wp-content\/uploads\/2024\/08\/adminlte-laravel-fortify-1.png\",\"datePublished\":\"2020-06-27T05:57:46+00:00\",\"dateModified\":\"2024-08-09T06:01:55+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/infyom.com\/blog\/how-to-use-adminlte-theme-with-laravel-fortify\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/infyom.com\/blog\/how-to-use-adminlte-theme-with-laravel-fortify\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/infyom.com\/blog\/how-to-use-adminlte-theme-with-laravel-fortify\/#primaryimage\",\"url\":\"https:\/\/infyom.com\/blog\/wp-content\/uploads\/2024\/08\/adminlte-laravel-fortify-1.png\",\"contentUrl\":\"https:\/\/infyom.com\/blog\/wp-content\/uploads\/2024\/08\/adminlte-laravel-fortify-1.png\",\"width\":772,\"height\":484,\"caption\":\"How to use AdminLTE theme with Laravel Fortify\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/infyom.com\/blog\/how-to-use-adminlte-theme-with-laravel-fortify\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/infyom.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to use AdminLTE theme with Laravel Fortify\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/infyom.com\/blog\/#website\",\"url\":\"https:\/\/infyom.com\/blog\/\",\"name\":\"Blog | InfyOm Technologies\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/infyom.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/infyom.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/infyom.com\/blog\/#organization\",\"name\":\"InfyOm Technologies\",\"url\":\"https:\/\/infyom.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/infyom.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/infyom.com\/blog\/wp-content\/uploads\/2024\/06\/InfyOm-Logo.png\",\"contentUrl\":\"https:\/\/infyom.com\/blog\/wp-content\/uploads\/2024\/06\/InfyOm-Logo.png\",\"width\":88,\"height\":41,\"caption\":\"InfyOm Technologies\"},\"image\":{\"@id\":\"https:\/\/infyom.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/infyom\",\"https:\/\/x.com\/InfyOm\",\"https:\/\/www.instagram.com\/infyomtechnologies\/\",\"https:\/\/in.linkedin.com\/company\/infyom-technologies\",\"https:\/\/github.com\/infyomlabs\",\"https:\/\/x.com\/infyom\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/infyom.com\/blog\/#\/schema\/person\/659bfc844c333d041221e83c5f5ec754\",\"name\":\"InfyOm\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/infyom.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/1ad162864d8d33c04ea9e6d0333cc483?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/1ad162864d8d33c04ea9e6d0333cc483?s=96&d=mm&r=g\",\"caption\":\"InfyOm\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to use AdminLTE theme with Laravel Fortify","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:\/\/infyom.com\/blog\/how-to-use-adminlte-theme-with-laravel-fortify\/","og_locale":"en_US","og_type":"article","og_title":"How to use AdminLTE theme with Laravel Fortify","og_description":"How to integrate and use Laravel Fortify with AdminLTE theme with package infyomlabs laravel ui...","og_url":"https:\/\/infyom.com\/blog\/how-to-use-adminlte-theme-with-laravel-fortify\/","og_site_name":"Blog | InfyOm Technologies","article_publisher":"https:\/\/www.facebook.com\/infyom","article_published_time":"2020-06-27T05:57:46+00:00","article_modified_time":"2024-08-09T06:01:55+00:00","og_image":[{"width":772,"height":484,"url":"https:\/\/infyom.com\/blog\/wp-content\/uploads\/2024\/08\/adminlte-laravel-fortify-1.png","type":"image\/png"}],"author":"InfyOm","twitter_card":"summary_large_image","twitter_creator":"@InfyOm","twitter_site":"@InfyOm","twitter_misc":{"Written by":"InfyOm","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/infyom.com\/blog\/how-to-use-adminlte-theme-with-laravel-fortify\/#article","isPartOf":{"@id":"https:\/\/infyom.com\/blog\/how-to-use-adminlte-theme-with-laravel-fortify\/"},"author":{"name":"InfyOm","@id":"https:\/\/infyom.com\/blog\/#\/schema\/person\/659bfc844c333d041221e83c5f5ec754"},"headline":"How to use AdminLTE theme with Laravel Fortify","datePublished":"2020-06-27T05:57:46+00:00","dateModified":"2024-08-09T06:01:55+00:00","mainEntityOfPage":{"@id":"https:\/\/infyom.com\/blog\/how-to-use-adminlte-theme-with-laravel-fortify\/"},"wordCount":308,"commentCount":0,"publisher":{"@id":"https:\/\/infyom.com\/blog\/#organization"},"image":{"@id":"https:\/\/infyom.com\/blog\/how-to-use-adminlte-theme-with-laravel-fortify\/#primaryimage"},"thumbnailUrl":"https:\/\/infyom.com\/blog\/wp-content\/uploads\/2024\/08\/adminlte-laravel-fortify-1.png","keywords":["AdminLTE","Laravel Fortify","Packages"],"articleSection":["Laravel"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/infyom.com\/blog\/how-to-use-adminlte-theme-with-laravel-fortify\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/infyom.com\/blog\/how-to-use-adminlte-theme-with-laravel-fortify\/","url":"https:\/\/infyom.com\/blog\/how-to-use-adminlte-theme-with-laravel-fortify\/","name":"How to use AdminLTE theme with Laravel Fortify","isPartOf":{"@id":"https:\/\/infyom.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/infyom.com\/blog\/how-to-use-adminlte-theme-with-laravel-fortify\/#primaryimage"},"image":{"@id":"https:\/\/infyom.com\/blog\/how-to-use-adminlte-theme-with-laravel-fortify\/#primaryimage"},"thumbnailUrl":"https:\/\/infyom.com\/blog\/wp-content\/uploads\/2024\/08\/adminlte-laravel-fortify-1.png","datePublished":"2020-06-27T05:57:46+00:00","dateModified":"2024-08-09T06:01:55+00:00","breadcrumb":{"@id":"https:\/\/infyom.com\/blog\/how-to-use-adminlte-theme-with-laravel-fortify\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/infyom.com\/blog\/how-to-use-adminlte-theme-with-laravel-fortify\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/infyom.com\/blog\/how-to-use-adminlte-theme-with-laravel-fortify\/#primaryimage","url":"https:\/\/infyom.com\/blog\/wp-content\/uploads\/2024\/08\/adminlte-laravel-fortify-1.png","contentUrl":"https:\/\/infyom.com\/blog\/wp-content\/uploads\/2024\/08\/adminlte-laravel-fortify-1.png","width":772,"height":484,"caption":"How to use AdminLTE theme with Laravel Fortify"},{"@type":"BreadcrumbList","@id":"https:\/\/infyom.com\/blog\/how-to-use-adminlte-theme-with-laravel-fortify\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/infyom.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to use AdminLTE theme with Laravel Fortify"}]},{"@type":"WebSite","@id":"https:\/\/infyom.com\/blog\/#website","url":"https:\/\/infyom.com\/blog\/","name":"Blog | InfyOm Technologies","description":"","publisher":{"@id":"https:\/\/infyom.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/infyom.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/infyom.com\/blog\/#organization","name":"InfyOm Technologies","url":"https:\/\/infyom.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/infyom.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/infyom.com\/blog\/wp-content\/uploads\/2024\/06\/InfyOm-Logo.png","contentUrl":"https:\/\/infyom.com\/blog\/wp-content\/uploads\/2024\/06\/InfyOm-Logo.png","width":88,"height":41,"caption":"InfyOm Technologies"},"image":{"@id":"https:\/\/infyom.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/infyom","https:\/\/x.com\/InfyOm","https:\/\/www.instagram.com\/infyomtechnologies\/","https:\/\/in.linkedin.com\/company\/infyom-technologies","https:\/\/github.com\/infyomlabs","https:\/\/x.com\/infyom"]},{"@type":"Person","@id":"https:\/\/infyom.com\/blog\/#\/schema\/person\/659bfc844c333d041221e83c5f5ec754","name":"InfyOm","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/infyom.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/1ad162864d8d33c04ea9e6d0333cc483?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/1ad162864d8d33c04ea9e6d0333cc483?s=96&d=mm&r=g","caption":"InfyOm"}}]}},"_links":{"self":[{"href":"https:\/\/infyom.com\/blog\/wp-json\/wp\/v2\/posts\/5365","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/infyom.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/infyom.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/infyom.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/infyom.com\/blog\/wp-json\/wp\/v2\/comments?post=5365"}],"version-history":[{"count":17,"href":"https:\/\/infyom.com\/blog\/wp-json\/wp\/v2\/posts\/5365\/revisions"}],"predecessor-version":[{"id":5506,"href":"https:\/\/infyom.com\/blog\/wp-json\/wp\/v2\/posts\/5365\/revisions\/5506"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/infyom.com\/blog\/wp-json\/wp\/v2\/media\/5368"}],"wp:attachment":[{"href":"https:\/\/infyom.com\/blog\/wp-json\/wp\/v2\/media?parent=5365"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/infyom.com\/blog\/wp-json\/wp\/v2\/categories?post=5365"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/infyom.com\/blog\/wp-json\/wp\/v2\/tags?post=5365"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}