### Install Magento 2 Configurator via Composer Source: https://github.com/magebitcom/magento2-configurator/blob/magebit/CONTRIBUTING.md This command allows you to include the Magento 2 Configurator project into an existing Magento 2 installation using Composer, which is the easiest way to get started with development. ```bash composer require ctidigital/magento2-configurator ``` -------------------------------- ### Install Magento 2 Configurator with Composer Source: https://github.com/magebitcom/magento2-configurator/blob/magebit/docs/index.html This command installs the Magento 2 Configurator module using Composer, a dependency manager for PHP. ```Shell composer require ctidigital/magento2-configurator ``` -------------------------------- ### Run Magento Configurator CLI Command Source: https://github.com/magebitcom/magento2-configurator/blob/magebit/CONTRIBUTING.md After developing or modifying a component, use this command to run the configurator and ensure it works correctly. This also allows you to check for appropriate CLI-based logging feedback to the user. ```bash bin/magento configurator:run --env="" --components="" ``` -------------------------------- ### Execute PHP Unit Tests Source: https://github.com/magebitcom/magento2-configurator/blob/magebit/CONTRIBUTING.md Run the PHP Unit tests to verify that your changes or new components do not introduce regressions and function as expected. New components should extend `ComponentAbstractTestCase` for proper integration into the testing framework. ```bash php vendor/bin/phpunit --coverage-clover build/logs/clover.xml vendor/ctidigital/magento2-configurator/Test/Unit/ ``` -------------------------------- ### Configure and Run Magento 2 Configurator Integration Tests Source: https://github.com/magebitcom/magento2-configurator/blob/magebit/README.md Instructions for setting up and executing integration tests for the Magento 2 Configurator module. This includes adding the test suite XML configuration and running the tests from the command line, along with an optional step to add developer tools to the PATH. ```XML ../../../vendor/ctidigital/magento2-configurator/Test/Integration ``` ```Bash /dev/tests/integration$ ../../../vendor/bin/phpunit --testsuite "magento2-configurator" ``` ```Bash export PATH=$PATH:/var/www/magento2/vendor/bin ``` -------------------------------- ### Run PHP Code Quality Checks Source: https://github.com/magebitcom/magento2-configurator/blob/magebit/CONTRIBUTING.md Before submitting a pull request, execute these commands to ensure your code adheres to PSR2 standards and passes checks for mess, duplicate code, and other quality metrics. This helps maintain code consistency and quality across the project. ```bash php vendor/bin/phpcs --standard=PSR2 vendor/ctidigital/magento2-configurator/Model/ vendor/ctidigital/magento2-configurator/Console/ vendor/ctidigital/magento2-configurator/Test/ vendor/ctidigital/magento2-configurator/Api/ vendor/ctidigital/magento2-configurator/Component/ vendor/ctidigital/magento2-configurator/Exception/ php vendor/bin/phpmd vendor/ctidigital/magento2-configurator/Model/,vendor/ctidigital/magento2-configurator/Console/,vendor/ctidigital/magento2-configurator/Test/,vendor/ctidigital/magento2-configurator/Api/,vendor/ctidigital/magento2-configurator/Component/,vendor/ctidigital/magento2-configurator/Exception/ text cleancode,codesize,controversial,design,naming,unusedcode php vendor/bin/phpcpd vendor/ctidigital/magento2-configurator/Model/ vendor/ctidigital/magento2-configurator/Console vendor/ctidigital/magento2-configurator/Test/ vendor/ctidigital/magento2-configurator/Api/ vendor/ctidigital/magento2-configurator/Component/ vendor/ctidigital/magento2-configurator/Exception/ ``` -------------------------------- ### Run Magento 2 Configurator Source: https://github.com/magebitcom/magento2-configurator/blob/magebit/docs/index.html Executes the Magento 2 Configurator, applying configurations for a specified environment. ```Shell bin/magento configurator:run --env="" ``` -------------------------------- ### Run Configurator with Verbose Output Source: https://github.com/magebitcom/magento2-configurator/blob/magebit/docs/index.html Executes the Magento 2 Configurator with verbose logging, providing additional details during execution. ```Shell bin/magento configurator:run --env="" -v ``` -------------------------------- ### List Available Configurator Components Source: https://github.com/magebitcom/magento2-configurator/blob/magebit/docs/index.html Displays a list of all components supported by the Magento 2 Configurator. ```Shell bin/magento configurator:list ``` -------------------------------- ### Magento 2 Configurator Command Line Interface Usage Source: https://github.com/magebitcom/magento2-configurator/blob/magebit/README.md Essential CLI commands for managing the Magento 2 Configurator module, including listing available components, running specific components, and enabling verbose output for detailed logging. ```Bash bin/magento configurator:run --env="" ``` ```Bash bin/magento configurator:list ``` ```Bash bin/magento configurator:run --env="" --component="config" ``` ```Bash bin/magento configurator:run --env="" -v ``` -------------------------------- ### Run Specific Configurator Components Source: https://github.com/magebitcom/magento2-configurator/blob/magebit/docs/index.html Executes the Magento 2 Configurator for a specific component, such as 'config', within a defined environment. ```Shell bin/magento configurator:run --env="" --components="config" ``` -------------------------------- ### Run Local Development Tests for Magento 2 Configurator Source: https://github.com/magebitcom/magento2-configurator/blob/magebit/README.md Commands to run various local development tests including PHP Code Sniffer, PHP Mess Detector, PHP Copy and Paste Detector, and PHP Unit for the Magento 2 Configurator module, ensuring code quality and adherence to standards. ```Bash php vendor/bin/phpcs --standard=vendor/magento/magento-coding-standard/Magento2/ruleset.xml vendor/ctidigital/magento2-configurator/Model/ vendor/ctidigital/magento2-configurator/Console/ vendor/ctidigital/magento2-configurator/Test/ vendor/ctidigital/magento2-configurator/Api/ vendor/ctidigital/magento2-configurator/Component/ vendor/ctidigital/magento2-configurator/Exception/ php vendor/bin/phpmd vendor/ctidigital/magento2-configurator/Model/,vendor/ctidigital/magento2-configurator/Console/,vendor/ctidigital/magento2-configurator/Test/,vendor/ctidigital/magento2-configurator/Api/,vendor/ctidigital/magento2-configurator/Component/,vendor/ctidigital/magento2-configurator/Exception/ text cleancode,codesize,controversial,design,naming,unusedcode php vendor/bin/phpcpd vendor/ctidigital/magento2-configurator/Model/ vendor/ctidigital/magento2-configurator/Console vendor/ctidigital/magento2-configurator/Test/ vendor/ctidigital/magento2-configurator/Api/ vendor/ctidigital/magento2-configurator/Component/ vendor/ctidigital/magento2-configurator/Exception/ php vendor/bin/phpunit vendor/ctidigital/magento2-configurator/Test/Unit/ ``` -------------------------------- ### Magento 2 Access Control List (ACL) Resource Identifiers Source: https://github.com/magebitcom/magento2-configurator/blob/magebit/Samples/Components/AdminRoles/List_of_all_avaliable_ResourceIds.txt This snippet provides a complete list of Magento 2 ACL resource IDs. These identifiers are crucial for defining granular permissions for backend users and roles, controlling access to specific administrative sections and functionalities within the Magento platform. Each ID represents a distinct area or action that can be allowed or denied. ```APIDOC 'Magento_Backend::dashboard' 'Magento_Sales::sales' 'Magento_Sales::sales_operation' 'Magento_Sales::sales_order' 'Magento_Sales::actions' 'Magento_Sales::create' 'Magento_Sales::actions_view' 'Magento_Sales::email' 'Magento_Sales::reorder' 'Magento_Sales::actions_edit' 'Magento_Sales::cancel' 'Magento_Sales::review_payment' 'Magento_Sales::capture' 'Magento_Sales::invoice' 'Magento_Sales::creditmemo' 'Magento_Sales::hold' 'Magento_Sales::unhold' 'Magento_Sales::ship' 'Magento_Sales::comment' 'Magento_Sales::emails' 'Magento_Sales::sales_invoice' 'Magento_Sales::shipment' 'Magento_Sales::sales_creditmemo' 'Magento_Paypal::billing_agreement' 'Magento_Paypal::billing_agreement_actions' 'Magento_Paypal::billing_agreement_actions_view' 'Magento_Paypal::actions_manage' 'Magento_Paypal::use' 'Magento_Sales::transactions' 'Magento_Sales::transactions_fetch' 'Magento_Catalog::catalog' 'Magento_Catalog::catalog_inventory' 'Magento_Catalog::products' 'Magento_Catalog::categories' 'Magento_Customer::customer' 'Magento_Customer::manage' 'Magento_Customer::online' 'Magento_Cart::cart' 'Magento_Cart::manage' 'Magento_Backend::myaccount' 'Magento_Backend::marketing' 'Magento_CatalogRule::promo' 'Magento_CatalogRule::promo_catalog' 'Magento_SalesRule::quote' 'Magento_Backend::marketing_communications' 'Magento_Email::template' 'Magento_Newsletter::template' 'Magento_Newsletter::queue' 'Magento_Newsletter::subscriber' 'Magento_Backend::marketing_seo' 'Magento_Search::search' 'Magento_Search::synonyms' 'Magento_UrlRewrite::urlrewrite' 'Magento_Sitemap::sitemap' 'Magento_Backend::marketing_user_content' 'Magento_Review::reviews_all' 'Magento_Backend::content' 'Magento_Backend::content_elements' 'Magento_Cms::page' 'Magento_Cms::save' 'Magento_Cms::page_delete' 'Magento_Cms::block' 'Magento_Widget::widget_instance' 'Magento_Cms::media_gallery' 'Magento_Backend::design' 'Magento_Theme::theme' 'Magento_Backend::schedule' 'Magento_Reports::report' 'Magento_Reports::report_marketing' 'Magento_Reports::shopcart' 'Magento_Reports::product' 'Magento_Reports::abandoned' 'Magento_Reports::report_search' 'Magento_Newsletter::problem' 'Magento_Reports::review' 'Magento_Reports::review_customer' 'Magento_Reports::review_product' 'Magento_Reports::salesroot' 'Magento_Reports::salesroot_sales' 'Magento_Reports::tax' 'Magento_Reports::invoiced' 'Magento_Reports::shipping' 'Magento_Reports::refunded' 'Magento_Reports::coupons' 'Magento_Paypal::paypal_settlement_reports' 'Magento_Paypal::paypal_settlement_reports_view' 'Magento_Paypal::fetch' 'Magento_Braintree::settlement_report' 'Magento_Reports::customers' 'Magento_Reports::totals' 'Magento_Reports::customers_orders' 'Magento_Reports::accounts' 'Magento_Reports::report_products' 'Magento_Reports::viewed' 'Magento_Reports::bestsellers' 'Magento_Reports::lowstock' 'Magento_Reports::sold' 'Magento_Reports::downloads' 'Magento_Reports::statistics' 'Magento_Reports::statistics_refresh' 'Magento_Backend::stores' 'Magento_Backend::stores_settings' 'Magento_Backend::store' 'Magento_Config::config' 'Magento_CatalogInventory::cataloginventory' 'Magento_Downloadable::downloadable' 'Magento_Catalog::config_catalog' 'Magento_Cms::config_cms' 'Magento_Payment::payment_services' 'Magento_GoogleAnalytics::google' 'Magento_Payment::payment' 'Magento_Newsletter::newsletter' 'Magento_Contact::contact' 'Magento_Shipping::carriers' 'Magento_Shipping::shipping_policy' 'Magento_Shipping::config_shipping' 'Magento_Multishipping::config_multishipping' 'Magento_Config::config_general' 'Magento_Config::web' 'Magento_Config::config_design' 'Magento_Paypal::paypal' 'Magento_Customer::config_customer' 'Magento_Tax::config_tax' 'Magento_Persistent::persistent' 'Magento_Sales::config_sales' 'Magento_Sales::sales_email' 'Magento_Sales::sales_pdf' 'Magento_Reports::reports' 'Magento_Sitemap::config_sitemap' 'Magento_Config::config_system' 'Magento_Wishlist::config_wishlist' 'Magento_SalesRule::config_promo' 'Magento_Config::advanced' 'Magento_Config::trans_email' 'Magento_Config::config_admin' 'Magento_Config::dev' 'Magento_Config::currency' 'Magento_Rss::rss' 'Magento_Config::sendfriend' 'Magento_NewRelicReporting::config_newrelicreporting' 'Magento_CheckoutAgreements::checkoutagreement' 'Magento_Sales::order_statuses' 'Magento_Tax::manage_tax' 'Magento_CurrencySymbol::system_currency' 'Magento_CurrencySymbol::currency_rates' 'Magento_CurrencySymbol::symbols' 'Magento_Backend::stores_attributes' 'Magento_Catalog::attributes_attributes' 'Magento_Catalog::update_attributes' 'Magento_Catalog::sets' 'Magento_Review::ratings' 'Magento_Backend::stores_other_settings' 'Magento_Customer::group' 'Magento_Backend::system' 'Magento_Backend::convert' 'Magento_ImportExport::import' 'Magento_ImportExport::export' 'Magento_TaxImportExport::import_export' 'Magento_ImportExport::history' 'Magento_Backend::extensions' 'Magento_Backend::local' 'Magento_Backend::custom' 'Magento_Backend::tools' 'Magento_Backend::cache' ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.