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 4d 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 22% 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

2461d 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

[yireo/magento2-webp2

Magento 2 module to add WebP support to the Magento frontend

2091.2M7](/packages/yireo-magento2-webp2)[tig/postnl-magento2

TIG Magento 2 PostNL extension

58544.2k4](/packages/tig-postnl-magento2)[lillik/magento2-price-decimal

Magento 2 Price Decimal Precision

111147.5k](/packages/lillik-magento2-price-decimal)[nosto/module-nostotagging

Increase your conversion rate and average order value by delivering your customers personalized product recommendations throughout their shopping journey.

27659.1k4](/packages/nosto-module-nostotagging)[magepal/magento2-customeraccountlinksmanager

Customer Account Links Manager for Magento2 allows you to quickly and easily remove unwanted links from customer account dashboard

4084.9k](/packages/magepal-magento2-customeraccountlinksmanager)[doofinder/doofinder-magento2

Doofinder module for Magento 2

13204.0k1](/packages/doofinder-doofinder-magento2)

PHPackages © 2026

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