stackski / stackstra-laravel
Laravel service provider bridge for the Stackstra PHP helper library.
Requires
- php: ^8.5
- illuminate/support: ^11.0|^12.0|^13.0
- stackski/stackstra: ^1.0
Requires (Dev)
- orchestra/testbench: ^9.0|^10.0
- phpunit/phpunit: ^12.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-11-14 05:56:21 UTC
README
A service provider that integrates STACKSTRA, a standalone PHP helper library, with Laravel.
- Namespace:
Stackstra\Laravel\ - Requires: PHP ^8.5, Laravel 11.x, 12.x or 13.x
- Install:
composer require stackski/stackstra-laravel
What it does
Registers Stackstra\Laravel\StackstraServiceProvider, auto-discovered by Laravel.
- Syncs
Stackstra\Etc\Debugwith your app'sconfig('app.debug')setting, so STACKSTRA's debug-only behavior follows your environment automatically. - Binds
Stackstra\Lock\Lockas a singleton, resolvable via the container. The lock file path is read fromconfig('stackstra.lock_path')and falls back tostorage_path('app/stackstra.lock')if unset.
Everything else in STACKSTRA works as plain PHP with no Laravel-specific wiring needed. See the core library docs for the full class reference.
Configuration
This package does not publish a config file. To change the lock path, create your own config/stackstra.php in your application:
<?php // config/stackstra.php return [ 'lock_path' => env('STACKSTRA_LOCK_PATH', storage_path('app/stackstra.lock')), ];
About
Maintained by STACKSKI Inc., an IT consulting and Laravel web development company. Visit us at stackski.com/laravel (US) or stackski.ca/laravel (Canada).
STACKSTRA Laravel Bridge is maintained independently by STACKSKI and is not affiliated with, sponsored by, or endorsed by Laravel.