justbetter/laravel-magento-utilities

Additional utilities for the Laravel Magento Client
5,163 1
Install
composer require justbetter/laravel-magento-utilities
Latest Version:1.2.1
PHP:^8.3
License:MIT
Last Updated:Jul 28, 2026
Links: GitHub  ·  Packagist
Maintainer: justbetter

Laravel Magento Utilities

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 store configs.
  • 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:

  1. Makes sure all tests are passed
  2. Checks for any issues using static code analysis
  3. 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.

Related Packages

mews/purifier

Laravel 5/6/7/8/9/10 HtmlPurifier Package

21,010,090 1,982
kyslik/column-sortable

Package for handling column sorting in Laravel 6.x

6,282,182 647
mews/captcha

Laravel 5/6/7/8/9/10/11/12 Captcha Package

6,095,827 2,586
ajthinking/archetype

Programmatically edit PHP and Laravel files.

4,372,487 272