oe2i / groy-package
Opinionated Laravel 13 package starter kit.
Requires
- php: ^8.5
- laravel/framework: ^13.0
- laravel/prompts: ^0.3.27
Requires (Dev)
- driftingly/rector-laravel: ^2.7
- fakerphp/faker: ^1.24
- larastan/larastan: ^3.15
- laravel/pint: ^1.27
- mockery/mockery: ^1.6
- nunomaduro/collision: ^8.9.3
- orchestra/testbench: ^11.0
- peckphp/peck: ^0.3.0
- pestphp/pest: ^5.3
- pestphp/pest-plugin-agent: ^5.0
- pestphp/pest-plugin-arch: ^5.0
- pestphp/pest-plugin-browser: ^5.2
- pestphp/pest-plugin-evals: ^5.0
- pestphp/pest-plugin-faker: ^5.0
- pestphp/pest-plugin-laravel: ^5.0
- pestphp/pest-plugin-livewire: ^5.0
- pestphp/pest-plugin-phpstan: ^5.0
- pestphp/pest-plugin-profanity: ^5.0
- pestphp/pest-plugin-rector: ^5.0
- pestphp/pest-plugin-stressless: ^5.0
- pestphp/pest-plugin-type-coverage: ^5.1
- phpstan/phpstan: ^2.2
- rector/rector: ^2.8
- roave/security-advisories: dev-latest
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-11-29 22:23:29 UTC
README
📦 GROY PACKAGE
Opinionated Laravel 13 Package Starter Kit
Groy Package (oe2i/groy-package) is an opinionated Laravel 13 package starter kit by Oe2i, pre-configured with PHP 8.5, Orchestra Testbench, Pest 5, PHPStan (level: max), Laravel Pint, Rector, and Peck.
Table of Contents
Requirements
- PHP
^8.5 - Laravel
^13.0 - Composer
^2.x
Quick Setup (via Composer)
Create a new Laravel 13 package from this starter kit:
composer create-project oe2i/groy-package my-package
cd my-package
The post-create-project-cmd script (scripts/configure.php) will prompt for your new package name (vendor/package), PSR-4 namespace, and description, update all references, and remove itself automatically. See docs/starter-kit.md for details.
Documentation
- Installation & Setup
- Configuration
- Testing with Orchestra Testbench
- Using as a Package Starter Kit
- Contributing & Releases
Local Development & Verification
- Install dependencies (also installs
.githooks/pre-commitfor automatic Pint formatting):composer install
- Verify Orchestra Testbench & Pest:
- Ensure
tests/TestCase.phpextendsOrchestra\Testbench\TestCaseand registersGroy\Package\Providers\PackageServiceProvideringetPackageProviders(). - Run the test suite:
composer oe:pest
- Ensure
- Run full quality & CI checks:
composer oe:test
Available Scripts
composer oe:pest # Run Pest tests composer oe:dirty # Run Pest tests on uncommitted changes composer oe:coverage # Run Pest with coverage composer oe:parallel # Run Pest in parallel composer oe:mutate # Run Pest mutation testing composer oe:type # Type coverage check (min 90%) composer oe:stan # PHPStan / Larastan analysis composer oe:pint # Format code with Pint composer oe:pint-check # Check code style without modifying composer oe:rector # Run Rector composer oe:rector-dry # Dry-run Rector composer oe:profanity # Profanity check composer oe:check # Validate composer.json, platform reqs, audit, outdated composer oe:ci # Full CI check composer release # Create a tag / GitHub release (run from spartan)
Releases
Workflow:
- Develop and commit changes on
main(.githooks/pre-commitautomatically formats staged PHP files with Pint). - Merge
mainintospartanwhen ready to release (or usecomposer push:spartanto runoe:cibefore pushing). - Run
composer releasefromspartan(or include[release:major|minor|patch]in a PR merged tomainto trigger.github/workflows/release.yml):
composer release -- <major|minor|patch> [--alpha|--beta|--rc]
When to use each bump:
patch(v1.0.1): Backwards-compatible bug fixes. Creates a git tag only (Composer installs it automatically).minor(v1.1.0): Backwards-compatible new features. Creates a git tag and a GitHub Release.major(v2.0.0): Breaking changes. Creates a git tag and a GitHub Release.
Pre-release flags (optional with major, minor, or patch):
--alpha(v1.1.0-alpha.1): Early internal/experimental testing; unstable.--beta(v1.1.0-beta.1): Feature-complete, undergoing broader testing.--rc(v1.1.0-rc.1): Release Candidate—ready for final verification before stable release.
Pre-releases create a GitHub Release flagged as Pre-release (never Latest).
CI, Commits & Push Workflow
- Run
composer push:spartanto executecomposer oe:cilocally before pushing tospartan. - Follow the commit format defined in .gitmessage.
Changelog
See CHANGELOG.md for a history of notable changes.
Maintainer
- Anthony Osawere, AO™
🌐 osawere.com
✉️anthony@osawere.com
Support
- 🐛 Issues
Copyright © 2026 Oe2i™.