{"id":670,"date":"2022-11-14T12:00:25","date_gmt":"2022-11-14T12:00:25","guid":{"rendered":"https:\/\/www.devopstrainer.in\/blog\/?p=670"},"modified":"2022-11-14T12:00:25","modified_gmt":"2022-11-14T12:00:25","slug":"what-is-mvc-architecture-composer-in-laravel","status":"publish","type":"post","link":"https:\/\/www.devopstrainer.in\/blog\/what-is-mvc-architecture-composer-in-laravel\/","title":{"rendered":"What is MVC architecture &#038; Composer in laravel?"},"content":{"rendered":"\n<p>The Laravel Framework follows\u00a0<strong>MVC architecture<\/strong>. MVC is an architectural design pattern that helps to develop web applications faster.\u00a0<strong>MVC<\/strong>\u00a0stands for\u00a0<strong>Model-View-Controller<\/strong>.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Model (M)<\/strong>\u2013A model handles data used by the web application.<\/li><li><strong>View (V)<\/strong>\u2013A view helps to display data to the user.<\/li><li><strong>Controller (C)<\/strong>\u2013A controller interacts with the model to create data for the view.<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"660\" height=\"473\" src=\"https:\/\/www.devopstrainer.in\/blog\/wp-content\/uploads\/2022\/11\/MVCFramework1-660x473-1.png\" alt=\"\" class=\"wp-image-673\" srcset=\"https:\/\/www.devopstrainer.in\/blog\/wp-content\/uploads\/2022\/11\/MVCFramework1-660x473-1.png 660w, https:\/\/www.devopstrainer.in\/blog\/wp-content\/uploads\/2022\/11\/MVCFramework1-660x473-1-300x215.png 300w\" sizes=\"auto, (max-width: 660px) 100vw, 660px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Advantages of Using MVC framework:<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>Organizing large-scale web application projects.<\/li><li>Easier to perform Modification.<\/li><li>Modification in any part won\u2019t affect any other part of the code.<\/li><li>Helps in a faster development process.<\/li><li>Helps for Asynchronous Method Invocation.<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Composer<\/h2>\n\n\n\n<p>Laravel actually uses a dependency manager tool called Composer\u00a0<strong>to install all required libraries to run Laravel<\/strong>.<\/p>\n\n\n\n<p>A Composer is a tool that incorporates all the dependencies and libraries. It helps the client to create a project with respect to its specified system and project. Third-party libraries can be installed in a project effortlessly utilizing composer.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.devopstrainer.in\/blog\/wp-content\/uploads\/2022\/11\/images-1.png\" alt=\"\" class=\"wp-image-672\" width=\"421\" height=\"399\"\/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>The Laravel Framework follows\u00a0MVC architecture. MVC is an architectural design pattern that helps to develop web applications faster.\u00a0MVC\u00a0stands for\u00a0Model-View-Controller. Model (M)\u2013A model handles data used by the web application. View&hellip;<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-670","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.0 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>What is MVC architecture &amp; Composer in laravel? - DevOps | SRE | DevSecOps<\/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.devopstrainer.in\/blog\/what-is-mvc-architecture-composer-in-laravel\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"What is MVC architecture &amp; Composer in laravel? - DevOps | SRE | DevSecOps\" \/>\n<meta property=\"og:description\" content=\"The Laravel Framework follows\u00a0MVC architecture. MVC is an architectural design pattern that helps to develop web applications faster.\u00a0MVC\u00a0stands for\u00a0Model-View-Controller. Model (M)\u2013A model handles data used by the web application. View&hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.devopstrainer.in\/blog\/what-is-mvc-architecture-composer-in-laravel\/\" \/>\n<meta property=\"og:site_name\" content=\"DevOps | SRE | DevSecOps\" \/>\n<meta property=\"article:published_time\" content=\"2022-11-14T12:00:25+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.devopstrainer.in\/blog\/wp-content\/uploads\/2022\/11\/MVCFramework1-660x473-1.png\" \/>\n<meta name=\"author\" content=\"shivam\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"shivam\" \/>\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:\/\/www.devopstrainer.in\/blog\/what-is-mvc-architecture-composer-in-laravel\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.devopstrainer.in\/blog\/what-is-mvc-architecture-composer-in-laravel\/\"},\"author\":{\"name\":\"shivam\",\"@id\":\"https:\/\/www.devopstrainer.in\/blog\/#\/schema\/person\/0c8259479972d3d18994f88df3dc8d53\"},\"headline\":\"What is MVC architecture &#038; Composer in laravel?\",\"datePublished\":\"2022-11-14T12:00:25+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.devopstrainer.in\/blog\/what-is-mvc-architecture-composer-in-laravel\/\"},\"wordCount\":161,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/www.devopstrainer.in\/blog\/what-is-mvc-architecture-composer-in-laravel\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.devopstrainer.in\/blog\/wp-content\/uploads\/2022\/11\/MVCFramework1-660x473-1.png\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.devopstrainer.in\/blog\/what-is-mvc-architecture-composer-in-laravel\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.devopstrainer.in\/blog\/what-is-mvc-architecture-composer-in-laravel\/\",\"url\":\"https:\/\/www.devopstrainer.in\/blog\/what-is-mvc-architecture-composer-in-laravel\/\",\"name\":\"What is MVC architecture & Composer in laravel? - DevOps | SRE | DevSecOps\",\"isPartOf\":{\"@id\":\"https:\/\/www.devopstrainer.in\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.devopstrainer.in\/blog\/what-is-mvc-architecture-composer-in-laravel\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.devopstrainer.in\/blog\/what-is-mvc-architecture-composer-in-laravel\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.devopstrainer.in\/blog\/wp-content\/uploads\/2022\/11\/MVCFramework1-660x473-1.png\",\"datePublished\":\"2022-11-14T12:00:25+00:00\",\"author\":{\"@id\":\"https:\/\/www.devopstrainer.in\/blog\/#\/schema\/person\/0c8259479972d3d18994f88df3dc8d53\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.devopstrainer.in\/blog\/what-is-mvc-architecture-composer-in-laravel\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.devopstrainer.in\/blog\/what-is-mvc-architecture-composer-in-laravel\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.devopstrainer.in\/blog\/what-is-mvc-architecture-composer-in-laravel\/#primaryimage\",\"url\":\"https:\/\/www.devopstrainer.in\/blog\/wp-content\/uploads\/2022\/11\/MVCFramework1-660x473-1.png\",\"contentUrl\":\"https:\/\/www.devopstrainer.in\/blog\/wp-content\/uploads\/2022\/11\/MVCFramework1-660x473-1.png\",\"width\":660,\"height\":473},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.devopstrainer.in\/blog\/what-is-mvc-architecture-composer-in-laravel\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.devopstrainer.in\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"What is MVC architecture &#038; Composer in laravel?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.devopstrainer.in\/blog\/#website\",\"url\":\"https:\/\/www.devopstrainer.in\/blog\/\",\"name\":\"DevOps | SRE | DevSecOps\",\"description\":\"Automation means Cost, Quality, Time\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.devopstrainer.in\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.devopstrainer.in\/blog\/#\/schema\/person\/0c8259479972d3d18994f88df3dc8d53\",\"name\":\"shivam\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.devopstrainer.in\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/be603b13110d1423e9358d9f4b8901acd56c4239bca1b26b0225d217c2a2f1eb?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/be603b13110d1423e9358d9f4b8901acd56c4239bca1b26b0225d217c2a2f1eb?s=96&d=mm&r=g\",\"caption\":\"shivam\"},\"url\":\"https:\/\/www.devopstrainer.in\/blog\/author\/shivam\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"What is MVC architecture & Composer in laravel? - DevOps | SRE | DevSecOps","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.devopstrainer.in\/blog\/what-is-mvc-architecture-composer-in-laravel\/","og_locale":"en_US","og_type":"article","og_title":"What is MVC architecture & Composer in laravel? - DevOps | SRE | DevSecOps","og_description":"The Laravel Framework follows\u00a0MVC architecture. MVC is an architectural design pattern that helps to develop web applications faster.\u00a0MVC\u00a0stands for\u00a0Model-View-Controller. Model (M)\u2013A model handles data used by the web application. View&hellip;","og_url":"https:\/\/www.devopstrainer.in\/blog\/what-is-mvc-architecture-composer-in-laravel\/","og_site_name":"DevOps | SRE | DevSecOps","article_published_time":"2022-11-14T12:00:25+00:00","og_image":[{"url":"https:\/\/www.devopstrainer.in\/blog\/wp-content\/uploads\/2022\/11\/MVCFramework1-660x473-1.png","type":"","width":"","height":""}],"author":"shivam","twitter_card":"summary_large_image","twitter_misc":{"Written by":"shivam","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.devopstrainer.in\/blog\/what-is-mvc-architecture-composer-in-laravel\/#article","isPartOf":{"@id":"https:\/\/www.devopstrainer.in\/blog\/what-is-mvc-architecture-composer-in-laravel\/"},"author":{"name":"shivam","@id":"https:\/\/www.devopstrainer.in\/blog\/#\/schema\/person\/0c8259479972d3d18994f88df3dc8d53"},"headline":"What is MVC architecture &#038; Composer in laravel?","datePublished":"2022-11-14T12:00:25+00:00","mainEntityOfPage":{"@id":"https:\/\/www.devopstrainer.in\/blog\/what-is-mvc-architecture-composer-in-laravel\/"},"wordCount":161,"commentCount":0,"image":{"@id":"https:\/\/www.devopstrainer.in\/blog\/what-is-mvc-architecture-composer-in-laravel\/#primaryimage"},"thumbnailUrl":"https:\/\/www.devopstrainer.in\/blog\/wp-content\/uploads\/2022\/11\/MVCFramework1-660x473-1.png","inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.devopstrainer.in\/blog\/what-is-mvc-architecture-composer-in-laravel\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.devopstrainer.in\/blog\/what-is-mvc-architecture-composer-in-laravel\/","url":"https:\/\/www.devopstrainer.in\/blog\/what-is-mvc-architecture-composer-in-laravel\/","name":"What is MVC architecture & Composer in laravel? - DevOps | SRE | DevSecOps","isPartOf":{"@id":"https:\/\/www.devopstrainer.in\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.devopstrainer.in\/blog\/what-is-mvc-architecture-composer-in-laravel\/#primaryimage"},"image":{"@id":"https:\/\/www.devopstrainer.in\/blog\/what-is-mvc-architecture-composer-in-laravel\/#primaryimage"},"thumbnailUrl":"https:\/\/www.devopstrainer.in\/blog\/wp-content\/uploads\/2022\/11\/MVCFramework1-660x473-1.png","datePublished":"2022-11-14T12:00:25+00:00","author":{"@id":"https:\/\/www.devopstrainer.in\/blog\/#\/schema\/person\/0c8259479972d3d18994f88df3dc8d53"},"breadcrumb":{"@id":"https:\/\/www.devopstrainer.in\/blog\/what-is-mvc-architecture-composer-in-laravel\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.devopstrainer.in\/blog\/what-is-mvc-architecture-composer-in-laravel\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.devopstrainer.in\/blog\/what-is-mvc-architecture-composer-in-laravel\/#primaryimage","url":"https:\/\/www.devopstrainer.in\/blog\/wp-content\/uploads\/2022\/11\/MVCFramework1-660x473-1.png","contentUrl":"https:\/\/www.devopstrainer.in\/blog\/wp-content\/uploads\/2022\/11\/MVCFramework1-660x473-1.png","width":660,"height":473},{"@type":"BreadcrumbList","@id":"https:\/\/www.devopstrainer.in\/blog\/what-is-mvc-architecture-composer-in-laravel\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.devopstrainer.in\/blog\/"},{"@type":"ListItem","position":2,"name":"What is MVC architecture &#038; Composer in laravel?"}]},{"@type":"WebSite","@id":"https:\/\/www.devopstrainer.in\/blog\/#website","url":"https:\/\/www.devopstrainer.in\/blog\/","name":"DevOps | SRE | DevSecOps","description":"Automation means Cost, Quality, Time","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.devopstrainer.in\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.devopstrainer.in\/blog\/#\/schema\/person\/0c8259479972d3d18994f88df3dc8d53","name":"shivam","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.devopstrainer.in\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/be603b13110d1423e9358d9f4b8901acd56c4239bca1b26b0225d217c2a2f1eb?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/be603b13110d1423e9358d9f4b8901acd56c4239bca1b26b0225d217c2a2f1eb?s=96&d=mm&r=g","caption":"shivam"},"url":"https:\/\/www.devopstrainer.in\/blog\/author\/shivam\/"}]}},"_links":{"self":[{"href":"https:\/\/www.devopstrainer.in\/blog\/wp-json\/wp\/v2\/posts\/670","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopstrainer.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopstrainer.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopstrainer.in\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopstrainer.in\/blog\/wp-json\/wp\/v2\/comments?post=670"}],"version-history":[{"count":1,"href":"https:\/\/www.devopstrainer.in\/blog\/wp-json\/wp\/v2\/posts\/670\/revisions"}],"predecessor-version":[{"id":674,"href":"https:\/\/www.devopstrainer.in\/blog\/wp-json\/wp\/v2\/posts\/670\/revisions\/674"}],"wp:attachment":[{"href":"https:\/\/www.devopstrainer.in\/blog\/wp-json\/wp\/v2\/media?parent=670"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopstrainer.in\/blog\/wp-json\/wp\/v2\/categories?post=670"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopstrainer.in\/blog\/wp-json\/wp\/v2\/tags?post=670"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}