Looking to hire Laravel developers? Try LaraJobs

stackstra-laravel maintained by stackski

Description
Laravel service provider bridge for the Stackstra PHP helper library.
Last update
2026/10/05 02:06 (dev-master)
License
Links
Downloads
2

Comments
comments powered by Disqus

STACKSTRA Laravel Bridge

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\Debug with your app's config('app.debug') setting, so STACKSTRA's debug-only behavior follows your environment automatically.
  • Binds Stackstra\Lock\Lock as a singleton, resolvable via the container. The lock file path is read from config('stackstra.lock_path') and falls back to storage_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.

License

MIT