Laravel Vue Starter

screenshot of Laravel Vue Starter
laravel
vite
vue
scss
tailwind

Latest Laravel 11 and Vue 3 boilerplate using Tailwind 3, Sanctum, Fortify, Pinia, the new Vue3 Composition API

Overview

The Laravel Vue Starter project was created to save time when starting a new Laravel/Vue project. Its main goal is to reduce code and simplify the process of bootstrapping new projects. The project is built with Vue 3, Pinia, VueRouter, Vite 3, Laravel Framework, Laravel Sanctum, Laravel Fortify, Tailwind, Media Library (by Spatie), and Bouncer (by JosephSilber).

Features

  • Theming: The project supports theming, allowing you to set a global color for the application theme in the tailwind.config.js file.
  • Authentication: The project includes a complete authentication boilerplate with login, register, forget password, and reset password features.
  • Authorization: The project is configured to use the Bouncer package for managing authorization across routes. Refer to the Bouncer package documentation for more information.
  • Localization / i18n: The project supports localization and internationalization. To translate the front-end, use the lang/{code}/frontend.php file.
  • Users CRUD: The project comes with a complete users CRUD (create, read, update, delete) that includes a list page with filters and pagination, and edit/create pages with a form for editing users that includes an AJAX-based role search field.
  • Structure: The project organizes the front-end code into different directories for improved readability. These directories include views (pages, icons, layouts, components), helpers, plugins, router, services, stores, and stub.

Summary

The Laravel Vue Starter project is a boilerplate theme aimed at simplifying the process of starting new Laravel/Vue projects. It provides features such as theming, authentication, authorization, localization, users CRUD, and a well-organized file structure. By using this theme, developers can save time and reduce code repetition when starting new projects.

laravel
Laravel

Laravel is a powerful and elegant PHP framework that provides developers with a comprehensive set of tools and features to build robust web applications. It follows the Model-View-Controller (MVC) architectural pattern, offering a clean and organized structure for writing efficient and maintainable code.

vite
Vite

Vite is a build tool that aims to provide a faster and leaner development experience for modern web projects

vue
Vue

Vue.js is a lightweight and flexible JavaScript framework that allows developers to easily build dynamic and reactive user interfaces. Its intuitive syntax, modular architecture, and focus on performance make it a popular choice for modern web development.

scss
SCSS

SCSS is a preprocessor scripting language that extends the capabilities of CSS by adding features such as variables, nesting, and mixins. It allows developers to write more efficient and maintainable CSS code, and helps to streamline the development process by reducing repetition and increasing reusability.

tailwind
Tailwind

Tailwind CSS is a utility-first CSS framework that provides pre-defined classes for building responsive and customizable user interfaces.

pinia
Pinia

Pinia is the official state management library for Vue.js. It provides a simple and intuitive API with full TypeScript support, devtools integration, and modular design. Pinia replaces Vuex as the recommended state management solution for Vue 3.

postcss
Postcss

PostCSS is a popular open-source tool that enables web developers to transform CSS styles with JavaScript plugins. It allows for efficient processing of CSS styles, from applying vendor prefixes to improving browser compatibility, ultimately resulting in cleaner, faster, and more maintainable code.

typescript
Typescript

TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.