Skip to content

Template repository for open source Magento modules on Github

License

Notifications You must be signed in to change notification settings

integer-net/magento2-module-template

Repository files navigation

/> integer_net Magento 2 Module Template

This is a GitHub template.

Create your module now with the "use this template" button:

Use this template

After that, clone it on your machine and run ./dev/init inside the repository directory for automatic configuration. For more information, see dev/README.md

Waschbär Approved Module

:module-namespace_:module-name Magento Module

Latest Version on Packagist Software License Build Status Supported Magento Versions

Coverage Status Quality Score Maintainability


:description

Installation

  1. Install it into your Magento 2 project with composer:

    composer require :vendor/:package
    
  2. Enable module

    bin/magento setup:upgrade
    

Configuration

Usage

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Testing

Unit Tests

./vendor/bin/phpunit tests/unit

Magento Integration Tests

  1. Configure test database in dev/tests/integration/etc/install-config-mysql.php. Read more in the Magento docs.

  2. Copy tests/integration/phpunit.xml.dist from the package to dev/tests/integration/phpunit.xml in your Magento installation.

  3. In that directory, run

    ../../../vendor/bin/phpunit

Security

If you discover any security related issues, please email :author-email instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.