iadewunmi / arbour
This package implements the Arbour Software Architectural Pattern
Requires
- php: ^8.2
- illuminate/contracts: ^10.0|^11.0
- spatie/laravel-data: ^4.5
- spatie/laravel-package-tools: ^1.14.0
Requires (Dev)
- laravel/pint: ^1.0
- nunomaduro/collision: ^7.9|^8.1
- nunomaduro/larastan: ^2.0
- orchestra/testbench: ^8.0|^9.0
- pestphp/pest: ^2.0
- pestphp/pest-plugin-arch: ^2.0
- pestphp/pest-plugin-laravel: ^2.0
- phpstan/extension-installer: ^1.1
- phpstan/phpstan-deprecation-rules: ^1.0
- phpstan/phpstan-phpunit: ^1.0
This package is auto-updated.
Last update: 2025-06-16 11:16:29 UTC
README
Requirements
- Laravel 11
- Filament 3
- Spatie/Laravel-Data v4
Roadmap
- Add Stem folder generator command
- Auto import MainServiceProvider to StemProvider
- Remove RouteServiceProvider
- Support Filament v3, add FilamentPlugin to generator
- Update Arbour installing documentation
Installation
You can install the package via composer:
composer require iadewunmi/arbour
And run this command to copy Stem folder and import StemProvider
php artisan arbour:init
You can try running this command to check the successful installation Arbour:
php artisan arbour:check
You can publish the config file with:
php artisan vendor:publish --tag="arbour"
Usage
You can generate new container via command:
php artisan make:arbour-branch
You can see other generate commands:
php artisan make:arbour
Standard Container's Structure:
Branch
├── Database
├── Models
├── Providers
│ └── MainServiceProvider.php
└── UI
├── WEB
│ ├── Routes
│ ├── Controllers
│ └── Views
├── API
│ ├── Routes
│ ├── Controllers
│ ├── Actions
│ ├── DTO
│ ├── RequestDTO
│ └── Routes
└── CLI
├── Routes
└── Commands
Filament v2 Structure:
Branch
├── Providers
│ └── FilamentServiceProvider.php
└── UI
└── Filament
└── Resources
└── FilamentResource.php
Filament v3 Structure:
Branch
└── UI
└── Filament
├── Resources
│ └── FilamentResource.php
└── FilamentPlugin.php
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.