Welcome to the Laravel Starter Kit (Inertia & React). This setup helps you begin with quality code right from the start. Below is your step-by-step guide to download and run the software easily.
- Operating System: Windows, macOS, or Linux
- PHP Version: 7.4 or higher
- Composer: Required for managing dependencies
- Node.js: Version 14 or higher
- NPM or Yarn: For managing JavaScript packages
To get the software, visit this page to download: GitHub Releases.
- Click the link above to open the Releases page.
- Find the latest version.
- Look for the assets section. You will see files available for download.
- Click on the file that fits your operating system to download it.
Once downloaded, follow these steps to set up your application:
-
Extract the Files: Locate the downloaded file on your computer. Right-click and select "Extract All" to unzip the files.
-
Open Command Line Interface:
- Windows: Press
Win + R, typecmd, and hit enter. - macOS: Use Spotlight Search (Cmd + Space) and type
Terminal. - Linux: Open your preferred terminal application.
- Windows: Press
-
Navigate to the Project Directory: Use the command below, replacing
path/to/folderwith the actual path where you extracted the files.cd path/to/folder -
Install Dependencies: Run the following command to install necessary packages.
composer installThen install JavaScript dependencies:
npm install -
Set Up Your Environment: Copy the example environment file to create your own:
cp .env.example .envOpen
.envand update the configuration as needed. -
Generate Application Key: Use the command below to generate a unique key for your application.
php artisan key:generate -
Run Migrations: To set up the database structure, run:
php artisan migrate -
Start the Local Development Server: Run this command to serve your application:
php artisan serveOpen your web browser and go to
http://localhost:8000. You should see your application running.
- Type-Safe Code: Ensures that your application runs without unexpected errors.
- Inertia.js Integration: Offers a smooth experience for navigating between pages.
- React Components: Use React for creating interactive UIs with ease.
- Robust Database Support: Easily handle your application's data.
- Development & Production Environments: Seamlessly switch between development and production modes.
If you encounter issues during installation, check the following:
- Ensure all system requirements are met.
- Look at the logs in your terminal for specific error messages.
- Visit the issues section on GitHub for troubleshooting tips or to report problems.
Feel free to reach out via the discussion tab on GitHub. The community is ready to help you succeed with Laravel Starter Kit.
Remember to return to download the latest updates here: GitHub Releases. Happy coding!