Welcome to the Larafast VILT Stack Documentation

Larafast uses Laravel Framework v11.x, Laravel Jetstream v5.0, Vue 3, TailwindCSS and DaisyUI.

Haven’t gotten Larafast yet? Check here: https://larafast.com

Laravel 10.x version can be found under laravel10 branch

Installation

If you have installed the project using the Larafast Installer, you can skip this steps.

To install the project you need to open your terminal and type these commands

Clone repo and install composer

git clone git@github.com:karakhanyans-tools/larafast.git [YOUR_PROJECT_NAME]
cd [YOUR_PROJECT_NAME]
composer install

Create .env file

cp .env.example .env

Create APP_KEY

php artisan key:generate

Run migrations

By default DB_CONNECTION is set to SQLite, feel free to change it to MySQL or any preferred DB.

To use MySQL as a database, update the .env file with the new database credentials.

.env
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=your_db_name
DB_USERNAME=root
DB_PASSWORD=
php artisan migrate

Install NPM and Run

npm install
npm run dev

Run Local Server

Laravel comes with a handy artisan serve command to run a local server. Feel free to use Valet or any other local server management tools.

php artisan serve

That’s it. Visit http://127.0.0.1:8000/ and see your website!

Don’t forget to remove the starter kit’s git configs. To do so: rm -rf .git - to init fresh git folder later git remote remove origin