shipwelldev / cornerstone-support
Evolving generators, stubs, standards, and installation guidance for Cornerstone Laravel applications.
Package info
github.com/shipwelldev/cornerstone-support
pkg:composer/shipwelldev/cornerstone-support
Requires
- php: ~8.4.0 || ~8.5.0
- laravel/framework: ^13.20
- livewire/livewire: ^4.3
Requires (Dev)
- larastan/larastan: ^3.0
- laravel/boost: ^2.4
- laravel/pint: ^1.27
- orchestra/testbench: ^11.0
- pestphp/pest: ^4.7
- pestphp/pest-plugin-browser: ^4.3
- pestphp/pest-plugin-laravel: ^4.1
Suggests
- laravel/boost: Required to discover and publish the package's agent guidelines and skills.
- pestphp/pest: Required to generate and run Pest tests.
- pestphp/pest-plugin-browser: Required to generate and run Pest browser tests.
- pestphp/pest-plugin-laravel: Required to run Pest tests in Laravel applications.
README
shipwelldev/cornerstone-support supplies the evolving tooling used by Cornerstone Laravel applications after their starter snapshot is created.
The package provides:
- Standards-compliant Artisan generators and adapters for Laravel, Livewire, and Pest artifacts.
- A publishable set of Cornerstone generator stubs.
- Laravel Boost guidelines that preserve Cornerstone's application conventions.
- Guided installation skills for Flux UI, Filament, and Statamic.
Requirements
- PHP 8.4 or 8.5
- Laravel 13.20+ within the 13.x release line
- Livewire 4.3+ within the 4.x release line
Installation
Install the package with Composer:
composer require shipwelldev/cornerstone-support
Laravel discovers the package service provider automatically.
Pest and its Laravel plugin are optional package suggestions, but they are required before using Cornerstone's test generators or generated Livewire tests:
composer require --dev pestphp/pest pestphp/pest-plugin-laravel
Install pestphp/pest-plugin-browser as a development dependency before generating browser tests.
Generators
The package adds Cornerstone generators such as:
php artisan make:data MissionBrief php artisan make:service PlanExpedition
It also reconciles supported framework generators with Cornerstone's coding standards, including strict types, application placement, model metadata, class-based Livewire components with direct Pest tests, and Pest-only test generation.
Run php artisan list to inspect every generator available in the installed application.
Stub Snapshots
Publish any missing Cornerstone stubs into the application's stubs directory:
php artisan cornerstone:stubs
Published stubs become application-owned snapshots. The command preserves existing local stubs unless forced. To replace every same-named file in the application's stubs directory with the package version, explicitly run:
php artisan cornerstone:stubs --force
Review local customizations before using --force.
Laravel Boost
Cornerstone Support exposes application guidelines and installation skills through Laravel Boost. Install Boost before discovering those resources:
composer require --dev laravel/boost
Then run:
php artisan boost:update --discover
The available installer skills guide agents through safe, repeatable setup for Flux UI, Filament, and Statamic while preserving existing application code.
Development
Install dependencies and run the canonical workflows in order:
composer install composer fix composer verify
composer verify checks formatting, static analysis, and the complete Pest test suite.
License
Cornerstone Support is open-source software licensed under the MIT license.