Command Line Extension by Magefan

magefan/module-cli

Allows running CLI commands from the Magento admin panel. Restrict access to commands using Magento ACL.

Installs cleanlyBuild passingSemVer compliant
Supported Magento versions
2.4.9
License
Not reported
Categories
Administration & Backend, DevOps & Infrastructure

39,813 installsβ˜… 37 stars617 downloads/monthLatest: v2.1.4Released 2024-10-16

composer require magefan/module-cli

README

Reproduced from the package’s own README, under its own license, as of 2026-10-31. Links and images point back at the source repository.

Magento 2 Command Line Extension by Magefan

Total Downloads Latest Stable Version

Magento 2 CLI module allows you to run CLI commands from the admin panel (System > Tools > Command Line) using the exec PHP function. You can restrict access to this interface or specific commands using Magento 2 Access Control List.

We recommend using it ONLY on dev environments, as it is not secure to run exec in production.

alt text

Useful Links

πŸ‡ΊπŸ‡¦ Stand with Ukraine! How can you help?

Requirements

  • 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

Support

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 https://magefan.com/contact

License

The code is licensed under EULA.

Magento Extensions by Magefan

Magento 2 SEO Extensions

Magento 2 Google Extensions

Magento Speed Optimisation Extensions

Magento Admin Extensions

Magento Order Management Extensions

Magento 2 Blog Extensions

Magento Marketing Extensions

Magento Promotions Extensions

Magento 2 Multi-Language Extensions

Developers Tools

Shopify Apps by Magefan

Magento 2 Services by Magefan

← All packages from magefan