Installation Guide โ
This guide walks you through setting up LaraJS on your development machine.
Requirements โ
Before installing LaraJS, ensure that your environment meets the following requirements:
- ๐ PHP 8.3+
- ๐ผ Composer
- ๐ข Node.js (version 22.x+)
- ๐งถ Yarn
Browser Support โ
LaraJS supports modern versions of the following browsers:
- ๐ Apple Safari
- ๐ต Google Chrome
- ๐ฃ Microsoft Edge
- ๐ Mozilla Firefox
Installation โ
1. Create database
- Create a new database
- For example: create database
larajs
2. Run script
Execute the following command to run the setup:
php
php ./apps/api/artisan larajs:setup
Input
When prompted, provide the necessary information to connect to your database:
bash
What is the url of your app? [http://127.0.0.1:8000]:
> http://127.0.0.1:8000
What is your database host? [127.0.0.1]:
> 127.0.0.1
What is your database port? [3306]:
> 3306
What is your database name? [larajs]:
> larajs
What is your username? [root]:
> root
What is your password? []:
> root
Output
Once the setup is complete, you should see the following output:
bash
...
โโโ โโโโโโ โโโโโโโ โโโโโโ โโโโโโโโโโโ
โโโ โโโโโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโ
โโโ โโโโโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโ
โโโ โโโโโโโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโ
โโโโโโโโโโโ โโโโโโ โโโโโโ โโโโโโโโโโโโโโโโโโโ
โโโโโโโโโโโ โโโโโโ โโโโโโ โโโ โโโโโโ โโโโโโโโ
Powered by: LaraJS
SETUP SUCCESSFULLY!