Search by

oe2i / groy-package

osawereao

Opinionated Laravel 13 package starter kit.

Package info

github.com/oe2i/groy-package

pkg:composer/oe2i/groy-package

Statistics

Installs: 2

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0.0-alpha.1 2026-11-25 00:43 UTC

This package is auto-updated.

Last update: 2026-11-29 22:23:29 UTC


README

📦 GROY PACKAGE

Opinionated Laravel 13 Package Starter Kit © 2026 Oe2i™

CI Tests Latest Release Total Downloads License

PHP Laravel PHPStan Pint Creator

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

Local Development & Verification

  1. Install dependencies (also installs .githooks/pre-commit for automatic Pint formatting):
    composer install
  2. Verify Orchestra Testbench & Pest:
    • Ensure tests/TestCase.php extends Orchestra\Testbench\TestCase and registers Groy\Package\Providers\PackageServiceProvider in getPackageProviders().
    • Run the test suite:
      composer oe:pest
  3. 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:

  1. Develop and commit changes on main (.githooks/pre-commit automatically formats staged PHP files with Pint).
  2. Merge main into spartan when ready to release (or use composer push:spartan to run oe:ci before pushing).
  3. Run composer release from spartan (or include [release:major|minor|patch] in a PR merged to main to 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:spartan to execute composer oe:ci locally before pushing to spartan.
  • 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
    dev-null.sh  LinkedIn  X  Instagram  TikTok  YouTube

Support

Copyright © 2026 Oe2i™.