willhoffmann / DomusErpModule

ZF3 Module to consume the DomusErp API.


DomusErpModule

ZF3 Module to consume the DomusErp API.

This module uses the willhoffmann/domuserp-php

Installation

The suggested installation method is via composer:

php composer require willhoffmann/domuserp-module

Configure module

  • Copy /vendor/willhoffmann/domuserp-module/config/domuserp-module.local.php.dist into your global autoload folder, remove the dist extension so that Zend Framework picks it up

Or run copy command:

cp vendor/willhoffmann/domuserp-module/config/domuserp-module.local.php.dist config/autoload/domuserp-module.local.php

Enable module

Register as Zend Framework module inside your config/application.config.php file:

// config/application.config.php
return [
    'modules' => [
        'Zend\Router',
        'DomusErpModule',
        'YourApplicationModule',
    ]
],
Copyright (c) 2018 William Hoffmann

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is furnished to do
so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
php composer.phar require "willhoffmann/domuserp-module"

Require

  • php: ^7.1
  • willhoffmann/domuserp-php: ^1.0
  • zendframework/zend-modulemanager: ^2.7
  • zendframework/zend-mvc: ^3.1
  • zendframework/zend-servicemanager: ^3.3

Require Dev

  • squizlabs/php_codesniffer: ^3.2