wmde/FundraisingStore

Name: FundraisingStore

Owner: Wikimedia Deutschland e.V.

Description: Persistence services around the fundraising database

Created: 2015-07-03 13:33:44.0

Updated: 2017-06-19 05:47:05.0

Pushed: 2018-02-27 12:53:57.0

Homepage:

Size: 204

Language: PHP

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Persistence Services for WMDE Fundraising

Build Status Scrutinizer Code Quality Code Coverage Dependency Status Download count License

Latest Stable Version Latest Unstable Version

Fundraising Store contains persistence services for the WMDE fundraising codebase.

Installation

You can use Composer to download and install this package as well as its dependencies.

To add this package as a local, per-project dependency to your project, run:

composer require wmde/fundraising-store

This package provides vendor/bin/cli-config.php file required by the Doctrine Console. A default database configuration, compatible with the container used for integration tests (see docker-compose.yml), can be found in local-db-config.php. Applications wanting to use this package in conjunction with the Doctrine Console should provide their own cli-config.php.

Development

In order to create a level playing field for development this project uses docker & docker-compose, as well as composer for dependency management.

Provision the system
docker-compose build
Install dependencies
docker run -it --rm --user $(id -u):$(id -g) -v "$PWD":/code -v ~/.composer:/composer -w /code composer composer install
Tests
docker-compose run --rm app vendor/bin/phpunit
Running test and code-style checks with composer

All committed code is checked by our CI against the unit tests and the coding styleguide. The configuration for these tools can be found in the root directory. After installation through composer you can either call the tools directly from their location in vendor/bin or use the provided composer tasks:

composer ci   # Run all checks
composer cs   # Run style checks
composer test # Run unit tests

Be aware that the concepts of composer as a script runner and containerization might not work together out-of-the-box.

Release notes
Version 7.0.1 (2017-12-05)
Version 7.0.0 (2017-11-01)
Version 6.1.0 (2017-08-16)
Version 6.0.1 (2017-08-02)
Version 6.0.0 (2017-07-18)
Version 5.0.0 (2017-03-30)
Breaking changes
Version 4.2.0 (2017-01-04)
Version 4.1.0 (2016-12-06)
Version 4.0.0 (2016-11-25)
Breaking changes
Version 3.0.0 (2016-11-16)
Breaking changes New features Bug fixes
Version 2.1.0 (2016-10-10)
Version 2.0.1 (2016-09-28)

By the rules of semantic versioning, this version should have been 2.1 but was tagged wrongly.

Version 2.0.0 (2016-08-03)
Breaking changes New features
Version 1.0 (2016-01-11)
Version 0.1 (2015-07-10)

Initial release with Store\Factory, Store\Installer and these entities:

Future Plans
Links

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.