Format: The package will be in a .zip file format.
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. Install Node Modules
Open your terminal or command prompt and navigate to the directory where you unzipped the package.
Execute:
npm i or npm install
6. 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.
7. Create a Production Build
Command: In the same directory, run:
npm run build
This command will create a production-ready build of your project in a distribution directory.
8. 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.