Skip to content

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!