PHPackages                             easygento/magento2-utils - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. easygento/magento2-utils

ActiveMagento2-module[Utility &amp; Helpers](/categories/utility)

easygento/magento2-utils
========================

Magento 2 Module with some tools to make dev life and debugging easier

0.2.3(6y ago)03MITPHPPHP ~7.0.0|~7.1.0|~7.2.0|~7.3.0

Since May 10Pushed 6y ago2 watchersCompare

[ Source](https://github.com/0-Sony/Easygento_Utils_M2)[ Packagist](https://packagist.org/packages/easygento/magento2-utils)[ RSS](/packages/easygento-magento2-utils/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependencies (1)Versions (6)Used By (0)

Easygento\_Utils\_M2
====================

[](#easygento_utils_m2)

Magento 2 Module with some tools to make dev life and debugging easier

Cron Runner
-----------

[](#cron-runner)

how to use :

```
bin/magento easygento:utils:cronrunner --cronClass="\My\CronClass\toRun"

```

Custom Product Attribute Creator
--------------------------------

[](#custom-product-attribute-creator)

The class `ProductUtils` is useful to create simply and quickly your custom Product Attributes. In your InstallData/ UpgradeData , call \\Easygento\\Utils\\Model\\ProductUtils as DI, and use public function inside. To create an custom product attribute, pass an array of your data as argument : Example :

```

$attributes = [
   'another_custom_attribute' => [
       'type' => 'varchar',
       'label' => 'Another Custom Label',
       'input' => 'text',
       'source' => '',
       'filterable' => false,
       'visible_on_front' => true,
       'used_in_product_listing' => false,
       'attribute_group_name' => 'My Custom Attribute Group Name',
       'backend' => ''
   ],
   'another_custom_attribute_with_option' => [
       'type' => 'int',
       'label' => 'Type',
       'input' => 'select',
       'source' => '',
       'filterable' => true,
       'visible_on_front' => true,
       'used_in_product_listing' => true,
       'backend' => '',
       'options' => [
           'Option A',
           'Option B',
           'Option C',
           'Option D',
           'Option E',
           'Option F'
       ]
   ],
   'another_custom_attribute_boolean' =>[
       'type' => 'int',
       'label' => 'Shown In List',
       'input' => 'select',
       'source' => 'Magento\Eav\Model\Entity\Attribute\Source\Boolean',
       'filterable' => false,
       'visible_on_front' => false,
       'used_in_product_listing' => false,
       'attribute_group_name' => 'Another Custom Attribute Group Name',
       'attribute_set_name' => 'my custom Attribute Set Name',
       'backend' => ''
   ],
   'another_custom_attribute_multiselect' => [
       'type' => 'varchar',
       'label' => 'Collection',
       'input' => 'multiselect',
       'source' => '',
       'filterable' => true,
       'visible_on_front' => true,
       'used_in_product_listing' => true,
       'options' => [
           'Collection A',
           'Collection B',
           'Collection C',
           'Collection D',
       ],
       'attribute_group_name' => 'Another Custom Attribute Group Name',
       'backend' => 'Magento\Eav\Model\Entity\Attribute\Backend\ArrayBackend'
   ],
];

```

Custom Logger
-------------

[](#custom-logger)

All you need to do is injected the class `\Easygento\Utils\Logger\Logger` in your class. Then you can use the default method as `debug() , info() ...`The log will be record in the default path `/var/log/easygento/debug.log`

You can define your own log paths by using Virtual Type. See example in the `di.xml` file.

How to install this module ?
----------------------------

[](#how-to-install-this-module-)

with composer :

```
composer require easygento/magento2-utils:dev-master

```

without composer :

`You can download the latest release and put it in you app/code folder`

Once the module installed , run the command

```
bin/magento setup:upgrade

```

and

```
bin/magento setup:di:compile

```

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~25 days

Total

5

Last Release

2507d ago

PHP version history (2 changes)0.1.0PHP ~5.5.0|~5.6.0|~7.0.0|~7.1.0|~7.2.0

0.2.3PHP ~7.0.0|~7.1.0|~7.2.0|~7.3.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/ecd16bcaee490f72a7ac64a74247aadc53e883856954143f71fccf562eae872b?d=identicon)[0-Sony](/maintainers/0-Sony)

---

Top Contributors

[![0-Sony](https://avatars.githubusercontent.com/u/7865528?v=4)](https://github.com/0-Sony "0-Sony (5 commits)")

### Embed Badge

![Health badge](/badges/easygento-magento2-utils/health.svg)

```
[![Health](https://phpackages.com/badges/easygento-magento2-utils/health.svg)](https://phpackages.com/packages/easygento-magento2-utils)
```

###  Alternatives

[elgentos/regenerate-catalog-urls

Regenerate Catalog URL Rewrites (products, categories, cms pages)

2832.6M](/packages/elgentos-regenerate-catalog-urls)[run-as-root/magento2-prometheus-exporter

Magento2 Prometheus Exporter

68353.9k](/packages/run-as-root-magento2-prometheus-exporter)[myparcelnl/magento

A Magento 2 module that creates MyParcel labels

1859.0k](/packages/myparcelnl-magento)[loki/magento2-components

Core module for defining Alpine.js components with advanced AJAX features

1010.0k22](/packages/loki-magento2-components)[magepal/magento2-form-field-manager

Customer and Address Form Fields Manager for Magento2

273.9k](/packages/magepal-magento2-form-field-manager)[mage-os/module-llm-txt

AI-powered LLMs.txt generation for Magento 2 / Mage-OS stores. Help AI systems understand your store with OpenAI-generated content.

233.3k](/packages/mage-os-module-llm-txt)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
