ffuenf/shopware-common

This package is abandoned and no longer maintained. No replacement package was suggested.

This is a extension for Shopware that provides some base functionality for development.

Installs: 3 363

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Type:shopware-plugin

2.0.1 2021-12-08 14:44 UTC

README

ffuenf - code • design • e-commerce

FfuenfCommon

GitHub tag Build Status Code Quality Code Coverage Code Intelligence Status PayPal Donate

This is a extension for Shopware that provides some base functionality for development.

Platform

The following versions are supported and tested:

  • Shopware 5.6.x

Other versions are assumed to work.

Requirements

PHP 7.3 PHP 7.4 PHP 8.0
EOL / SEC-FIX / STABLE / RC SEC-FIX STABLE STABLE
automated tests on [travis] allow failure required pass allow failure

Shopware officially supports PHP 5.6.4 and higher.

Installation

via zip:

  • Download the latest plugin version (e.g. FfuenfCommon-1.2.0.zip)
  • Upload and install the plugin using the Plugin-Manager

via git:

  • Checkout the plugin in /custom/plugins/FfuenfCommon
  • Change to directory and run composer install to install the dependencies
  • Install the plugin with the Plugin-Manager

via composer:

  • Change to your root installation of shopware
  • Run command composer require ffuenf/shopware-common and install/active the plugin in the Plugin-Manager

Usage

This extension implements it's own logging via Monolog.

Example:

$this->logger->log(100, 'A message with level 100', array('variable' => $var));

Development

  1. Fork the repository from GitHub.

  2. Clone your fork to your local machine:

     $ git clone https://github.com/USER/FfuenfCommon
    
  3. Create a git branch

     $ git checkout -b my_bug_fix
    
  4. Make your changes/patches/fixes, committing appropriately

  5. Push your changes to GitHub

  6. Open a Pull Request

License and Author

The MIT License (MIT)

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.