PHPackages                             pyaesoneaung/laravel-starter-kit-vue - 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. [Framework](/categories/framework)
4. /
5. pyaesoneaung/laravel-starter-kit-vue

ActiveProject[Framework](/categories/framework)

pyaesoneaung/laravel-starter-kit-vue
====================================

Laravel 12 Vue starter kit with built-in strict typing, enhanced code quality tools, and safety features.

v0.0.4(1w ago)04MITVuePHP ^8.3CI failing

Since May 27Pushed 1mo agoCompare

[ Source](https://github.com/PyaeSoneAungRgn/laravel-starter-kit-vue)[ Packagist](https://packagist.org/packages/pyaesoneaung/laravel-starter-kit-vue)[ RSS](/packages/pyaesoneaung-laravel-starter-kit-vue/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (3)Dependencies (61)Versions (5)Used By (0)

Laravel Starter Kit Vue
=======================

[](#laravel-starter-kit-vue)

Laravel 12 Vue starter kit with built-in strict typing, enhanced code quality tools, and safety features.

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

[](#installation)

```
laravel new --using pyaesoneaung/laravel-starter-kit-vue --git
```

Setup Git Hooks

```
npm install
```

Features
--------

[](#features)

### ✅ Strict Models

[](#-strict-models)

```
Model::shouldBeStrict();
```

This does three things:

1. Prevents lazy loading
2. It prevents silently discarding attributes.
3. It prevents accessing missing attributes.

---

### ✋ Prevent Destructive Commands

[](#-prevent-destructive-commands)

Preventing the execution of destructive commands in production environments.

```
DB::prohibitDestructiveCommands(app()->isProduction());
```

---

### ⚡️ Automatic Relation Loading

[](#️-automatic-relation-loading)

Laravel can automatically eager load the relationships you access.

```
Model::automaticallyEagerLoadRelationships();
```

---

### 🪝 Git Commit Hook

[](#-git-commit-hook)

Run duster lint for PHPStan, duster fix for refactor with Rector, and format with Laravel Pint before every commit.

#### Default Laravel Rector Rules

[](#default-laravel-rector-rules)

The following Rector rules are applied via `LaravelSetList::LARAVEL_CODE_QUALITY`, `LARAVEL_COLLECTION`, and `LARAVEL_TYPE_DECLARATIONS` sets, targeting `app/`, `config/`, `routes/`, and all module source directories.

```
// rector.php
return RectorConfig::configure()
    ->withPaths([
        __DIR__.'/app',
        __DIR__.'/config',
        __DIR__.'/routes',
        __DIR__.'/app-modules/*/src',
    ])
    ->withSetProviders(LaravelSetProvider::class)
    ->withComposerBased(laravel: true)
    ->withSets([
        LaravelSetList::LARAVEL_CODE_QUALITY,
        LaravelSetList::LARAVEL_COLLECTION,
        LaravelSetList::LARAVEL_TYPE_DECLARATIONS,
    ])
    ->withPhpSets();
```

##### EloquentMagicMethodToQueryBuilderRector

[](#eloquentmagicmethodtoquerybuilderrector)

```
 use App\Models\User;

-$user = User::find(1);
+$user = User::query()->find(1);
```

##### EloquentWhereRelationTypeHintingParameterRector

[](#eloquentwhererelationtypehintingparameterrector)

```
-User::whereHas('posts', function ($query) {
+User::whereHas('posts', function (Builder $query) {
     $query->where('is_published', true);
 });

-$query->whereHas('posts', function ($query) {
+$query->whereHas('posts', function (Builder $query) {
     $query->where('is_published', true);
 });
```

##### EloquentWhereTypeHintClosureParameterRector

[](#eloquentwheretypehintclosureparameterrector)

```
 /** @var \Illuminate\Contracts\Database\Query\Builder $query */
-$query->where(function ($query) {
+$query->where(function (Builder $query) {
     $query->where('id', 1);
 });
```

##### ModelCastsPropertyToCastsMethodRector

[](#modelcastspropertytocastsmethodrector)

```
 use Illuminate\Database\Eloquent\Model;

 class Person extends Model
 {
-    protected $casts = [
-        'age' => 'integer',
-    ];
+    protected function casts(): array
+    {
+        return [
+            'age' => 'integer',
+        ];
+    }
 }
```

##### ScopeNamedClassMethodToScopeAttributedClassMethodRector

[](#scopenamedclassmethodtoscopeattributedclassmethodrector)

```
 class User extends Model
 {
-    public function scopeActive($query)
+    #[\Illuminate\Database\Eloquent\Attributes\Scope]
+    protected function active($query)
     {
         return $query->where('active', 1);
     }
 }
```

##### WhereToWhereLikeRector

[](#wheretowherelikerector)

```
-$query->where('name', 'like', 'Rector');
-$query->orWhere('name', 'like', 'Rector');
-$query->where('name', 'like binary', 'Rector');
+$query->whereLike('name', 'Rector');
+$query->orWhereLike('name', 'Rector');
+$query->whereLike('name', 'Rector', true);
```

---

### 🧩 Modular

[](#-modular)

This starter kit uses `internachi/modular` for domain modules under `app-modules/`.

```
php artisan make:module {name}
php artisan make:model {Name} --module={module}
php artisan modules:list
php artisan modules:sync
php artisan test app-modules/{module-name}/tests
```

---

### 😺 GitHub Actions

[](#-github-actions)

Automated workflows for continuous integration, running Laravel Pint and PHPStan on every push and pull request.

###  Health Score

39

—

LowBetter than 84% of packages

Maintenance95

Actively maintained with recent releases

Popularity3

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity46

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 ~146 days

Total

4

Last Release

11d ago

PHP version history (2 changes)v0.0.1PHP ^8.2

v0.0.2PHP ^8.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/b4a938e91069afb632288ccdb87813e19c0d0fc86189f73daa33464e0d2a0367?d=identicon)[pyaesoneaung](/maintainers/pyaesoneaung)

---

Top Contributors

[![PyaeSoneAungRgn](https://avatars.githubusercontent.com/u/44226349?v=4)](https://github.com/PyaeSoneAungRgn "PyaeSoneAungRgn (21 commits)")

---

Tags

frameworklaravel

###  Code Quality

TestsPest

Static AnalysisPHPStan, Rector

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/pyaesoneaung-laravel-starter-kit-vue/health.svg)

```
[![Health](https://phpackages.com/badges/pyaesoneaung-laravel-starter-kit-vue/health.svg)](https://phpackages.com/packages/pyaesoneaung-laravel-starter-kit-vue)
```

###  Alternatives

[unopim/unopim

UnoPim Laravel PIM

10.8k2.5k](/packages/unopim-unopim)[bagisto/bagisto

Bagisto Laravel E-Commerce

28.0k175.2k9](/packages/bagisto-bagisto)[code16/sharp

Laravel Content Management Framework

79466.1k10](/packages/code16-sharp)

PHPackages © 2026

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