Sunday, May 11, 2025Creating a new Laravel project
Keven Client A. Cataluña @LinkedIn
Introduction

This guide outlines the steps to create a new Laravel project by installing the necessary PHP extensions, using Composer to generate the project, and starting the local development server.

Steps1. Install the required PHP extensions
    sudo apt install php8.3-sqlite3 php8.3-xml zip
  
2. Create a new Laravel project using Composer
    composer create-project laravel/laravel laravel
  
3. Check the Laravel version
    php artisan --version
  
      Laravel Framework 11.30.0
  
4. Start Laravel's local development server
    php artisan serve
  
       INFO  Server running on [http://127.0.0.1:8000].

  Press Ctrl+C to stop the server

  2024-07-19 14:32:49 / ...................................................... ~ 0.56ms
  2024-07-19 14:32:49 /favicon.ico ........................................... ~ 0.18ms
  
5. Navigate to http://127.0.0.1:8000 and you should see the default Laravel landing page