FEATURED BLOGS FREE SEO TOOLS SPECIAL OFFERS CONTACT US LOG IN REGISTER SUBMIT GUEST POST B U SI NE SS Which steps need to follow For Standard Extension Development for Magento 2 Written by mageefy BOOKMARK THIS ARTICLE Less than 0 min read 0 Try Our Free SEO Tools Article Rewriter Plagiarism Checker Word Counter Fake Address Generator Random Word Generator Website Worth Calculator Password Generator New York Facts Printable Coloring Pages Disclaimer: This is a user generated content submitted by a member of the WriteUpCafe Community. The views and writings here reflect that of the author and not of WriteUpCafe. If you have any complaints regarding this post kindly report it to us. For a Magento 2 extension, you should be following the Magento EQP (Extension Quality Program) code standards. Magento provides a tool to validate the PSR-2 code standards and most of Magento's added standards on top of that. Magento has provided the package validation tool, Which detects any kind of packaging errors to reduce the module rejections from the Marketplace. Steps which need to follow For Standard Extension Development for Magento 2 : 1) must have composer.json in root folder of extension(Eg. app/code/Vendor/Module/composer.json) 2) must have registration.php in root folder of extension (Eg. app/code/Vendor/Module/registration.php) 3) Do not use $_REQUEST, $_POST directly 4) Never end class file with ending php tag ? 5) Remove unnecessory code and comments report this ad 6) Use spaces for indentation 7) check with phpcs coding standard and remove all errors, Refer Coding standard tab 8) Must pass severity=10 while chicking coding standard with MEQP2 R f di dd
MEQP2, Refer coding standard 9) do compilation and resolve all errors NFT For Dummies: 7 10) validate_m2_package_v2 Killer Things A… Follow the below steps to validate your package with Get a quick rundown on the “validate_m2_package.php” : essentials of NFTs with \"N… Clone the repository https://github.com/magento/marketplace- How Much Does It tools or Download the file validate_m2_package.php Cost To Create An… Now place your module zipped file in the same folder where \"Discover the cost of you placed the previous file. creating an NFT with easy… Note: To zip your package, navigate to root path of your module i.e /app/code/Vendor Name/Module Name/ and then NFT Urban zip your package. Make sure composer.json remains in the root Dictionary: Popular… path of your zipped package. \"Stay ahead of the game and understand the latest… Now execute the following command $ path_to_php validate_m2_package.php -d vendor- Who Was George modulename.zip Floyd, And Why is… George Floyd was an where path_to_php is the path to php compiler and vendor- African-American man wh… modulename.zip should be name of your module zipped file. 9 Best Remote SEO for example: Jobs to Boost Your… php validate_m2_package.php -d modulename.zip You can take your SEO career to the next level wi… https://www.mageefy.com/blog/post/steps-need-follow- standard-extension-development-magento-2 0 mageefy + FOLLOW Member since January 20, 2023 COM PANY TOP LINKS TOP C ATE GOR I E S SOC I AL About Us How to start a blog and make Affiliate Marketing Special Offers money online (Step by Step Blogging Contact Us Beginners Tutorial) SEO
Contact Us 12 Best Web Hosting Services SEO Your email Privacy Policy For Bloggers In 2021 ( Cheap Reviews Disclaimers Web Hosting Plans Compared ) Email Marketing SUBSCRIBE Web Hosting C OM M U NI TY What is SEO? A Beginner’s VPN By subscribing you agree to our Guide to Search Engine How To Privacy Policy. WriteUpCafe Community Optimization Business Register Science / Technology Submit Story What is Email Marketing? A Gadgets Terms of Use Beginner’s Guide to Create a Cybersecurity Successful Email Marketing Strategy Affiliate Marketing for Beginners 2021 – A Step-by- Step Guide. Best VPN Services 2021 – (Our List Of Top 10 VPNs for 2021) © Copyright 2021, All Rights Reserved | WriteUpCafe
Search
Read the Text Version
- 1 - 3
Pages: