Download the PHP package sanjeev-kr/magento2-export-products without Composer

On this page you can find all versions of the php package sanjeev-kr/magento2-export-products. 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 magento2-export-products

Export Product (Sanjeev_ExportProduct)

Magento 2 admin extension that adds mass actions on the product grid to export only the products you select—either immediately as a download or asynchronously via the message queue (same pattern as the native Import/Export flow).


Requirements


Installation

Use Composer from your Magento project root when you can (updates and dependency tracking). Use manual copy if you are dropping the files in without Composer.

Package name (see composer.json): sanjeev-kr/magento2-export-products.
Magento’s root project already includes magento/magento-composer-installer, which installs magento2-module packages into vendor/ and wires them into the application—no manual app/code copy is needed when you install this way.


Option A: Install via Composer

Run these commands from the Magento installation root (the directory that contains bin/magento and the root composer.json).

From Packagist (or your default Composer repository)

If this package is published on Packagist (or another repository already configured in your project):

Option B: Manual copy (without Composer)

  1. Place the extension under your Magento root:

  2. Ensure the folder contains registration.php, composer.json, etc/, Controller/, Model/, Plugin/, view/, and related files.

Enable the module and deploy (Composer or manual)

From the Magento root:

Production mode: regenerate DI and code as usual:

Clear cache:


Admin permissions

Two ACL resources are registered (under Catalog and Stores → Configuration). Grant the appropriate role access to Mass Action Export Products so users can see and use the new mass actions:

  1. Go to System → Permissions → User Roles.
  2. Edit the role and open the Role Resources tab.
  3. Allow Mass Action Export Products under Catalog → Products (and the related config resource if you use scoped permissions).

Without this permission, the mass actions will not be available or the requests will be denied.


How to use

Open the product grid

In the admin, go to Catalog → Products.

Select products

Narrow the grid with filters so only the products you need are listed, then select them with checkboxes. Avoid Select all on an unfiltered grid or other patterns that select tens of thousands of products—see Important caveat: keep exports small above.

Choose a mass action

Open the Actions dropdown on the product grid toolbar. You will see:

Mass action What it does
Instant Export Product(s) Runs the export in the current request. A CSV download starts when processing finishes. You will see a confirmation first warning that the action can slow down the site on large selections.
Export Product(s) Sends the job to Magento’s import_export.export queue. A success message tells you the message was queued and reminds you that cron must be running. When the export completes, an admin notification indicates the file is ready.

Where export files are stored

To download or manage queued exports, use Magento’s usual System → Data Transfer → Export (or your equivalent path), consistent with the notification: “You can pick up your file at export main page.”


Operations checklist for queued export

For Export Product(s) to complete:

  1. Cron is configured and running (cron:run or system crontab calling Magento’s cron.php / cron:run).
  2. Message queue consumers are running if your deployment requires them. Adobe Commerce / Magento documents the export consumer as exportProcessor. You can list consumers with bin/magento queue:consumers:list and start this one with bin/magento queue:consumers:start exportProcessor (or run it under your process manager / cron_consumers_runner configuration as documented for your version).

If jobs never finish, check var/log/ and ensure consumers and cron are active.


Uninstall (optional)

Disable and remove the module from app/code, then:

(Adjust for your deployment; you may need setup:di:compile and setup:static-content:deploy -f again in production.)


Important caveat: keep exports small

Do not use these mass actions to export a very large number of products, and do not export your whole catalog in one go. Exporting thousands of rows (or “select all” across the full grid) puts heavy load on the database and PHP; Instant Export runs during an admin request and can noticeably slow down or stress the admin session and the website, while Export Product(s) can still strain the server and queue when the batch is huge.

Always use the product grid filters (attribute filters, SKU lists, categories, etc.) to narrow the list first, then export only a limited, intentional batch of products. For full-catalog or bulk data extracts, use approaches suited to large datasets (for example Magento’s standard export workflows, CLI, or dedicated integration jobs) and run them in a controlled or off-peak window—not this grid mass action across the entire catalog.


License

This project is licensed under the MIT License. See LICENSE.txt.


Author

Sanjeev Kumar


All versions of magento2-export-products with dependencies

PHP Build Version
Package Version
Requires php Version >=8.0.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 sanjeev-kr/magento2-export-products contains the following files

Loading the files please wait ...