Skip to content

irabbi360/laravel-vue3-spa-starter

Repository files navigation

Laravel 11 Vue.js 3 SPA Starter Boilerplate

A simple and clean boilerplate to start a new SPA project with authentication, user, roles, permissions management and more features. This boilerplate uses the following tools:

Laravel is accessible, and powerful, and provides tools required for large, robust applications.

Features

The following Sanctum features are implemented in this Vue SPA:

  • ✅ Laravel 11
  • ✅ Vue 3
  • ✅ VueRouter
  • ✅ Pinia
  • ✅ Vue I18n Multi-Language
  • ✅ Login
  • ✅ Password Reset
  • ✅ Registration
  • ✅ Admin Panel
  • ✅ Profile Management
  • ✅ User Management
  • ✅ Roles Management
  • ✅ Permissions Management
  • ✅ Password Change
  • ✅ E-Mail Verification
  • ✅ Posts Management
  • ✅ Frontend Blog
  • ✅ Bootstrap 5
  • ✅ Automatic Api Documentation -- route /api-docs

How To Use

Clone the repository

git clone https://github.com/irabbi360/laravel-vue3-spa-starter.git

Copy .env.example file to .env and edit credentials also set the app URL

Install Via Composer

composer install

Generate Application Key

php artisan key:generate

Migrate Database

php artisan migrate

Run Seeder

php artisan db:seed

Install Node Dependencies

npm install or yarn install

npm run dev or yarn dev

Production

npm run build or yarn build

Email Verification

To enable email verification, ensure your App\User model implements the Illuminate\Contracts\Auth\MustVerifyEmail contract.

N.B

If you want to use Laravel 10 or 9 version, please use laravel_10 or laravel_9 branch.

Contributing

Thank you for considering contributing to the project! The contribution guide can be found in the Laravel documentation.

Code of Conduct

To ensure that the Laravel community is welcoming to all, please review and abide by the Code of Conduct.

Security Vulnerabilities

If you discover a security vulnerability within Laravel, please e-mail via fazrabbi010@gmail.com. All security vulnerabilities will be promptly addressed.

License

The Laravel framework is open-sourced software licensed under the MIT license.
The Vue framework is open-sourced software licensed under the MIT license.
This repository is open-sourced software licensed under the MIT license.