{"id":23782,"date":"2024-04-09T10:30:00","date_gmt":"2024-04-09T03:30:00","guid":{"rendered":"https:\/\/jakarta.telkomuniversity.ac.id\/laravel-installation-and-access-tutorial-for-beginners\/"},"modified":"2024-09-15T03:23:01","modified_gmt":"2024-09-14T20:23:01","slug":"laravel-installation-and-access-tutorial-for-beginners","status":"publish","type":"post","link":"https:\/\/jakarta.telkomuniversity.ac.id\/en\/laravel-installation-and-access-tutorial-for-beginners\/","title":{"rendered":"Laravel Installation and Access Tutorial for Beginners"},"content":{"rendered":"<div class=\"wpb-content-wrapper\"><div class=\"vc_row wpb_row vc_row-fluid\"><div class=\"wpb_column vc_column_container vc_col-sm-12\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\"><h1 style=\"text-align: center\" class=\"vc_custom_heading vc_do_custom_heading\" >Laravel Installation and Access Tutorial for Beginners<\/h1><\/div><\/div><\/div><\/div><div class=\"vc_row wpb_row vc_row-fluid\"><div class=\"wpb_column vc_column_container vc_col-sm-12\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\">\n\t<div class=\"wpb_text_column wpb_content_element\" >\n\t\t<div class=\"wpb_wrapper\">\n\t\t\t<p><span style=\"font-weight: 400;\">PHP is one of the most widely used programming languages in web development. This is also not without reason, PHP is the programming language that makes WordPress, the most widely used content management system in the world. PHP is a server-side development language or back-end programming language. Laravel is a well-known PHP framework.   <\/span><\/p>\n\n\t\t<\/div>\n\t<\/div>\n<\/div><\/div><\/div><\/div><div class=\"vc_row wpb_row vc_row-fluid\"><div class=\"wpb_column vc_column_container vc_col-sm-12\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\"><h2 style=\"text-align: left\" class=\"vc_custom_heading vc_do_custom_heading\" >Laravel<\/h2><\/div><\/div><\/div><\/div><div class=\"vc_row wpb_row vc_row-fluid vc_row-o-content-middle vc_row-flex\"><div class=\"wpb_column vc_column_container vc_col-sm-6\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\">\n\t<div class=\"wpb_text_column wpb_content_element\" >\n\t\t<div class=\"wpb_wrapper\">\n\t\t\t<p><span style=\"font-weight: 400;\">Laravel is a PHP programming framework that can be used to improve the efficiency of website development. The resulting website will be more dynamic and optimized if this framework is used. PHP programming becomes more powerful and optimal when built on this framework because compared to other frameworks, this framework has a better presence and fewer features.  <\/span><\/p>\n\n\t\t<\/div>\n\t<\/div>\n<\/div><\/div><\/div><div class=\"wpb_column vc_column_container vc_col-sm-6\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\">\n\t<div  class=\"wpb_single_image wpb_content_element vc_align_center wpb_content_element\">\n\t\t\n\t\t<figure class=\"wpb_wrapper vc_figure\">\n\t\t\t<div class=\"vc_single_image-wrapper   vc_box_border_grey\"><img decoding=\"async\" width=\"300\" height=\"200\" src=\"https:\/\/jakarta.telkomuniversity.ac.id\/wp-content\/uploads\/2024\/04\/mohammad-rahmani-oXlXu2qukGE-unsplash-300x200.webp\" class=\"vc_single_image-img attachment-medium\" alt=\"laravel\" title=\"mohammad-rahmani-oXlXu2qukGE-unsplash\" srcset=\"https:\/\/jakarta.telkomuniversity.ac.id\/wp-content\/uploads\/2024\/04\/mohammad-rahmani-oXlXu2qukGE-unsplash-300x200.webp 300w, https:\/\/jakarta.telkomuniversity.ac.id\/wp-content\/uploads\/2024\/04\/mohammad-rahmani-oXlXu2qukGE-unsplash-1024x683.webp 1024w, https:\/\/jakarta.telkomuniversity.ac.id\/wp-content\/uploads\/2024\/04\/mohammad-rahmani-oXlXu2qukGE-unsplash-768x512.webp 768w, https:\/\/jakarta.telkomuniversity.ac.id\/wp-content\/uploads\/2024\/04\/mohammad-rahmani-oXlXu2qukGE-unsplash-1536x1024.webp 1536w, https:\/\/jakarta.telkomuniversity.ac.id\/wp-content\/uploads\/2024\/04\/mohammad-rahmani-oXlXu2qukGE-unsplash-2048x1365.webp 2048w, https:\/\/jakarta.telkomuniversity.ac.id\/wp-content\/uploads\/2024\/04\/mohammad-rahmani-oXlXu2qukGE-unsplash-150x100.webp 150w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/div>\n\t\t<\/figure>\n\t<\/div>\n<\/div><\/div><\/div><\/div><div class=\"vc_row wpb_row vc_row-fluid\"><div class=\"wpb_column vc_column_container vc_col-sm-12\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\"><h3 style=\"text-align: left\" class=\"vc_custom_heading vc_do_custom_heading\" >Install XAMPP dan Composer<\/h3><\/div><\/div><\/div><\/div><div class=\"vc_row wpb_row vc_row-fluid\"><div class=\"wpb_column vc_column_container vc_col-sm-12\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\">\n\t<div  class=\"wpb_single_image wpb_content_element vc_align_center wpb_content_element\">\n\t\t\n\t\t<figure class=\"wpb_wrapper vc_figure\">\n\t\t\t<div class=\"vc_single_image-wrapper   vc_box_border_grey\"><img decoding=\"async\" width=\"253\" height=\"300\" src=\"https:\/\/jakarta.telkomuniversity.ac.id\/wp-content\/uploads\/2024\/04\/Logo-composer-transparent-253x300.webp\" class=\"vc_single_image-img attachment-medium\" alt=\"install laravel\" title=\"Logo-composer-transparent\" srcset=\"https:\/\/jakarta.telkomuniversity.ac.id\/wp-content\/uploads\/2024\/04\/Logo-composer-transparent-253x300.webp 253w, https:\/\/jakarta.telkomuniversity.ac.id\/wp-content\/uploads\/2024\/04\/Logo-composer-transparent.webp 300w\" sizes=\"(max-width: 253px) 100vw, 253px\" \/><\/div>\n\t\t<\/figure>\n\t<\/div>\n<\/div><\/div><\/div><\/div><div class=\"vc_row wpb_row vc_row-fluid\"><div class=\"wpb_column vc_column_container vc_col-sm-12\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\">\n\t<div class=\"wpb_text_column wpb_content_element\" >\n\t\t<div class=\"wpb_wrapper\">\n\t\t\t<p><span style=\"font-weight: 400;\">In this tutorial the applications required are:<\/span><\/p>\n<ol>\n<li><span style=\"font-weight: 400;\"> XAMPP <\/span><\/li>\n<li><span style=\"font-weight: 400;\">Composer <\/span><\/li>\n<li><span style=\"font-weight: 400;\">Text Editor (Sublime Text, Visual Studio Code, Atom, Notepad++), depending on which one you use.<\/span><\/li>\n<\/ol>\n\n\t\t<\/div>\n\t<\/div>\n<div class=\"vc_row wpb_row vc_inner vc_row-fluid\"><div class=\"wpb_column vc_column_container vc_col-sm-6\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\">\n\t<div  class=\"wpb_single_image wpb_content_element vc_align_center wpb_content_element\">\n\t\t\n\t\t<figure class=\"wpb_wrapper vc_figure\">\n\t\t\t<div class=\"vc_single_image-wrapper   vc_box_border_grey\"><img decoding=\"async\" width=\"2560\" height=\"1707\" src=\"https:\/\/jakarta.telkomuniversity.ac.id\/wp-content\/uploads\/2024\/04\/installasi-laravel-scaled.webp\" class=\"vc_single_image-img attachment-full\" alt=\"installasi laravel\" title=\"installasi laravel\" srcset=\"https:\/\/jakarta.telkomuniversity.ac.id\/wp-content\/uploads\/2024\/04\/installasi-laravel-scaled.webp 2560w, https:\/\/jakarta.telkomuniversity.ac.id\/wp-content\/uploads\/2024\/04\/installasi-laravel-300x200.webp 300w, https:\/\/jakarta.telkomuniversity.ac.id\/wp-content\/uploads\/2024\/04\/installasi-laravel-1024x683.webp 1024w, https:\/\/jakarta.telkomuniversity.ac.id\/wp-content\/uploads\/2024\/04\/installasi-laravel-768x512.webp 768w, https:\/\/jakarta.telkomuniversity.ac.id\/wp-content\/uploads\/2024\/04\/installasi-laravel-1536x1024.webp 1536w, https:\/\/jakarta.telkomuniversity.ac.id\/wp-content\/uploads\/2024\/04\/installasi-laravel-2048x1365.webp 2048w, https:\/\/jakarta.telkomuniversity.ac.id\/wp-content\/uploads\/2024\/04\/installasi-laravel-150x100.webp 150w\" sizes=\"(max-width: 2560px) 100vw, 2560px\" \/><\/div>\n\t\t<\/figure>\n\t<\/div>\n<\/div><\/div><\/div><div class=\"wpb_column vc_column_container vc_col-sm-6\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\">\n\t<div class=\"wpb_text_column wpb_content_element\" >\n\t\t<div class=\"wpb_wrapper\">\n\t\t\t<p><span style=\"font-weight: 400;\">XAMPP is a standard application for processing PHP code. If this application is already installed on your computer, skip this step and continue to Composer Installation. If not, please download it from the official website   <\/span><a href=\"https:\/\/www.apachefriends.org\/download.html\"><span style=\"font-weight: 400;\">Apache Friends<\/span><\/a><span style=\"font-weight: 400;\">.<br \/>\nKemudian instal seperti biasa. <\/span><\/p>\n\n\t\t<\/div>\n\t<\/div>\n<\/div><\/div><\/div><\/div>\n\t<div class=\"wpb_text_column wpb_content_element\" >\n\t\t<div class=\"wpb_wrapper\">\n\t\t\t<p><span style=\"font-weight: 400;\">In installing Laravel, we are advised to use the Composer application. Composer is a package manager application for installing various PHP files, especially PHP libraries and frameworks. Installing Composer is the same as the installation process for other programs. Download the installer file from the official website at    <\/span><a href=\"http:\/\/getcomposer.org\"><span style=\"font-weight: 400;\">Getcomposer.org<\/span><\/a><span style=\"font-weight: 400;\">.<\/span><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Start the installation process, double click the file <\/span><span style=\"font-weight: 400;\">Composer-Setup.exe<\/span><span style=\"font-weight: 400;\">.<br \/>\nDi jendela pertama, biarkan checkbox Developer mode kosong dan langsung saja klik tombol Next <\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Composer will look for where the php.exe file is located, click the Next button.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">In the proxy input window, there is no need to fill it in, just click the Next button.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Then click the Install button. Wait a few moments, click the Next and Finish buttons. Then the composer has been successfully installed.  <\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">To test whether composer has been successfully installed or not, open cmd, type composer and press Enter. <\/span><\/li>\n<\/ol>\n\n\t\t<\/div>\n\t<\/div>\n<\/div><\/div><\/div><\/div><div class=\"vc_row wpb_row vc_row-fluid\"><div class=\"wpb_column vc_column_container vc_col-sm-12\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\"><h4 style=\"text-align: left\" class=\"vc_custom_heading vc_do_custom_heading\" >Install Laravel<\/h4><\/div><\/div><\/div><\/div><div class=\"vc_row wpb_row vc_row-fluid\"><div class=\"wpb_column vc_column_container vc_col-sm-12\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\">\n\t<div class=\"wpb_text_column wpb_content_element\" >\n\t\t<div class=\"wpb_wrapper\">\n\t\t\t<p><span style=\"font-weight: 400;\">In the official Laravel documentation it is explained that there are 2 ways to install this PHP framework. First with the command  <\/span><span style=\"font-weight: 400;\">composer create-project<\/span><span style=\"font-weight: 400;\">,<\/span> <span style=\"font-weight: 400;\">and the second with<\/span> <span style=\"font-weight: 400;\">laravel installer<\/span><span style=\"font-weight: 400;\">.<br \/>\nKita akan bahas tutorial berikut menggunakan composer create-project. <\/span><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Please open cmd then move to the XAMPP htdocs folder with the command: <\/span><span style=\"font-weight: 400;\">cd C:\\xampp\\htdocs<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Then type or copy the following command:<\/span> <span style=\"font-weight: 400;\">composer create-project &#8211;prefer-dist laravel\/laravel improveskillngoding_laravel<\/span><br \/>This command consists of several parts:<br \/>composer: Run composer<br \/>create-project: Command to create a new project<br \/>&#8211;prefer-dist: Orders to download the recommended version of laravel or the stable (latest) version.<br \/>improveskillngoding_laravel: The name of the project we want to create (can be adjusted to the project you are going to create)<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">When the text appears <\/span><span style=\"font-weight: 400;\">Application key set successfully<\/span> <span style=\"font-weight: 400;\">and the cursor returns to<\/span> <span style=\"font-weight: 400;\">C:\\xampp\\htdocs<\/span><span style=\"font-weight: 400;\">, then it means the Laravel installation process is complete. Please open the htdocs folder from Windows Explorer, you will see the coba1 folder containing various Laravel files. <\/span><\/li>\n<\/ol>\n\n\t\t<\/div>\n\t<\/div>\n<\/div><\/div><\/div><\/div><div class=\"vc_row wpb_row vc_row-fluid\"><div class=\"wpb_column vc_column_container vc_col-sm-12\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\"><h5 style=\"text-align: left\" class=\"vc_custom_heading vc_do_custom_heading\" >Accessing Laravel<\/h5><\/div><\/div><\/div><\/div><div class=\"vc_row wpb_row vc_row-fluid\"><div class=\"wpb_column vc_column_container vc_col-sm-12\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\">\n\t<div class=\"wpb_text_column wpb_content_element\" >\n\t\t<div class=\"wpb_wrapper\">\n\t\t\t<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Open cmd then go to the Laravel installation folder:<\/span><span style=\"font-weight: 400;\">cd C:\\xampp\\htdocs\\improveskillngoding_laravel<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Once in the Laravel folder, run the web server with the following command then enter: <\/span><span style=\"font-weight: 400;\">php artisan serve<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">If the text Laravel <\/span>d<span style=\"font-weight: 400;\">evelopment server started: http:\/\/127.0.0.1:8000 <\/span><span style=\"font-weight: 400;\">appears, it means the server is active and can be accessed, please open a web browser and type the address <\/span><span style=\"font-weight: 400;\">http:\/\/127.0.0.1:8000<\/span><\/li>\n<\/ol>\n<p><span style=\"font-weight: 400;\">Thank you for following the tutorial above, hopefully it is useful for all of you.<\/span><\/p>\n\n\t\t<\/div>\n\t<\/div>\n\n\t<div  class=\"wpb_single_image wpb_content_element vc_align_center wpb_content_element\">\n\t\t\n\t\t<figure class=\"wpb_wrapper vc_figure\">\n\t\t\t<div class=\"vc_single_image-wrapper   vc_box_border_grey\"><img decoding=\"async\" width=\"12501\" height=\"8288\" src=\"https:\/\/jakarta.telkomuniversity.ac.id\/wp-content\/uploads\/2024\/04\/pengenalan-laravel.webp\" class=\"vc_single_image-img attachment-full\" alt=\"pengenalan laravel\" title=\"pengenalan laravel\" \/><\/div>\n\t\t<\/figure>\n\t<\/div>\n<\/div><\/div><\/div><\/div><div class=\"vc_row wpb_row vc_row-fluid\"><div class=\"wpb_column vc_column_container vc_col-sm-12\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\">\n\t<div class=\"wpb_text_column wpb_content_element\" >\n\t\t<div class=\"wpb_wrapper\">\n\t\t\t<p>Also read: <a href=\"https:\/\/jakarta.telkomuniversity.ac.id\/en\/mengenal-hybrid-cloud-solusi-untuk-perkembangan-bisnis-it-anda\/\">Getting to Know Hybrid Cloud, a Solution for Your IT Business Development<\/a><\/p>\n\n\t\t<\/div>\n\t<\/div>\n<\/div><\/div><\/div><\/div>\n<\/div>","protected":false},"excerpt":{"rendered":"Laravel Installation and Access Tutorial for Beginners PHP is one of the most widely used programming languages in web development. This is also not without reason, PHP is the programming language that makes WordPress, the most widely used content management system in the world. PHP is a server-side development language or back-end programming language. Laravel [...]","protected":false},"author":32,"featured_media":20667,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"wds_primary_category":0,"footnotes":""},"categories":[685],"tags":[834,832,833],"class_list":["post-23782","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-education","tag-install-laravel-en","tag-laravel-en","tag-laravel-tutorial"],"_links":{"self":[{"href":"https:\/\/jakarta.telkomuniversity.ac.id\/en\/wp-json\/wp\/v2\/posts\/23782","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jakarta.telkomuniversity.ac.id\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jakarta.telkomuniversity.ac.id\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jakarta.telkomuniversity.ac.id\/en\/wp-json\/wp\/v2\/users\/32"}],"replies":[{"embeddable":true,"href":"https:\/\/jakarta.telkomuniversity.ac.id\/en\/wp-json\/wp\/v2\/comments?post=23782"}],"version-history":[{"count":0,"href":"https:\/\/jakarta.telkomuniversity.ac.id\/en\/wp-json\/wp\/v2\/posts\/23782\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/jakarta.telkomuniversity.ac.id\/en\/wp-json\/wp\/v2\/media\/20667"}],"wp:attachment":[{"href":"https:\/\/jakarta.telkomuniversity.ac.id\/en\/wp-json\/wp\/v2\/media?parent=23782"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jakarta.telkomuniversity.ac.id\/en\/wp-json\/wp\/v2\/categories?post=23782"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jakarta.telkomuniversity.ac.id\/en\/wp-json\/wp\/v2\/tags?post=23782"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}