Download the PHP package catgento/magento-2-category-importer without Composer

On this page you can find all versions of the php package catgento/magento-2-category-importer. 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 magento-2-category-importer

Magento Category Importer for Magento 2 >= 2.1.x

This is a Magento module which adds a new command to the bin/magento shell to import categories from a CSV file.

It has been copied from https://github.com/macopedia/CategoryImporter, but I've removed the new category attribute creation (which is specific for the developer who created the module).

I have also included a custom Magento 1 export shell script (https://gist.github.com/paugnu/2c680ea9f452a5b671e8d3c0f35ca34f) so that you can generate the csv file from your Magento 1 installation.

Installation

Composer

ZIP file

Download the module and unzip it under the folder app/code/Catgento/CategoryImporter.

How to use it

Create a CSV file with the categories information

Mandatory columns:

Optional columns:

You can also add custom columns and specify them when calling the script.

Magento 1 shell script to export the Categories

Copy the shell script from this gist https://gist.github.com/catgento/2c680ea9f452a5b671e8d3c0f35ca34f (exportCategoriesCsv.php) in the shell/ folder of your Magento 1 installation. You only need to execute it from inside that folder and put the output inside csv file like this:

Note:

Import the CSV file in Magento 2

As explained in the Macomedia module, you can use this module by:


All versions of magento-2-category-importer with dependencies

PHP Build Version
Package Version
Requires php Version ~7.1.3||~7.2.0||~7.3.0
magento/framework Version >=100.0.0
magento/module-backend Version >=100.0.0
magento/module-cron Version >=100.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 catgento/magento-2-category-importer contains the following files

Loading the files please wait ....