iron-io/iron_core
iron_core_php provides shared PHP utilities for calling Iron.io REST APIs. Includes the IronCore class with common helpers for requests and API interactions. Install by copying IronCore.class.php into your project. BSD 2-Clause licensed.
IronCore.class.php), it avoids coupling to Laravel’s service container, Blade templates, or routing systems, making it reusable in non-Laravel PHP projects if needed. This decoupling is both a strength (flexibility) and a weakness (requires manual integration).IronCore can complement Laravel’s HTTP client, queues, or event system (e.g., using IronMQ for pub/sub). For example:
IronCore for IronWorker job submissions in Laravel queues.IronCore for IronCache integration in Laravel’s cache layer.IronCore.class.php) simplifies integration—no Composer dependency management required beyond iron-io/iron_core (though the package itself is manual). This reduces dependency bloat but may complicate version management.IronCore uses PHP 5.x-specific features (e.g., loose typing, magic methods). Test thoroughly with PHP 8.x’s strict typing and named arguments.Http facade (Guzzle/Symfony) may overlap with IronCore::request(). Decide whether to replace Laravel’s client entirely or complement it.IronCore lacks Laravel middleware support (e.g., for retries, auth). Would need custom middleware to bridge the gap.https:// URLs.Auth system.IronCoreException) may conflict with Laravel’s exception hierarchy unless namespaced or aliased.IronCore be lightly integrated (manual instantiation) or fully embedded (service provider, facades, middleware)?Http::macro()) or a dedicated library (e.g., guzzlehttp/guzzle) instead?IronCore support PHP 8.x features (e.g., json_throw_on_error, typed properties)?IronCoreException integrate with Laravel’s exception handler (e.g., App\Exceptions\Handler)?IronCoreException to Laravel’s HttpException.Http facade) for all API calls (redundant).IronCore vs. Laravel’s Http facade or Guzzle.IronCore into a single, non-critical service (e.g., a Services/IronWorkerService).IronWorkerClient) that uses IronCore internally.curl/Guzzle/Http calls with IronCore wrappers.Iron::worker()->sendJob()) for ergonomics.IronAuthMiddleware) for token injection or logging.json_throw_on_error.IronCore if needed or fork and maintain a PHP 8.x-compatible version.IronCore as a singleton or context-bound instance if stateless.IronCore settings (e.g., config/iron.php).IronJobSubmitted) for observability.IronCore::request() in Laravel middleware for retries, logging, or auth.IronCore interactions in unit/feature tests.| Phase
How can I help you explore Laravel packages today?