{"id":5440,"date":"2021-03-06T09:47:10","date_gmt":"2021-03-06T09:47:10","guid":{"rendered":"http:\/\/www.scmgalaxy.com\/tutorials\/?p=5440"},"modified":"2021-03-06T09:47:10","modified_gmt":"2021-03-06T09:47:10","slug":"brief-description-about-laravel-app-directory","status":"publish","type":"post","link":"https:\/\/www.scmgalaxy.com\/tutorials\/brief-description-about-laravel-app-directory\/","title":{"rendered":"Brief Description about Laravel App directory"},"content":{"rendered":"\n<h1 class=\"wp-block-heading\">Laravel App Directory<\/h1>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>The app directory has the base code for the application. The app directory contains variety of&nbsp; directories like console,Http,providers etc. These directories are created by the make artisan command which we use to generate classes.<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>The directories inside app directory are:-<\/em><\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>1.Broadcasting Directory<\/em><\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>2.Console Directory<\/em><\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>3.Events Directory<\/em><\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>4.Exception Directory<\/em><\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>5.Http Directory<\/em><\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>6.Jobs Directory<\/em><\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>7.Listners Directory<\/em><\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>8.Mail Directory<\/em><\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>9.Notification Directory<\/em><\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>10.Policies Directory<\/em><\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>11.Providers Directory<\/em><\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>12.Rules Directory<\/em><\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>1.Broadcasting Directory:- <\/em><\/strong><em>All the broadcasting channels are stored in broadcasting Director. These channels are generated by <strong>make:model<\/strong> command. This directory doesn\u2019t exist by default. It will be created when we create our first channel.<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>2.Console Directory:- <\/em><\/strong><em>The console directory contains all of the project artisian commands for the application. These commands are generated by using <strong>make:command<\/strong> command. This directory is also house for krenal.php where custom artisian commands are registered and tasks are defined.<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>3.Events Directory:-<\/em><\/strong><em>The event directory holds the events files that the laravel application may pop up. This directory doesn\u2019t exist by default, but will be created by <strong>event:generate<\/strong> and <strong>make:event<\/strong> Artisian commands.<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>4.Exception Directory:-<\/em><\/strong><em>This directory holds all the exception handling files. The exception thrown by the application is stored in this directory. We can customize how the exceptions are logged or rendered by modifying the handler class in the directory.<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>5.Http directory<\/em><\/strong><em>:- This directory contains controllers,middlewares, and form requests. All of the logic to handle requests entering your application will be placed in this directory.<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>6.Jobs Directory:- <\/em><\/strong><em>This directory doesn\u2019t exist by default. It will created by make:job Artisan command.<\/em> <em>The job directory holds all lineup jobs in this directory.<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>&nbsp;7.Listners Directory:-<\/em><\/strong><em> This directory doesn\u2019t exist by default. It will created by <strong>event:generate<\/strong> or <strong>make:listeners<\/strong> Artisan command. This directory contains the classes that handle your events.<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>8.Mail Directory:- :-<\/em><\/strong><em> This directory doesn\u2019t exist by default. It will created by <strong>make:mail<\/strong> Artisan command.This directory holds all the emails send by th e laravel project.<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>9.Notification Directory:-<\/em><\/strong><em> This directory doesn\u2019t exist by default. It will created by <strong>make:notification <\/strong>Artisian command.This directory conatins all of the transactional notification that are sent by your application.<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>10.Policies Directory:-<\/em><\/strong><em> This directory doesn\u2019t exist by default. It will created by <strong>make:policy <\/strong>Artisian command. This directory holds the different policies of your laravel project.<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>11.Providers Directory<\/em><\/strong><em>:- This directory is used for containing containing different service providers.<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>12.Rules Directory:-<\/em><\/strong><em> This directory doesn\u2019t exist by default. It will created by <strong>make:rule <\/strong>Artisian command.<\/em> <em>The\u00a0rules\u00a0directory contains the custom validation rule objects for your application. Rules are used to encapsulate complicated validation logic in a simple object.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Laravel App Directory The app directory has the base code for the application. The app directory contains variety of&nbsp; directories [&hellip;]<\/p>\n","protected":false},"author":19,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[1],"tags":[],"class_list":["post-5440","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Brief Description about Laravel App directory - scmGalaxy<\/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:\/\/www.scmgalaxy.com\/tutorials\/brief-description-about-laravel-app-directory\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Brief Description about Laravel App directory - scmGalaxy\" \/>\n<meta property=\"og:description\" content=\"Laravel App Directory The app directory has the base code for the application. The app directory contains variety of&nbsp; directories [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.scmgalaxy.com\/tutorials\/brief-description-about-laravel-app-directory\/\" \/>\n<meta property=\"og:site_name\" content=\"scmGalaxy\" \/>\n<meta property=\"article:published_time\" content=\"2021-03-06T09:47:10+00:00\" \/>\n<meta name=\"author\" content=\"shashank K\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"shashank K\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/brief-description-about-laravel-app-directory\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/brief-description-about-laravel-app-directory\\\/\"},\"author\":{\"name\":\"shashank K\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/c88b513657ea9e9a6cd8a9b3a3bff6f3\"},\"headline\":\"Brief Description about Laravel App directory\",\"datePublished\":\"2021-03-06T09:47:10+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/brief-description-about-laravel-app-directory\\\/\"},\"wordCount\":466,\"commentCount\":0,\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/brief-description-about-laravel-app-directory\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/brief-description-about-laravel-app-directory\\\/\",\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/brief-description-about-laravel-app-directory\\\/\",\"name\":\"Brief Description about Laravel App directory - scmGalaxy\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#website\"},\"datePublished\":\"2021-03-06T09:47:10+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/c88b513657ea9e9a6cd8a9b3a3bff6f3\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/brief-description-about-laravel-app-directory\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/brief-description-about-laravel-app-directory\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/brief-description-about-laravel-app-directory\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Brief Description about Laravel App directory\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#website\",\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/\",\"name\":\"scmGalaxy\",\"description\":\"A Platform for Software Engineers\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/c88b513657ea9e9a6cd8a9b3a3bff6f3\",\"name\":\"shashank K\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/a1d7da7c43d650339f6ab219ed52f462ee8ce994ce0d45b50c0700eead0676a4?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/a1d7da7c43d650339f6ab219ed52f462ee8ce994ce0d45b50c0700eead0676a4?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/a1d7da7c43d650339f6ab219ed52f462ee8ce994ce0d45b50c0700eead0676a4?s=96&d=mm&r=g\",\"caption\":\"shashank K\"},\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/author\\\/shashank\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Brief Description about Laravel App directory - scmGalaxy","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:\/\/www.scmgalaxy.com\/tutorials\/brief-description-about-laravel-app-directory\/","og_locale":"en_US","og_type":"article","og_title":"Brief Description about Laravel App directory - scmGalaxy","og_description":"Laravel App Directory The app directory has the base code for the application. The app directory contains variety of&nbsp; directories [&hellip;]","og_url":"https:\/\/www.scmgalaxy.com\/tutorials\/brief-description-about-laravel-app-directory\/","og_site_name":"scmGalaxy","article_published_time":"2021-03-06T09:47:10+00:00","author":"shashank K","twitter_card":"summary_large_image","twitter_misc":{"Written by":"shashank K","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/brief-description-about-laravel-app-directory\/#article","isPartOf":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/brief-description-about-laravel-app-directory\/"},"author":{"name":"shashank K","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/c88b513657ea9e9a6cd8a9b3a3bff6f3"},"headline":"Brief Description about Laravel App directory","datePublished":"2021-03-06T09:47:10+00:00","mainEntityOfPage":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/brief-description-about-laravel-app-directory\/"},"wordCount":466,"commentCount":0,"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.scmgalaxy.com\/tutorials\/brief-description-about-laravel-app-directory\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/brief-description-about-laravel-app-directory\/","url":"https:\/\/www.scmgalaxy.com\/tutorials\/brief-description-about-laravel-app-directory\/","name":"Brief Description about Laravel App directory - scmGalaxy","isPartOf":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#website"},"datePublished":"2021-03-06T09:47:10+00:00","author":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/c88b513657ea9e9a6cd8a9b3a3bff6f3"},"breadcrumb":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/brief-description-about-laravel-app-directory\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.scmgalaxy.com\/tutorials\/brief-description-about-laravel-app-directory\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/brief-description-about-laravel-app-directory\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.scmgalaxy.com\/tutorials\/"},{"@type":"ListItem","position":2,"name":"Brief Description about Laravel App directory"}]},{"@type":"WebSite","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#website","url":"https:\/\/www.scmgalaxy.com\/tutorials\/","name":"scmGalaxy","description":"A Platform for Software Engineers","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.scmgalaxy.com\/tutorials\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/c88b513657ea9e9a6cd8a9b3a3bff6f3","name":"shashank K","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/a1d7da7c43d650339f6ab219ed52f462ee8ce994ce0d45b50c0700eead0676a4?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/a1d7da7c43d650339f6ab219ed52f462ee8ce994ce0d45b50c0700eead0676a4?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/a1d7da7c43d650339f6ab219ed52f462ee8ce994ce0d45b50c0700eead0676a4?s=96&d=mm&r=g","caption":"shashank K"},"url":"https:\/\/www.scmgalaxy.com\/tutorials\/author\/shashank\/"}]}},"_links":{"self":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/5440","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/users\/19"}],"replies":[{"embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/comments?post=5440"}],"version-history":[{"count":1,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/5440\/revisions"}],"predecessor-version":[{"id":5441,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/5440\/revisions\/5441"}],"wp:attachment":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/media?parent=5440"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/categories?post=5440"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/tags?post=5440"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}