Download the PHP package magekwik/attribute-set-limit without Composer

On this page you can find all versions of the php package magekwik/attribute-set-limit. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package attribute-set-limit

Magekwik Attribute Set Limit for Magento 2

Module

License

Overview

The Magekwik Attribute Set Limit module for Magento 2 enforces a maximum limit of 500 attributes per product attribute set. It prevents additional attributes from being assigned via the admin panel or API once the limit is reached, ensuring optimal performance and maintainability of attribute sets in large-scale Magento installations.

This module is designed for Magento 2 certified developers and store administrators who need to enforce strict governance over product attribute sets to prevent excessive complexity.

Features

Installation

Via Composer (Recommended)

  1. Add the module to your Magento project:

  2. Enable the module and update the Magento setup:

Manual Installation

  1. Clone or download the repository to app/code/Magekwik/AttributeSetLimit.
  2. Run the following commands:

Usage

Once installed, the module automatically enforces a limit of 500 attributes per product attribute set. When attempting to add attributes beyond this limit via the admin panel or API, an error message will be displayed:

The attribute set cannot exceed 500 attributes.

Admin Panel

Navigate to Stores > Attributes > Attribute Set and edit an attribute set. The module checks the total number of attributes during save operations and prevents saving if the limit is exceeded. (in example we have used 60 as limit in Configuration Section)

API

When using the Magento API to assign attributes to a product attribute set (e.g., via Magento\Eav\Api\AttributeManagementInterface), the module will throw a LocalizedException if the limit is reached.

Configuration

The attribute limit is set to 500 by default and can be modified by updating the MAX_ATTRIBUTES_PER_SET constant in the following files:

Ensure both constants are updated to maintain consistency.

Debugging

To verify the number of attributes in an attribute set:

Compatibility

Support

For issues, feature requests, or contributions, please visit the GitHub repository or create an issue.

License

This module is licensed under the Open Software License 3.0 (OSL-3.0).

Author

Developed by Kanaka Kishore Kandregula, a Magento 2 Certified Developer with over 10 years of experience in e-commerce solutions.


Built for performance, reliability, and scalability.


All versions of attribute-set-limit with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4
magento/framework Version ^102.0 || ^103.0
magento/module-eav Version ^102.0 || ^103.0
magento/module-catalog Version ^103.0 || ^104.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package magekwik/attribute-set-limit contains the following files

Loading the files please wait ...