PHPackages                             nosleepman1/arch-cli - 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. nosleepman1/arch-cli

ActiveLibrary

nosleepman1/arch-cli
====================

A Laravel package to generate complete backend architecture from business models

v1.0.0(1mo ago)311MITPHPPHP ^8.1CI failing

Since May 16Pushed 1mo agoCompare

[ Source](https://github.com/nosleepman1/arch-cli)[ Packagist](https://packagist.org/packages/nosleepman1/arch-cli)[ RSS](/packages/nosleepman1-arch-cli/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (1)Dependencies (3)Versions (8)Used By (0)

Arch CLI
========

[](#arch-cli)

A Laravel package to generate a complete, structured backend architecture from business models.

This package provides Artisan commands to scaffold Models, Migrations, Controllers, Services, Repositories, Policies, Events, Listeners, Notifications, and Resources in a single interactive execution, enforcing clean architecture principles and separation of concerns.

Documentation
-------------

[](#documentation)

For detailed usage, configuration, and guidelines, please refer to the following documents:

- [English Guide](docs/GUIDE.md) - Complete documentation and usage examples.
- [French Guide (Guide en Français)](docs/GUIDE.fr.md) - Documentation complète en français.
- [French README (README en Français)](docs/README.fr.md) - Présentation générale en français.
- [Contributing Guidelines](docs/CONTRIBUTING.md) - How to contribute to this project.
- [Release Notes](docs/RELEASE_NOTES.md) - Version history and changes.

Key Features
------------

[](#key-features)

- Single Command Scaffolding: Create Models, Migrations, versioned Controllers, Services, Repositories, Form Requests, Resources, Policies, Events, Listeners, and Notifications at once.
- Clean Architecture: Automatically isolates business logic within a Service layer and abstracts database access with Repositories.
- Interactive CLI: Prompts guide you through defining fields (name and type), selecting API versions, and choosing which architectural components to generate.
- Smart Form Requests: Generates validation rules dynamically, including proper database uniqueness rules.

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

[](#installation)

Install the package via Composer:

```
composer require nosleepman1/arch-cli
```

The package service provider will be automatically registered by Laravel Package Discovery.

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

[](#quick-start)

To generate a new module, execute the following command:

```
php artisan make:module {ModuleName}
```

You will be prompted to:

1. Define database fields in `name:type` format (e.g., `title:string`, `description:text`). Press Enter on an empty line to finish.
2. Select the API controller version (v1, v2, v3).
3. Toggle optional components (Services, Repositories, Policies, Events, Listeners, Notifications).

The package will then generate all files in their standard Laravel directory locations.

License
-------

[](#license)

This package is open-source software licensed under the MIT License. See the [LICENSE](LICENSE) file for more information.

###  Health Score

40

—

FairBetter than 86% of packages

Maintenance90

Actively maintained with recent releases

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

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

50d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/26129874?v=4)[Roggin](/maintainers/nosleepman)[@nosleepman](https://github.com/nosleepman)

---

Top Contributors

[![nosleepman1](https://avatars.githubusercontent.com/u/212015359?v=4)](https://github.com/nosleepman1 "nosleepman1 (52 commits)")

---

Tags

laravelphp8scripting

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/nosleepman1-arch-cli/health.svg)

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

###  Alternatives

[backpack/crud

Quickly build admin interfaces using Laravel, Bootstrap and JavaScript.

3.4k3.8M231](/packages/backpack-crud)[code16/sharp

Laravel Content Management Framework

79466.8k10](/packages/code16-sharp)[statamic-rad-pack/runway

Eloquently manage your database models in Statamic.

138249.0k8](/packages/statamic-rad-pack-runway)[duncanmcclean/statamic-cargo

Comprehensive e-commerce addon for Statamic. Build bespoke e-commerce sites without the complexity.

3622.8k](/packages/duncanmcclean-statamic-cargo)[ecotone/laravel

Ecotone for Laravel — CQRS, Event Sourcing, Sagas, Durable Workflows, and Outbox on top of Laravel Queue, via PHP attributes.

21336.4k4](/packages/ecotone-laravel)

PHPackages © 2026

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