endereco / endereco-oxid6-client
Installs: 13 511
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 3
Forks: 4
Open Issues: 10
Type:oxideshop-module
pkg:composer/endereco/endereco-oxid6-client
Requires
- php: >=5.6
- ext-curl: *
- guzzlehttp/guzzle: ^6.3|^7.3.0
Requires (Dev)
- brainmaestro/composer-git-hooks: ^2.8
- phpmd/phpmd: ^2.10
- phpstan/phpstan: ^1.10
- squizlabs/php_codesniffer: 3.7.2
- dev-master
- 4.5.4
- 4.5.2
- 4.5.1
- 4.5.0
- 4.4.1
- 4.4.0
- 4.3.2
- 4.3.2-rc.2
- 4.3.2-rc.1
- 4.3.1-rc.1
- 4.3.0
- 4.3.0-rc.1
- 4.2.2
- 4.2.2-rc.1
- 4.2.1
- 4.2.1-rc.3
- 4.2.1-rc.2
- 4.2.1-rc.1
- 4.2.0
- 4.2.0-rc.4
- 4.2.0-rc.3
- 4.2.0-rc.2
- 4.2.0-rc.1
- v4.1.1
- v4.1.0
- v4.0.0
- dev-feat/contribution
- dev-fix/O6M-70-bundeslandmapping-optimieren
- dev-o6m-4-migrationen-einbauen
- dev-O6M-7-das-modul-mit-oxid-63-kompatibel-machen
- dev-O6M-2-notwendigkeit-der-cleantmp-methode-in-installer-untersuchen
- dev-O6M-3-db-anpassungen-gehen-in-mariadb-104-nicht
- dev-O6M-1-doaccounting-beim-absenden-im-controller-auslosen
This package is auto-updated.
Last update: 2025-09-25 11:05:40 UTC
README
Contributing
For information on how to contribute to this project, please see our Contributing Guidelines.
Installation
The installation is done in the following steps:
-
Install the module via Composer
composer require endereco/endereco-oxid6-client
This command downloads the latest version. To install a specific version, for example 4.5.2, the command can be adjusted as follows:
composer require endereco/endereco-oxid6-client:4.5.2
-
Run migrations (optional)
By default, the Endereco-Oxid6 module automatically executes necessary database changes after activation. All adjustments are located in the Installer file in the onActivate method.
However, if you have at least version 6.2.3 of the shop and want to execute database changes via migrations, you can disable the default database adjustments.
For this, the following code must be added to the shop's config.inc.php file:
$this->bEnderecoUseMigrations = true;
From now on, the entire code block in onActivate will no longer be executed. After reinstalling the Endereco-Oxid6 module, as well as after each module update, migrations should be checked and possibly applied:
vendor/bin/oe-eshop-db_migrate migrations:migrate
-
Activate the module
In OXID admin panel: Extensions → Modules → Endereco → Activate
Development Setup
Prerequisites
- PHP 5.6 or higher
- Composer
- OXID eShop 6.1+ installation
- Nodejs and npm
- Git
Setting up the Development Environment
Important: Before setting up the development environment, make sure the module is properly installed via Composer first (see Installation section above). This ensures all autoload paths are registered correctly.
-
Fork and Clone the Repository
git clone https://github.com/your-username/endereco-oxid6-client.git cd endereco-oxid6-client -
Install Development Dependencies
composer install npm install
-
Set up Git Hooks (automatically runs quality checks before commits)
composer post-install-cmd
-
Link Module to OXID Shop
Note: The module must be installed properly first via
composer require endereco/endereco-oxid6-clientso that all paths are registered in the composer autoload.After proper installation, create a symlink from your OXID shop's modules directory to your development directory:
ln -s /path/to/your/endereco-oxid6-client /path/to/oxid/source/modules/endereco/endereco-oxid6-client
-
Activate the Module
In OXID admin panel: Extensions → Modules → Endereco → Activate
Development Workflow
-
Build Endereco Bundle
npm run build # Build the Endereco bundle -
Run Quality Checks
composer qa # Run all checks composer phpcs # Code style check only composer phpcbf # Auto-fix code style issues
-
Testing with Multiple OXID Versions
The project includes PHPStan configurations for different OXID versions:
phpstan.6.1.neon- OXID 6.1phpstan.6.2.neon- OXID 6.2phpstan.6.3.neon- OXID 6.3phpstan.6.4.neon- OXID 6.4phpstan.6.5.neon- OXID 6.5
-
Before Committing
Ensure all quality checks pass:
composer qa