PHPackages                             frontier/frontier - 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. frontier/frontier

ActiveLibrary[Framework](/categories/framework)

frontier/frontier
=================

Laravel Frontier Starter Kit

v1.0.0(6mo ago)043MITPHPPHP &gt;=8.2

Since Dec 13Pushed 6mo ago1 watchersCompare

[ Source](https://github.com/0xKhdr/frontier)[ Packagist](https://packagist.org/packages/frontier/frontier)[ RSS](/packages/frontier-frontier/feed)WikiDiscussions main Synced today

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

Frontier
========

[](#frontier)

 **🚀 A Modular Laravel Starter Kit for Enterprise Applications**

 [Installation](#installation) • [Packages](#packages) • [Quick Start](#quick-start) • [Commands](#commands) • [Development](#development)

---

**Frontier** is a Laravel meta-package that bootstraps your application with battle-tested architectural patterns through an interactive CLI installer.

✨ Key Features
--------------

[](#-key-features)

FeatureDescription**Interactive Installer**Beautiful CLI powered by Laravel Prompts**Modular Design**Install only what you need**Repository Caching**Built-in caching layer for repositories**Module Support**Works with internachi/modular**Strict Types**All packages use `declare(strict_types=1)`**Pest Testing**Modern testing framework included---

📦 Packages
----------

[](#-packages)

PackageDescriptionKey Features**frontier**Meta-package installerInteractive component selection**frontier/action**Action patternSingle-purpose classes, Eloquent actions, module support**frontier/repository**Repository patternCRUD abstraction, **caching decorator**, interface generation**frontier/modular**Modular architectureinternachi/modular integration (Note: This package is a wrapper around [internachi/modular](https://github.com/InterNACHI/modular) with no extra features for now)---

🔧 Requirements
--------------

[](#-requirements)

- PHP &gt;= 8.2
- Laravel 10.x, 11.x, or 12.x

---

🚀 Installation
--------------

[](#-installation)

### Full Installation

[](#full-installation)

```
composer require frontier/frontier
php artisan frontier:install
```

### Individual Packages

[](#individual-packages)

```
composer require frontier/action
composer require frontier/repository
composer require frontier/modular
```

---

📚 Quick Start
-------------

[](#-quick-start)

### Action Pattern

[](#action-pattern)

```
php artisan frontier:action CreateUser
php artisan frontier:action CreateUser --module=user-management
```

```
use Frontier\Actions\BaseAction;

class CreateUser extends BaseAction
{
    public function handle(array $data): User
    {
        return User::create($data);
    }
}

// Usage
$user = CreateUser::exec($data);
```

### Repository Pattern

[](#repository-pattern)

```
php artisan frontier:repository UserRepositoryEloquent
php artisan frontier:repository-cache UserRepositoryCache
```

```
use Frontier\Repositories\BaseRepository;

class UserRepositoryEloquent extends BaseRepository
{
}
```

```
// Binding in ServiceProvider
$this->app->bind(UserRepository::class, function ($app) {
    return new UserRepositoryCache(
        new UserRepositoryEloquent(new User())
    );
});

// Usage
$users = $this->users->retrieve();           // Automatically cached
$users->refreshCache()->retrieve();          // Force refresh
```

### Module System

[](#module-system)

```
php artisan make:module user-management
php artisan make:model User --module=user-management
```

---

📝 Artisan Commands
------------------

[](#-artisan-commands)

### Frontier Core

[](#frontier-core)

```
php artisan frontier:install
```

### Action Package

[](#action-package)

```
php artisan frontier:action {name}
php artisan frontier:action {name} --module
php artisan frontier:action {name} --module=xyz
```

### Repository Package

[](#repository-package)

```
php artisan frontier:repository {name}
php artisan frontier:repository-cache {name}
php artisan frontier:repository-interface {name}
php artisan frontier:repository-action {name}
```

### Module Package

[](#module-package)

```
php artisan make:module {name}
php artisan modules:list
php artisan modules:sync
php artisan make:* --module={name}
```

---

🏗️ Architecture
---------------

[](#️-architecture)

```
┌─────────────────────────────────────────────────────────────────────┐
│                         frontier/frontier                            │
│                     (Interactive Installer)                          │
└──────────────────────────────┬──────────────────────────────────────┘
                               │
         ┌─────────────────────┼─────────────────────┐
         ▼                     ▼                     ▼
┌─────────────────┐  ┌─────────────────┐  ┌─────────────────┐
│ frontier/action │  │frontier/repository│ │ frontier/modular │
│                 │  │                   │ │                 │
│ • BaseAction    │  │ • BaseRepository  │ │ • internachi/   │
│ • EloquentAction│  │ • BaseRepositoryCache│ │   modular       │
│ • Eloquent/*    │  │ • Repository      │ │   integration   │
│                 │  │   Contract        │ └─────────────────┘
└─────────────────┘  └─────────────────┘

```

---

🛠️ Development
--------------

[](#️-development)

All packages follow consistent development practices:

```
composer test          # Run tests (Pest)
composer lint          # Fix code style (Pint)
composer lint:test     # Check code style
composer rector        # Apply refactorings
composer rector:dry    # Preview refactorings
```

---

🤝 Contributing
--------------

[](#-contributing)

1. Follow PSR-12 coding standards
2. Use Laravel Pint for code styling
3. Write tests using Pest
4. Add strict types to all PHP files

---

📄 License
---------

[](#-license)

MIT License - see [LICENSE](LICENSE) for details.

---

👤 Author
--------

[](#-author)

**Mohamed Khedr** —

---

 Made with ❤️ for the Laravel community

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance66

Regular maintenance activity

Popularity8

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

203d ago

### Community

Maintainers

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

---

Top Contributors

[![0xkhdr](https://avatars.githubusercontent.com/u/79449923?v=4)](https://github.com/0xkhdr "0xkhdr (22 commits)")

---

Tags

laravelboilerplatestarter-kitfrontier

###  Code Quality

TestsPest

Static AnalysisRector

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/frontier-frontier/health.svg)

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

###  Alternatives

[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M194](/packages/laravel-ai)[laravel/framework

The Laravel Framework.

34.8k543.8M20.1k](/packages/laravel-framework)[laravel/boost

Laravel Boost accelerates AI-assisted development by providing the essential context and structure that AI needs to generate high-quality, Laravel-specific code.

3.5k21.5M594](/packages/laravel-boost)[laravel/horizon

Dashboard and code-driven configuration for Laravel queues.

4.2k95.4M306](/packages/laravel-horizon)[laravel/sail

Docker files for running a basic Laravel application.

1.9k205.7M1.3k](/packages/laravel-sail)[laravel/mcp

Rapidly build MCP servers for your Laravel applications.

77022.3M151](/packages/laravel-mcp)

PHPackages © 2026

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