PHPackages                             lutfi/laravel-boilerplate - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. lutfi/laravel-boilerplate

ActiveProject[Utility &amp; Helpers](/categories/utility)

lutfi/laravel-boilerplate
=========================

A Laravel 10 boilerplate with Vue.js frontend and API endpoints for mobile development

v1.0.0(1y ago)02MITPHPPHP ^8.1

Since Dec 3Pushed 1y ago1 watchersCompare

[ Source](https://github.com/ltfw/laravel-boilerplate)[ Packagist](https://packagist.org/packages/lutfi/laravel-boilerplate)[ RSS](/packages/lutfi-laravel-boilerplate/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (11)Versions (2)Used By (0)

Laravel 10 Boilerplate with Vue.js
==================================

[](#laravel-10-boilerplate-with-vuejs)

A modern Laravel 10 boilerplate with Vue.js 3 frontend and API endpoints for mobile development.

Features
--------

[](#features)

- Laravel 10.x
- Vue 3 with Composition API
- Vue Router for SPA
- Vuex for state management
- TailwindCSS for styling
- Laravel Sanctum for API authentication
- Spatie Permission for roles and permissions
- API endpoints ready for mobile apps
- Modern authentication system
- Responsive design with TailwindCSS
- HeadlessUI and Heroicons integration

Requirements
------------

[](#requirements)

- PHP &gt;= 8.1
- Composer
- Node.js &gt;= 16
- NPM or Yarn

Installation
------------

[](#installation)

1. Create a new project:

```
composer create-project lutfi/laravel-boilerplate your-project-name
```

2. Navigate to your project:

```
cd your-project-name
```

3. Install PHP dependencies:

```
composer install
```

4. Install NPM dependencies:

```
npm install
```

5. Copy the environment file:

```
cp .env.example .env
```

6. Generate application key:

```
php artisan key:generate
```

7. Configure your database in `.env`
8. Run migrations:

```
php artisan migrate
```

9. Build frontend assets:

```
npm run build
```

Development
-----------

[](#development)

1. Start the Laravel development server:

```
php artisan serve
```

2. Start the Vite development server:

```
npm run dev
```

API Endpoints
-------------

[](#api-endpoints)

### Authentication

[](#authentication)

- POST `/api/v1/register` - Register a new user
- POST `/api/v1/login` - Login user
- POST `/api/v1/logout` - Logout user
- GET `/api/v1/user` - Get authenticated user

### Protected Routes

[](#protected-routes)

All protected routes require the `Authorization: Bearer {token}` header.

Frontend Structure
------------------

[](#frontend-structure)

```
resources/js/
├── App.vue              # Main app component
├── app.js              # Application entry point
├── router/             # Vue Router configuration
├── store/              # Vuex store modules
├── components/         # Reusable components
└── views/              # Page components

```

Contributing
------------

[](#contributing)

Feel free to submit pull requests or create issues for bugs and feature requests.

License
-------

[](#license)

This project is open-sourced software licensed under the MIT license.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance39

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

525d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/48ea9dfa02d4a4a6073754cb17f83254fe411094a7168d5ee56091323fbf294e?d=identicon)[lutfiw](/maintainers/lutfiw)

---

Top Contributors

[![lutfi-erista](https://avatars.githubusercontent.com/u/187350473?v=4)](https://github.com/lutfi-erista "lutfi-erista (1 commits)")

###  Code Quality

TestsPHPUnit

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/lutfi-laravel-boilerplate/health.svg)

```
[![Health](https://phpackages.com/badges/lutfi-laravel-boilerplate/health.svg)](https://phpackages.com/packages/lutfi-laravel-boilerplate)
```

###  Alternatives

[blair2004/nexopos

The Free Modern Point Of Sale System build with Laravel, TailwindCSS and Vue.js.

1.2k2.3k](/packages/blair2004-nexopos)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
