Skip to content
Back to search

laravel-vue-starter

AI-native Laravel/Vue boilerplate. Tailwind + DaisyUI, Sanctum, Fortify, Pinia. Built-in agent skills for Claude Code, Cursor, Copilot, Gemini & Junie.

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today
Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/gdarko--laravel-vue-starter/badge.svg)](/listings/gdarko--laravel-vue-starter)

HTML

<a href="/listings/gdarko--laravel-vue-starter"><img src="/api/listings/gdarko--laravel-vue-starter/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

Install instructions from the README

As written by the repo's author. findsafeskills has not verified these steps.

git clone https://github.com/gdarko/laravel-vue-starter.git
cd laravel-vue-starter
composer install
cp .env.example .env
php artisan key:generate
npm install
php artisan migrate --seed

Start the development servers:

# Terminal 1
php artisan serve

# Terminal 2
npm run dev

Open `http://localhost:8000` and login with: - **Email:** luke@jedi.com - **Password:** 123123

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

README.md · README · 177 lines

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

  1. # Laravel Vue Starter
  2. An opinionated Laravel 13 + Vue 3 starter template for building modern admin panels and SPA applications. Ships with authentication, authorization, user management, and a polished UI — so you can skip the boilerplate and start building.
  3. ## Stack
  4. | Layer | Technology |
  5. |-------|-----------|
  6. | **Backend** | Laravel 13, PHP 8.3+ |
  7. | **Frontend** | Vue 3 (Composition API), Pinia 3, Vue Router 5 |
  8. | **UI** | DaisyUI 5, Tailwind CSS 4, Heroicons |
  9. | **Auth** | Laravel Sanctum (cookie-based SPA), Laravel Fortify |
  10. | **Authorization** | Bouncer (roles & abilities) |
  11. | **Media** | Spatie Media Library (avatar uploads with conversions) |
  12. | **Build** | Vite 8 |
  13. ## Features
  14. - **Authentication** — Login, register, forgot/reset password, email verification
  15. - **Authorization** — Role-based access control with Bouncer (admin/regular roles)
  16. - **User Management** — Full CRUD with sidebar drawer, filters, sorting, pagination
  17. - **Dark Mode** — Light/dark theme toggle, persisted in localStorage
  18. - **Collapsible Sidebar** — With tooltips when collapsed, persisted state
  19. - **Toast Notifications** — System-wide success/error/info/warning toasts
  20. - **Localization** — i18n support (English + Macedonian included)
  21. - **Profile Page** — Tabbed settings (general, password, avatar) with cover header
  22. - **Component Library** — Buttons, inputs, tables, modals, badges, spinners, file upload, dropdowns
  23. - **Components Showcase** — Built-in page at `/panel/components` demonstrating all UI components
  24. ## Quick Start
  25. ```bash
  26. git clone https://github.com/gdarko/laravel-vue-starter.git
  27. cd laravel-vue-starter
  28. composer install
  29. cp .env.example .env
  30. php artisan key:generate
  31. npm install
  32. php artisan migrate --seed
  33. ```
  34. Start the development servers:
  35. ```bash
  36. # Terminal 1
  37. php artisan serve
  38. # Terminal 2
  39. npm run dev
  40. ```
  41. Open `http://localhost:8000` and login with:
  42. - **Email:** luke@jedi.com
  43. - **Password:** 123123
  44. ## CORS / Domain Setup
  45. For Sanctum SPA auth to work, update `.env`:
  46. ```env
  47. # Local development
  48. APP_URL=http://localhost:8000
  49. SANCTUM_STATEFUL_DOMAINS=localhost:8000
  50. SESSION_DOMAIN=localhost
  51. # Production
  52. APP_URL=https://myapp.com
  53. SANCTUM_STATEFUL_DOMAINS=myapp.com
  54. SESSION_DOMAIN=myapp.com
  55. ```
  56. ## Project Structure
  57. ```
  58. resources/app/
  59. ├── views/
  60. │ ├── layouts/ # Page, Menu, Auth layouts
  61. │ ├── components/ # Reusable UI (Button, Table, Modal, Panel, etc.)
  62. │ │ ├── icons/ # Icon, Avatar, Spinner
  63. │ │ ├── input/ # Button, TextInput, FileInput, Dropdown
  64. │ │ └── filters/ # Filters, FiltersRow, FiltersCol
  65. │ └── pages/
  66. │ ├── auth/ # Login, Register, Forgot/Reset Password
  67. │ ├── private/ # Dashboard, Profile, Users, Components
  68. │ └── shared/ # 404
  69. ├── stores/ # Pinia (auth, toast, alert, global)
  70. ├── services/ # API services (AuthService, UserService, etc.)
  71. ├── router/ # Vue Router with auth guards
  72. ├── helpers/ # Utilities (api, i18n, data, routing, alert)
  73. ├── plugins/ # Axios, i18n config
  74. └── stub/ # Static constants (abilities)
  75. ```
  76. ## Components
  77. All components are in `resources/app/views/components/`. Visit `/panel/components` in the app for a live showcase.
  78. | Component | Description | Key Props |
  79. |-----------|-------------|-----------|
  80. | **Button** | Button / router-link | `label`, `icon`, `theme`, `to`, `disabled` |
  81. | **TextInput** | Text, email, password, textarea | `name`, `label`, `type`, `v-model`, `required` |
  82. | **FileInput** | Drag & drop file upload | `name`, `v-model`, `accept`, `multiple` |
  83. | **Dropdown** | Select with server-side search | `name`, `v-model`, `server`, `multiple` |
  84. | **Table** | Sortable table with skeleton loading | `headers`, `records`, `actions`, `sorting`, `pagination` |
  85. | **Modal** | Dialog with backdrop | `title`, `is-showing`, `is-loading` |
  86. | **Panel** | Card container | `title`, `is-loading`, `body-padding` |
  87. | **Badge** | Status label | `theme` (success, info, warning, error) |
  88. | **Alert** | Inline alert (from alert store) | — |
  89. | **Toast** | System-wide notifications (auto) | — |
  90. | **Icon** | [Heroicons](https://heroicons.com) wrapper | `name`, `class` |
  91. | **Spinner** | Loading indicator | `text`, `text-new-line` |
  92. | **Avatar** | Default user avatar SVG | — |
  93. ### Adding Icons
  94. The `Icon` component wraps [Heroicons](https://heroicons.com). To add a new icon:
  95. 1. Browse icons at [heroicons.com](https://heroicons.com)
  96. 2. Import it in `resources/app/views/components/icons/Icon.vue`
  97. 3. Add a short name to the `iconMap`
  98. ```vue
  99. <Icon name="users" class="h-5 w-5" />
  100. ```
  101. ### Theming
  102. Theme colors are defined in `resources/styles/main.css` using DaisyUI's CSS variable system with oklch colors. Both light and dark themes use a teal primary palette.
  103. To customize, edit the `[data-theme="light"]` and `[data-theme="dark"]` blocks in `main.css`.
  104. ## AI Agent Skills
  105. This project includes [Claude Code](https://claude.ai/code) skills in `.claude/skills/` for AI-assisted development:
  106. | Skill | Purpose |
  107. |-------|---------|
  108. | `vue-component-development` | Vue 3 component patterns, DaisyUI usage, icon system, drawer CRUD, toast notifications |
  109. | `spa-auth-development` | Sanctum SPA auth flow, router guards, CORS config, auth store lifecycle |
  110. | `laravel-best-practices` | Laravel PHP patterns (from Laravel Boost) |
  111. | `fortify-development` | Authentication features — login, register, 2FA, password reset |
  112. | `medialibrary-development` | Spatie Media Library — file uploads, collections, conversions |
  113. Skills are activated automatically by AI agents when working in relevant areas. They provide domain-specific conventions and patterns to ensure consistent, high-quality code.
  114. ## NPM Scripts
  115. | Command | Description |
  116. |---------|-------------|
  117. | `npm run dev` | Start Vite dev server with HMR |
  118. | `npm run build` | Production build |
  119. | `npm run watch` | Dev build with file watching |
  120. ## Contributing
  121. Pull requests are welcome. Please follow existing code conventions and run `./vendor/bin/pint` before submitting PHP changes.
  122. ## License
  123. ```
  124. Copyright (C) 2022-2026 Darko Gjorgjijoski (https://darkog.com)
  125. This file is part of Laravel Vue Starter
  126. Laravel Vue Starter is free software: you can redistribute it and/or modify
  127. it under the terms of the GNU General Public License as published by
  128. the Free Software Foundation, either version 2 of the License, or
  129. (at your option) any later version.
  130. Laravel Vue Starter is distributed in the hope that it will be useful,
  131. but WITHOUT ANY WARRANTY; without even the implied warranty of
  132. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  133. GNU General Public License for more details.
  134. You should have received a copy of the GNU General Public License
  135. along with Laravel Vue Starter. If not, see <https://www.gnu.org/licenses/>.
  136. ```

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.