PHPackages                             piovezanfernando/laravel-api-vue-forge - 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. [API Development](/categories/api)
4. /
5. piovezanfernando/laravel-api-vue-forge

ActiveLibrary[API Development](/categories/api)

piovezanfernando/laravel-api-vue-forge
======================================

Laravel API and Vue.js Code Generator - Database-first approach

0.0.2(1mo ago)14[1 issues](https://github.com/piovezanfernando/laravel-api-vue-forge/issues)[1 PRs](https://github.com/piovezanfernando/laravel-api-vue-forge/pulls)MITPHPPHP ^8.3.0CI passing

Since Jan 12Pushed 1mo agoCompare

[ Source](https://github.com/piovezanfernando/laravel-api-vue-forge)[ Packagist](https://packagist.org/packages/piovezanfernando/laravel-api-vue-forge)[ RSS](/packages/piovezanfernando-laravel-api-vue-forge/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (18)Versions (5)Used By (0)

Laravel API Vue Forge
=====================

[](#laravel-api-vue-forge)

Laravel API and Vue.js Code Generator - Database-first approach.

[![Latest Stable Version](https://camo.githubusercontent.com/92f3c3b2c7e642d01735bdf93100d7499e2057ea793123f3b030038def3acc2c/68747470733a2f2f706f7365722e707567782e6f72672f70696f76657a616e6665726e616e646f2f6c61726176656c2d6170692d7675652d666f7267652f76)](https://packagist.org/packages/piovezanfernando/laravel-api-vue-forge)[![Total Downloads](https://camo.githubusercontent.com/e84a9707a52fcfb87e3325045491cd713cc7e524bf65e28c1f8261b248bb0793/68747470733a2f2f706f7365722e707567782e6f72672f70696f76657a616e6665726e616e646f2f6c61726176656c2d6170692d7675652d666f7267652f646f776e6c6f616473)](https://packagist.org/packages/piovezanfernando/laravel-api-vue-forge)[![License](https://camo.githubusercontent.com/322d5ccdd106cf9032fc972c61d06ab50897dad91e6022947d37c9c640f9ded0/68747470733a2f2f706f7365722e707567782e6f72672f70696f76657a616e6665726e616e646f2f6c61726176656c2d6170692d7675652d666f7267652f6c6963656e7365)](https://packagist.org/packages/piovezanfernando/laravel-api-vue-forge)[![PHP Version Require](https://camo.githubusercontent.com/c18f58a3d777d23ef8e8a9a387bc259679aeb0bca7f8fab501ddf592985583c3/68747470733a2f2f706f7365722e707567782e6f72672f70696f76657a616e6665726e616e646f2f6c61726176656c2d6170692d7675652d666f7267652f726571756972652f706870)](https://packagist.org/packages/piovezanfernando/laravel-api-vue-forge)

Generate high-quality APIs and Vue.js (Quasar) frontends directly from your existing database tables.

Features
--------

[](#features)

- **Database-first**: Uses your existing database schema as the source of truth.
- **RESTful API**: Generates Controllers, Requests, Resources, and Routes.
- **Service &amp; Repository Patterns**: Implements clean architecture by default.
- **Vue.js + Quasar**: Generates a complete frontend based on Quasar Framework.
- **Automated Tests**: Generates Pest/PHPUnit tests for your APIs and Repositories.
- **Rollback Support**: Easy rollback of generated files.

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

[](#installation)

```
composer require piovezanfernando/laravel-api-vue-forge
```

Quick Start
-----------

[](#quick-start)

### 1. Publish Configuration

[](#1-publish-configuration)

```
php artisan apiforge:publish
```

### 2. Setup Frontend (Optional but Recommended)

[](#2-setup-frontend-optional-but-recommended)

```
php artisan apiforge:setup-front
```

### 3. Generate API from Table

[](#3-generate-api-from-table)

```
php artisan apiforge:api Post --fromTable --table=posts
```

### 3. Generate Vue.js Frontend

[](#3-generate-vuejs-frontend)

```
php artisan apiforge:front-quasar Post
```

Available Commands
------------------

[](#available-commands)

CommandDescription`apiforge:api`Generate API from a table`apiforge:front-quasar`Generate Quasar-based frontend`apiforge:setup-front`Setup the frontend project by cloning the repository`apiforge:publish`Publish configuration and base files`apiforge:rollback`Rollback generated files`apiforge:migration`Generate a migration from table (internal use)`apiforge:model`Generate a model from table`apiforge:repository`Generate a repository for a modelConfiguration
-------------

[](#configuration)

The configuration file is located at `config/laravel_api_vue_forge.php`.

Credits
-------

[](#credits)

- [Fernando Piovezan](https://github.com/piovezanfernando)
- Based on the original InfyOm Laravel Generator.

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance72

Regular maintenance activity

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity42

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

Every ~77 days

Total

2

Last Release

42d ago

PHP version history (2 changes)0.0.1PHP ^8.1.0

0.0.2PHP ^8.3.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/5fb338b83f80fecbf4481a08bf88a5f418ced9ffcdc550c9fb7d8062e3994266?d=identicon)[piovezanfernando](/maintainers/piovezanfernando)

---

Top Contributors

[![piovezanfernando](https://avatars.githubusercontent.com/u/38543704?v=4)](https://github.com/piovezanfernando "piovezanfernando (12 commits)")

---

Tags

apilaravelgeneratorcode generatorcrudrepository patternvueapi-generatorquasardatabase-first

###  Code Quality

TestsPest

### Embed Badge

![Health badge](/badges/piovezanfernando-laravel-api-vue-forge/health.svg)

```
[![Health](https://phpackages.com/badges/piovezanfernando-laravel-api-vue-forge/health.svg)](https://phpackages.com/packages/piovezanfernando-laravel-api-vue-forge)
```

###  Alternatives

[infyomlabs/laravel-generator

InfyOm Laravel Generator

3.8k2.3M13](/packages/infyomlabs-laravel-generator)[okami101/laravel-admin

Admin panel generator for Laravel 8 and based on Vuetify Admin, a separate SPA admin framework running on top of REST APIs.

382.1k](/packages/okami101-laravel-admin)

PHPackages © 2026

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