Magento 2 CLI 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.
- 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.
- Open command line
- Using command "cd" navigate to your magento2 root directory
- Run command: composer require magefan/module-cli
- 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.
Please contact us to get a quote https://magefan.com/contact
The code is licensed under EULA.
Magento 2 Extensions by Magefan
- Magento 2 Google Indexing API
- Magento 2 Google Analytics 4
- Magento 2 Google Tag Manager
- Magento 2 Google Shopping Feed
- Magento 2 Google Customer Reviews
- Magento 2 SEO Extension
- Magento 2 Rich Snippets
- Magento 2 HTML Sitemap
- Magento 2 XML Sitemap
- Magento 2 Twitter Cards
- Magento 2 Facebook Open Graph Tags
- Magento 2 Google Page Speed Optimizer
- Magento 2 Full Page Cache Warmer
- Magento 2 Image Lazy Load
- Magento 2 WebP Images
- Magento 2 Rocket JavaScript
- Magento 2 Admin Action Log
- Magento 2 Order Editor
- Magento 2 Better Order Grid
- Magento 2 Extended Product Grid
- Magento 2 Product Tabs
- Magento 2 Facebook Pixel
- Magento 2 Email Attachments
- Magento 2 Admin View
- Magento 2 Admin Email Notifications
- Magento 2 Login As Customer
- Magento 2 Cookie Consent
- Magento 2 Product Labels
- Magento 2 Base Price
- Magento 2 Dynamic Categories
- Magento 2 Dynamic Blocks and Pages Extension
- Magento 2 Automatic Related Products
- Magento 2 Price History
- Magento 2 Mautic Extension
- Magento 2 YouTube Video Extension
- Magento 2 Hreflang Tags
- Magento 2 Auto Currency Switcher
- Magento 2 Auto Language Switcher
- Magento 2 GeoIP Store Switcher
- Magento 2 Translation Extension