{"id":10175,"date":"2023-10-27T17:40:32","date_gmt":"2023-10-27T17:40:32","guid":{"rendered":"https:\/\/greenwebpage.com\/community\/?p=10175"},"modified":"2024-05-22T09:24:52","modified_gmt":"2024-05-22T09:24:52","slug":"how-to-install-laravel-on-ubuntu-22-04","status":"publish","type":"post","link":"https:\/\/greenwebpage.com\/community\/how-to-install-laravel-on-ubuntu-22-04\/","title":{"rendered":"How to Install Laravel on Ubuntu 22.04"},"content":{"rendered":"\n<p><a href=\"https:\/\/laravel.com\/\">Laravel<\/a> is a powerful PHP-based framework for building dynamic applications. It is designed for building applications with simple and easy-to-understand syntax. With advanced and convenient features, Laravel simplifies various tasks including authentication, database management, dynamic content management, and built-in security features. These features make Laravel a popular choice for web developers in this modern era of technology.<\/p>\n\n\n\n<p>If you are looking for a simple guide that can assist you in installing Laravel on Ubuntu 22.04, this guide is for you.\u00a0If you have newer Ubuntu version 24.04, check out <a href=\"https:\/\/greenwebpage.com\/community\/how-to-install-laravel-on-ubuntu-24-04\/\">this<\/a> article.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>How to Install Laravel on Ubuntu 22.04?<\/strong><\/h2>\n\n\n\n<p>Laravel can be installed on Ubuntu 22.04 using the following procedural steps.<\/p>\n\n\n\n<p><strong>Step 1: Update and Upgrade Ubuntu Packages<\/strong><\/p>\n\n\n\n<p>Before you begin, update and upgrade the system packages to their latest versions:<\/p>\n\n\n\n<figure class=\"wp-block-table alignleft\"><table><tbody><tr><td>sudo apt update &amp;&amp; sudo apt upgrade -y<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh7-us.googleusercontent.com\/tWhf5fATHqr0Z8iK_J8SL266lG-i_tojeU6fjyJL8gH2xfok-yvHsHvcuOTBL-7yw4fkbcFmqHYh4Gq5kcJURFrsQuI-17FdlUyQQc1vODi1Q6u7GmoQn3JNJIdGk1oF9Z4UGCM-tROKfiE_qFbG8Q\" alt=\"\"\/><\/figure>\n\n\n\n<p>The Ubuntu 22.04 operating system is now fully updated with the latest version of packages.<\/p>\n\n\n\n<p><strong>Step 2: Install PHP and Required Extensions<\/strong><\/p>\n\n\n\n<p>Use the APT package manager to Install PHP along with the required extensions:<\/p>\n\n\n\n<figure class=\"wp-block-table alignleft\"><table><tbody><tr><td>sudo apt install -y php php-common php-gd php-mysql php-curl php-intl php-mbstring php-bcmath php-xml php-zip<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh7-us.googleusercontent.com\/Rxp1c9z3MoDFnQQrRSjUcGjTh7_Tg4cFpW4Ehj9nxYOW9AKYu6d5w5Nc3DctOy1h0LhDEVe-azTgndz6xpUamJueT-pwSsY-NR5iOM4vVtrAa5vTnqVvfVx9j2K1JeQucqjYj0DIEp3C0tapEY1Lug\" alt=\"\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh7-us.googleusercontent.com\/NGU8qicQmI5qMpPOm34DYpSbESqhdmIgVOJP2wuw75f3A_IMo5PHLxqzq4JMFPQWbNv4j1sVRRujQAMQYwf9P8VQRuBlI8myGiKAyQcMLNpJFIfEMskxSVJUtfSdmhJW78R1n4vhwZYBy7xwprYmaA\" alt=\"\"\/><\/figure>\n\n\n\n<p>The command successfully executed and installed the PHP package on Ubuntu 22.04.<\/p>\n\n\n\n<p><strong>Step 3: Verify PHP Installation<\/strong><\/p>\n\n\n\n<p>Execute the <strong>php &#8211;version<\/strong> command to verify if PHP is installed correctly:<\/p>\n\n\n\n<figure class=\"wp-block-table alignleft\"><table><tbody><tr><td>php &#8211;version<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh7-us.googleusercontent.com\/x8X-iUAW5lKyU3IL6k27oVRtjcxR4FNy47LujiWBf2NaBGoEWSxt2p4X1EZAH4OJKDUERLPVBT2yQ7L9S1fV2Gb_2PASBz3omAiq4QADXc0xUUunLZExY4_AcNz0p8VxEWOwVDD9P20qD-MiErTabA\" alt=\"\"\/><\/figure>\n\n\n\n<p>The command returns the output indicating the current version of PHP, such as <strong>8.1.2<\/strong>.<\/p>\n\n\n\n<p><strong>Step 4: Install curl<\/strong><\/p>\n\n\n\n<p>Use APT package manager to install <strong>curl<\/strong>, a command-line tool used for transferring data with URLs:<\/p>\n\n\n\n<figure class=\"wp-block-table alignleft\"><table><tbody><tr><td>sudo apt install curl -y<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh7-us.googleusercontent.com\/9HOPv9L77BBlerDOyOjPvWTaLodgBJXlQ5fi7XHugtnhcFSmL8z0_-c14e_xn_X7__1Q_tWYNBdCl8wQw2OAyoo1qq3Djy94zMGCM5Zd6BlWm02k4z9T-ZpJZnjS5E_J3JV2n1Emo632ZwBeolcjRA\" alt=\"\"\/><\/figure>\n\n\n\n<p><strong>Step 5: Install PHP Composer<\/strong><\/p>\n\n\n\n<p>Use the curl<strong> <\/strong>command to install PHP <strong>Composer<\/strong>, a tool that efficiently manages various libraries and packages in PHP projects:<\/p>\n\n\n\n<figure class=\"wp-block-table alignleft\"><table><tbody><tr><td>sudo curl -sS https:\/\/getcomposer.org\/installer | sudo php &#8212; &#8211;install-dir=\/usr\/bin &#8211;filename=composer<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh7-us.googleusercontent.com\/yaJONx-xT6qX0S1jARRUf-lnpsL7I5VwHnBEEaUEtMq9RlKuwEYqbPQo1kjE7fi-twhlTXW1894BVZ4tOqgZjNJbQKWEwpHErJCoCTOHuo41HJXtpll-WABJPXzR0ivLcNdz6ABAWgHRIITPFWQE-A\" alt=\"\"\/><\/figure>\n\n\n\n<p><strong>Step 6: Verify Composer Installation<\/strong><\/p>\n\n\n\n<p>Verify if the Composer is installed correctly on your Ubuntu 22.04 operating system:<\/p>\n\n\n\n<figure class=\"wp-block-table alignleft\"><table><tbody><tr><td>composer &#8211;version<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh7-us.googleusercontent.com\/AU7Q5FDSI-NH5kBTPAV7HrPxL-LzybGVzhovx3Ots1hIOsEHJmfum0Ut3eZ6rtd7c4GEgXWC1QxVzkITp0Is9pzQjh8CtWq9y8noeM0RcrNMfTGjL2Hlut28aKMwVkB3-OVfstr98ScNJnNdku3Jdg\" alt=\"\"\/><\/figure>\n\n\n\n<p>A release number like 2.6.5 on your screen indicates a successful installation.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>How to Initiate a New Project in Laravel?<\/strong><\/h2>\n\n\n\n<p>To initiate a new project in Laravel on the Ubuntu system, follow these steps carefully.<\/p>\n\n\n\n<p><strong>Step 1: Create a New Project<\/strong><\/p>\n\n\n\n<p>To create a new project in Laravel named &#8220;My_First_App&#8221;, execute the composer command:<\/p>\n\n\n\n<figure class=\"wp-block-table alignleft\"><table><tbody><tr><td>composer create-project laravel\/laravel My_First_App<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh7-us.googleusercontent.com\/fTtDfqUrZG-nqRd32xyKPzsWUzAQgn_W1slK0RgrtPeEG7_hxnUWgfo_VGFij3LsPwL1qG57MemyAvCjbaR43mvySOM9bpeIbKA3_fIASN6k16lkLhRNeI-MVmnSYu0gtGlDeCyn-0xrtfTce4ufUg\" alt=\"\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh7-us.googleusercontent.com\/gp0XMF3gJfpGj29muo9IkxzWCeyL7tiyFYt5KNmmbVCHxwEtw1Dl4oOpPY16Cm6HG3_7r4Ivg_g3ZiWMc9AsFaYBNY3xJ2eSXGSjLR0j6WTetEjwVX9qdke6jNh3o5ifvuJeUxZ7H3xq_JRuWO5Oug\" alt=\"\"\/><\/figure>\n\n\n\n<p><strong>Step 2: Navigate to the Laravel Project Directory<\/strong><\/p>\n\n\n\n<p>The <strong>ls <\/strong>command helps you to locate the newly created Laravel project on your local machine:<\/p>\n\n\n\n<figure class=\"wp-block-table alignleft\"><table><tbody><tr><td>ls&nbsp;<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh7-us.googleusercontent.com\/on4AFisL_CFGAxxTaIxIHKqpD5PwXkpLcc04yCJWG4r8l8W81AIFHuJX0VSi7dLZ_wsSFaIosQO1wFtf-SskQv2zaUZsbtWVtmqytXLcLuD2HwkGETNczlyqu0ibqeb8XKkOi-lFFXRs77h31maPAg\" alt=\"\"\/><\/figure>\n\n\n\n<p>If a new project like <strong>My_First_App<\/strong> is created correctly, it will be found on your local drive.<\/p>\n\n\n\n<p><strong>Step 3: Move into My_First_App<\/strong><\/p>\n\n\n\n<p>To utilize the Laravel project, move to the newly created project directory:<\/p>\n\n\n\n<figure class=\"wp-block-table alignleft\"><table><tbody><tr><td>cd My_First_App<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh7-us.googleusercontent.com\/PekE5CpBl-Ey1YoAtnegX1iOa7pejC6oETfVnhmxbE22xcQdDeZToJQwc3UQV3gkem8EUW9DZuAQAUMKCjfTImU3qrvRKbz8COhJFXDcImLL-KUNa0uZqHun8Z8GqNxYeW3gQv0OkFJWddbUVGeOvA\" alt=\"\"\/><\/figure>\n\n\n\n<p>You will see that your current directory has been changed to My_First_App.<\/p>\n\n\n\n<p><strong>Step 4: Start the Development Server<\/strong><\/p>\n\n\n\n<p>Once the aforementioned steps have been completed, launch the Laravel development server locally:<\/p>\n\n\n\n<figure class=\"wp-block-table alignleft\"><table><tbody><tr><td>php artisan serve<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh7-us.googleusercontent.com\/XH0Yxli8s4H_Fi-QRvdXfvdDX4SZMXhTbj9yJVihKb97IplzWONvnOtkLvK3-mGT5txIGyxiK0lKisIiBEM89nKwjBy4h5kwoiumdQRmmZ2ZVIViK4Oa4tdHkszSx7AJApNK-8ME4MjP77N8ZxavBA\" alt=\"\"\/><\/figure>\n\n\n\n<p>Your Laravel is now active and accessible at <strong>http:\/\/127.0.0.1:8000<\/strong>. Open this URL in a web browser to view your Laravel project.<\/p>\n\n\n\n<p>Finally, you can see the Laravel project is live and accessible at localhost:&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh7-us.googleusercontent.com\/jGvYB4VJsAayhVNPvFdtxhX2hUG6LTN5-63T68nlsCPUw_3t8mtYIt-AZTr0CN28JtPwcw4weiOmy1bL3T9AHpsj8mHi_M_yZGmGXAb-Yn-zRnpHJgjHqG3ussOJDq5jKov_FXX-LHu5HAAGWqQOzQ\" alt=\"\"\/><\/figure>\n\n\n\n<p><strong>Conclusion<\/strong><\/p>\n\n\n\n<p>Laravel can be installed on the Ubuntu 22.04 machine using just a few simple steps. First, install prerequisites such as PHP and Composer, and then proceed to install Laravel. This guide has demonstrated the complete process of installing Laravel. It has empowered you with the necessary skills to successfully install Laravel on your Ubuntu 22.04 system.<\/p>\n\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>Laravel is a powerful PHP-based framework for building dynamic applications. It is designed for building applications with simple and easy-to-understand syntax. With advanced and convenient features, Laravel simplifies various tasks including authentication, database management, dynamic content management, and built-in security features. These features make Laravel a popular choice for web developers in this modern era [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":10947,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[43],"tags":[223,224],"class_list":["post-10175","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","tag-laravel","tag-ubuntu-22-04"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Install Laravel on Ubuntu 22.04 - Greenwebpage Community<\/title>\n<meta name=\"description\" content=\"If you are looking for a simple guide that can assist you in installing Laravel on Ubuntu 22.04, this guide is for you.\u00a0\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/greenwebpage.com\/community\/how-to-install-laravel-on-ubuntu-22-04\/\" \/>\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 Ubuntu 22.04 - Greenwebpage Community\" \/>\n<meta property=\"og:description\" content=\"If you are looking for a simple guide that can assist you in installing Laravel on Ubuntu 22.04, this guide is for you.\u00a0\" \/>\n<meta property=\"og:url\" content=\"https:\/\/greenwebpage.com\/community\/how-to-install-laravel-on-ubuntu-22-04\/\" \/>\n<meta property=\"og:site_name\" content=\"Greenwebpage Community\" \/>\n<meta property=\"article:published_time\" content=\"2023-10-27T17:40:32+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-05-22T09:24:52+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/How-to-Install-Laravel-on-Ubuntu-22.04-1.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1020\" \/>\n\t<meta property=\"og:image:height\" content=\"600\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Karim Buzdar\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Karim Buzdar\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-laravel-on-ubuntu-22-04\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-laravel-on-ubuntu-22-04\/\"},\"author\":{\"name\":\"Karim Buzdar\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/467c100c1d017bc081473ee0440680c8\"},\"headline\":\"How to Install Laravel on Ubuntu 22.04\",\"datePublished\":\"2023-10-27T17:40:32+00:00\",\"dateModified\":\"2024-05-22T09:24:52+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-laravel-on-ubuntu-22-04\/\"},\"wordCount\":562,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/#organization\"},\"image\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-laravel-on-ubuntu-22-04\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/How-to-Install-Laravel-on-Ubuntu-22.04-1.jpg\",\"keywords\":[\"Laravel\",\"Ubuntu 22.04\"],\"articleSection\":[\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/greenwebpage.com\/community\/how-to-install-laravel-on-ubuntu-22-04\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-laravel-on-ubuntu-22-04\/\",\"url\":\"https:\/\/greenwebpage.com\/community\/how-to-install-laravel-on-ubuntu-22-04\/\",\"name\":\"How to Install Laravel on Ubuntu 22.04 - Greenwebpage Community\",\"isPartOf\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-laravel-on-ubuntu-22-04\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-laravel-on-ubuntu-22-04\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/How-to-Install-Laravel-on-Ubuntu-22.04-1.jpg\",\"datePublished\":\"2023-10-27T17:40:32+00:00\",\"dateModified\":\"2024-05-22T09:24:52+00:00\",\"description\":\"If you are looking for a simple guide that can assist you in installing Laravel on Ubuntu 22.04, this guide is for you.\u00a0\",\"breadcrumb\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-laravel-on-ubuntu-22-04\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/greenwebpage.com\/community\/how-to-install-laravel-on-ubuntu-22-04\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-laravel-on-ubuntu-22-04\/#primaryimage\",\"url\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/How-to-Install-Laravel-on-Ubuntu-22.04-1.jpg\",\"contentUrl\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/How-to-Install-Laravel-on-Ubuntu-22.04-1.jpg\",\"width\":1020,\"height\":600,\"caption\":\"How to Install Laravel on Ubuntu 22.04\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-laravel-on-ubuntu-22-04\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/greenwebpage.com\/community\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install Laravel on Ubuntu 22.04\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#website\",\"url\":\"https:\/\/greenwebpage.com\/community\/\",\"name\":\"Greenwebpage Community\",\"description\":\"Get online in three steps with our wide range of web hosting solutions. Choose from professional business to enterprise options designed to meet your needs.\",\"publisher\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/greenwebpage.com\/community\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#organization\",\"name\":\"Greenwebpage Community\",\"url\":\"https:\/\/greenwebpage.com\/community\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/cropped-logomic.png\",\"contentUrl\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/cropped-logomic.png\",\"width\":512,\"height\":512,\"caption\":\"Greenwebpage Community\"},\"image\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/467c100c1d017bc081473ee0440680c8\",\"name\":\"Karim Buzdar\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/0628fcbcddd9bc5486245d2cf4a904dbcdeac9ad6c3098f49237094e9d513d0c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/0628fcbcddd9bc5486245d2cf4a904dbcdeac9ad6c3098f49237094e9d513d0c?s=96&d=mm&r=g\",\"caption\":\"Karim Buzdar\"},\"sameAs\":[\"https:\/\/greenwebpage.com\"],\"url\":\"https:\/\/greenwebpage.com\/community\/author\/karim\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Install Laravel on Ubuntu 22.04 - Greenwebpage Community","description":"If you are looking for a simple guide that can assist you in installing Laravel on Ubuntu 22.04, this guide is for you.\u00a0","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:\/\/greenwebpage.com\/community\/how-to-install-laravel-on-ubuntu-22-04\/","og_locale":"en_US","og_type":"article","og_title":"How to Install Laravel on Ubuntu 22.04 - Greenwebpage Community","og_description":"If you are looking for a simple guide that can assist you in installing Laravel on Ubuntu 22.04, this guide is for you.\u00a0","og_url":"https:\/\/greenwebpage.com\/community\/how-to-install-laravel-on-ubuntu-22-04\/","og_site_name":"Greenwebpage Community","article_published_time":"2023-10-27T17:40:32+00:00","article_modified_time":"2024-05-22T09:24:52+00:00","og_image":[{"width":1020,"height":600,"url":"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/How-to-Install-Laravel-on-Ubuntu-22.04-1.jpg","type":"image\/jpeg"}],"author":"Karim Buzdar","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Karim Buzdar","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/greenwebpage.com\/community\/how-to-install-laravel-on-ubuntu-22-04\/#article","isPartOf":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-install-laravel-on-ubuntu-22-04\/"},"author":{"name":"Karim Buzdar","@id":"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/467c100c1d017bc081473ee0440680c8"},"headline":"How to Install Laravel on Ubuntu 22.04","datePublished":"2023-10-27T17:40:32+00:00","dateModified":"2024-05-22T09:24:52+00:00","mainEntityOfPage":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-install-laravel-on-ubuntu-22-04\/"},"wordCount":562,"commentCount":0,"publisher":{"@id":"https:\/\/greenwebpage.com\/community\/#organization"},"image":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-install-laravel-on-ubuntu-22-04\/#primaryimage"},"thumbnailUrl":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/How-to-Install-Laravel-on-Ubuntu-22.04-1.jpg","keywords":["Laravel","Ubuntu 22.04"],"articleSection":["Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/greenwebpage.com\/community\/how-to-install-laravel-on-ubuntu-22-04\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/greenwebpage.com\/community\/how-to-install-laravel-on-ubuntu-22-04\/","url":"https:\/\/greenwebpage.com\/community\/how-to-install-laravel-on-ubuntu-22-04\/","name":"How to Install Laravel on Ubuntu 22.04 - Greenwebpage Community","isPartOf":{"@id":"https:\/\/greenwebpage.com\/community\/#website"},"primaryImageOfPage":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-install-laravel-on-ubuntu-22-04\/#primaryimage"},"image":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-install-laravel-on-ubuntu-22-04\/#primaryimage"},"thumbnailUrl":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/How-to-Install-Laravel-on-Ubuntu-22.04-1.jpg","datePublished":"2023-10-27T17:40:32+00:00","dateModified":"2024-05-22T09:24:52+00:00","description":"If you are looking for a simple guide that can assist you in installing Laravel on Ubuntu 22.04, this guide is for you.\u00a0","breadcrumb":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-install-laravel-on-ubuntu-22-04\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/greenwebpage.com\/community\/how-to-install-laravel-on-ubuntu-22-04\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/greenwebpage.com\/community\/how-to-install-laravel-on-ubuntu-22-04\/#primaryimage","url":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/How-to-Install-Laravel-on-Ubuntu-22.04-1.jpg","contentUrl":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/How-to-Install-Laravel-on-Ubuntu-22.04-1.jpg","width":1020,"height":600,"caption":"How to Install Laravel on Ubuntu 22.04"},{"@type":"BreadcrumbList","@id":"https:\/\/greenwebpage.com\/community\/how-to-install-laravel-on-ubuntu-22-04\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/greenwebpage.com\/community\/"},{"@type":"ListItem","position":2,"name":"How to Install Laravel on Ubuntu 22.04"}]},{"@type":"WebSite","@id":"https:\/\/greenwebpage.com\/community\/#website","url":"https:\/\/greenwebpage.com\/community\/","name":"Greenwebpage Community","description":"Get online in three steps with our wide range of web hosting solutions. Choose from professional business to enterprise options designed to meet your needs.","publisher":{"@id":"https:\/\/greenwebpage.com\/community\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/greenwebpage.com\/community\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/greenwebpage.com\/community\/#organization","name":"Greenwebpage Community","url":"https:\/\/greenwebpage.com\/community\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/greenwebpage.com\/community\/#\/schema\/logo\/image\/","url":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/cropped-logomic.png","contentUrl":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/cropped-logomic.png","width":512,"height":512,"caption":"Greenwebpage Community"},"image":{"@id":"https:\/\/greenwebpage.com\/community\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/467c100c1d017bc081473ee0440680c8","name":"Karim Buzdar","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/0628fcbcddd9bc5486245d2cf4a904dbcdeac9ad6c3098f49237094e9d513d0c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0628fcbcddd9bc5486245d2cf4a904dbcdeac9ad6c3098f49237094e9d513d0c?s=96&d=mm&r=g","caption":"Karim Buzdar"},"sameAs":["https:\/\/greenwebpage.com"],"url":"https:\/\/greenwebpage.com\/community\/author\/karim\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/posts\/10175","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/comments?post=10175"}],"version-history":[{"count":4,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/posts\/10175\/revisions"}],"predecessor-version":[{"id":11444,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/posts\/10175\/revisions\/11444"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/media\/10947"}],"wp:attachment":[{"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/media?parent=10175"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/categories?post=10175"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/tags?post=10175"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}