oxid-esales/developer-tools

The component contains developer tools.

Installs: 250 462

Dependents: 8

Suggesters: 0

Security: 0

Stars: 2

Watchers: 14

Forks: 0

Open Issues: 0

Type:oxideshop-component

v2.4.1 2024-10-14 09:24 UTC

README

This component contains additional developer tools for OXID eShop.

ATTENTION: this component was designed for development purposes and its usage may lead to data loss in your system. Never execute developer tool commands in any live environment!

Installation

Run the following command to install the component:

composer require oxid-esales/developer-tools

Usage

Resetting project configuration

To reset project configuration to its initial state execute:

bin/oe-console oe:module:reset-configurations 

Resetting/installing shop database

To reset the database to its initial state run the following command:

bin/oe-console oe:database:reset [--force]

When executed, this command will use the actual database settings, active in your current system environment.

How to install component for development?

Checkout component besides OXID eShop source directory:

git clone https://github.com/OXID-eSales/developer-tools.git

Run composer install command:

cd developer-tools
composer install

Add dependency to OXID eShop composer.json file:

composer config repositories.oxid-esales/developer-tools path developer-tools
composer require --dev oxid-esales/developer-tools:*

How to run tests?

To run tests for the component please define OXID eShop bootstrap file:

vendor/bin/phpunit --bootstrap=../source/bootstrap.php tests/

License

See LICENSE file for license details.