Laravel Docs - v1.0.0
Installation

1. Download the Package

2. Unzip the Package

  • Extract the contents of the downloaded .zip file to a directory on your computer.
3. Xampp
  • Make sure to have the Xampp installed & running in your computer. PHP Version 8.2 or Higher must be required for Laravel 11.
4. Composer
  • Make sure to have the Composer installed & running in your computer. make sure the composer version must be 2.8.3 or Higher.
5. Composer Install
  • Command: command to install all of the framework's dependencies.
    composer install
  • Outcome: The composer install command installs all the PHP dependencies specified in the composer.json file, generates the autoloader, and creates a (`vendor`) directory with the necessary packages for the Laravel project.
6. Create a Production Build & Libraries Folder
  • Command: After the dependencies are installed, generate a production-ready build by running:
    npm run build
  • Outcome: This command compile all scss to css and copy all files from resource to public directory.
6. Start in Development Mode
  • Command: To begin development and work on your project in a live environment, execute:
    php artisan serve
  • Outcome: This will launch a local development server, allowing you to preview your project in real-time. The server also provides hot-reloading, meaning any changes you make to your files will automatically refresh in your browser. It will be accessible at http://localhost:8000.