There is no license information available for the latest version (2.1.0) of this package.

CLI in Magento 2 admin panel

Installs: 6 923

Dependents: 1

Suggesters: 0

Security: 0

Stars: 27

Watchers: 3

Forks: 2

Open Issues: 0


2.1.0 2021-04-08 07:54 UTC

This package is auto-updated.

Last update: 2021-10-23 10:15:16 UTC


Total Downloads Latest Stable Version

This Magento 2 module allows you to run CLI commands from admin panel (System > Tools > Command Line) using exec php function. You can restrict access to this interface using Magento 2 Access Control List. We recommend to use it ONLY on dev environments as it is not securely to run exec.


alt text


  • Magento Community Edition 2.1.x-2.4.x or Magento Enterprise Edition 2.1.x-2.4.x
  • Exec function needs to be enabled in PHP settings.

Installation Method 1 - Installing via composer

  • Open command line
  • Using command "cd" navigate to your magento2 root directory
  • Run command: composer require magefan/module-cli

Installation Method 2 - Installing using archive

  • Download ZIP Archive
  • Extract files
  • In your Magento 2 root directory create folder app/code/Magefan/Cli
  • Copy files and folders from archive to that folder
  • In command line, using "cd", navigate to your Magento 2 root directory
  • Run commands:
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy


If you have any issues, please contact us then if you still need help, open a bug report in GitHub's issue tracker.

Please do not use Magento Marketplace Reviews or (especially) the Q&A for support. There isn't a way for us to reply to reviews and the Q&A moderation is very slow.

Need More Features?

Please contact us to get a quote


The code is licensed under EULA.

Other Magento 2 Extensions by Magefan