justbetter / laravel-magento-utilities
Additional utilities for the Laravel Magento Client
Installs: 1
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 0
Forks: 0
Open Issues: 0
Type:package
pkg:composer/justbetter/laravel-magento-utilities
Requires
- php: ^8.3
- guzzlehttp/guzzle: ^7.5
- justbetter/laravel-magento-client: ^2.7
- laravel/framework: ^11.0|^12.0
Requires (Dev)
- larastan/larastan: ^3.7
- laravel/pint: ^1.25
- orchestra/testbench: ^10.6
- pestphp/pest: ^4.1
- phpstan/phpstan-mockery: ^2.0
- phpunit/phpunit: ^12.3
This package is auto-updated.
Last update: 2025-10-06 06:16:36 UTC
README
A set of common utilities to ease working with Magento. All helpers implement caching to reduce overhead. It will cache the results for a day by default. Caching can be disabled via the configuration file.
Utilities
Currently, this packge provides the following utilities:
- Fetching all stores.
- Fetching all websites.
Example
An example to fetch all websites.
use JustBetter\MagentoUtilities\Contracts\GetsWebsites; $contract = app(GetsWebsites::class); $websites = $contract->get();
Installation
Install the composer package.
composer require justbetter/laravel-magento-utilities
Setup
Optionally publish the configuration of the package.
php artisan vendor:publish --provider="JustBetter\MagentoUtilities\ServiceProvider" --tag=config
Quality
To ensure the quality of this package, run the following command:
composer quality
This will execute three tasks:
- Makes sure all tests are passed
- Checks for any issues using static code analysis
- Checks if the code is correctly formatted
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.