Fresh Package: Laravel Package Skeleton with Testbench, CI, and Boost Integration
Fresh Package provides a modern boilerplate for developing Laravel packages, equipped with Orchestra Testbench, GitHub Actions CI matrices, Pest PHP, and Laravel Boost.
Modern Package Development with Fresh Package
Creating a reusable Laravel package often involves hours of repetitive setup: configuring Composer autoloaders, wiring Orchestra Testbench, authoring GitHub Actions test matrices, and writing service providers. Fresh Package is a streamlined skeleton repository that gives you a complete, production-ready package architecture in seconds.
What’s Included in the Skeleton
- Pest PHP 3 + Orchestra Testbench: Pre-wired testing environment supporting both feature and unit testing across multiple Laravel and PHP versions.
- GitHub Actions Matrix: Automated continuous integration testing against PHP 8.3 and PHP 8.4 across current Laravel versions.
- Laravel Boost Integration: Built-in support for Laravel Boost skills to ensure consistent formatting, static analysis (PHPStan level 9), and security audits.
- Automatic Service Provider Discovery: Configured
composer.jsonextra attributes ready for immediate installation.
Spinning Up a New Package
# Create your new package using composer create-project
composer create-project fresh-package/laravel-skeleton my-laravel-package --prefer-dist
cd my-laravel-package
# Run test suite immediately
./vendor/bin/pest
Fresh Package removes the friction from open-source contribution and internal company package distribution.