Skip to content

Commit

Permalink
update to HumusAmqp usage
Browse files Browse the repository at this point in the history
  • Loading branch information
prolic committed Jun 18, 2016
1 parent f44f7f3 commit 38a6e35
Show file tree
Hide file tree
Showing 137 changed files with 385 additions and 13,778 deletions.
37 changes: 0 additions & 37 deletions .scrutinizer.yml

This file was deleted.

28 changes: 6 additions & 22 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,43 +1,27 @@
language: php

sudo: required

services:
- docker
sudo: false

php:
- 5.5
- 5.6
- 7.0
- hhvm

env:
global:
- PHP_AMQP_VERSION=v1.7.0 LIBRABBITMQ_VERSION=v0.8.0
matrix:
- DEPENDENCIES=""
- DEPENDENCIES="--prefer-lowest --prefer-stable"

matrix:
allow_failures:
- php: hhvm

cache:
directories:
- $HOME/.composer/cache

before_script:
- sh build/install_deps.sh
- echo "extension = amqp.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
# update composer and fetch dependencies
- phpenv config-rm xdebug.ini
- composer self-update
- composer update --prefer-dist $DEPENDENCIES

script:
- composer ci-phpunit
- sh -c "if [ '$TRAVIS_PHP_VERSION' != 'hhvm' ]; then php build/coverage-checker.php build/clover.xml 70; fi"
- composer phpcs
- php -dzend_extension=xdebug.so ./vendor/bin/phpunit --coverage-text --coverage-clover ./build/logs/clover.xml
- ./vendor/bin/php-cs-fixer fix -v --diff --dry-run

after_script:
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover build/clover.xml
after_success:
- php vendor/bin/coveralls -v
2 changes: 1 addition & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2014 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
Copyright (c) 2014-2016 Sascha-Oliver Prolic <saschaprolic@googlemail.com>

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
Expand Down
7 changes: 0 additions & 7 deletions Module.php

This file was deleted.

50 changes: 25 additions & 25 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@ Humus AMQP Module
=================

[![Build Status](https://travis-ci.org/prolic/HumusAmqpModule.svg)](https://travis-ci.org/prolic/HumusAmqpModule)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/prolic/HumusAmqpModule/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/prolic/HumusAmqpModule/?branch=master)
[![Code Coverage](https://scrutinizer-ci.com/g/prolic/HumusAmqpModule/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/prolic/HumusAmqpModule/?branch=master)
[![Code Coverage](https://scrutinizer-ci.com/g/prolic/HumusAmqpModule/badges/coverage.png?b=master)](https://scruconf.py
index.rst
make.bat
Makefiletinizer-ci.com/g/prolic/HumusAmqpModule/?branch=master)
[![Documentation Status](https://readthedocs.org/projects/humus-amqp-module/badge/?version=latest)](http://humus-amqp-module.readthedocs.org/en/latest/)
[![Documentation Status](https://readthedocs.org/projects/humus-amqp-module/badge/?version=v0.1.7)](http://humus-amqp-module.readthedocs.org/en/v0.1.0/)
[![License](https://poser.pugx.org/prolic/humus-amqp-module/license.svg)](https://packagist.org/packages/prolic/humus-amqp-module)
Expand All @@ -13,34 +15,32 @@ Humus AMQP Module
[![Total Downloads](https://poser.pugx.org/prolic/humus-amqp-module/downloads.svg)](https://packagist.org/packages/prolic/humus-amqp-module)
[![Dependency Status](http://www.versioneye.com/php/prolic:humus-amqp-module/dev-master/badge.svg)](http://www.versioneye.com/php/prolic:humus-amqp-module)

About
-----
## About

The Humus AMQP Module incorporates messaging in your zf2 application via [RabbitMQ](http://www.rabbitmq.com/) using the [PHP AMQP Extension](https://github.com/pdezwart/php-amqp).
Documentation for `Humus AMQP Module
<http://www.github.com/prolic/HumusAmqpModule/>`_

This module implements several messaging patterns comparable to the [Thumper](https://github.com/videlalvaro/Thumper) library.
The Humus AMQP Module incorporates messaging in your zf2 application via RabbitMQ using the PHP AMQP Extension,
it is based on `HumusAmqp <https://github.com/prolic/HumusAmqp>`_ and required PHP 7.

A lot of ideas and even implementation details came from the [RabbitMQ Java Client](https://github.com/rabbitmq/rabbitmq-java-client) and the [RabbitMqBundle](https://github.com/videlalvaro/RabbitMqBundle), special thanks to [Alvaro Videla](https://github.com/videlalvaro) and the contributors of this project.
If you want to use it without Zend Framework, use `HumusAmqp <https://github.com/prolic/HumusAmqp>`_ without this module.

Documentation
-------------
Documentation can be found here: `humus-amqp.readthedocs.org <http://humus-amqp.readthedocs.org>`_.

Documentation is [available here](http://humus-amqp-module.readthedocs.org/), powered by [Read the docs](http://readthedocs.org/).

Demo
----
## Demo

You can install the [Demo-Module](https://github.com/prolic/HumusAmqpDemoModule) additionally. That should help you getting started. Just remove the demo module, when you're ready to go!

Dependencies
------------

- PHP 5.5 | 7
- [ext-amqp 1.7.0](https://github.com/pdezwart/php-amqp)
- [HumusSupervisorModule](https://github.com/prolic/HumusSupervisorModule) (optional)
- [Zend Console 2.3.0](https://github.com/zendframework/zf2)
- [Zend EventManager 2.3.0](https://github.com/zendframework/zf2)
- [Zend MVC 2.3.0](https://github.com/zendframework/zf2)
- [Zend ModuleManager 2.3.0](https://github.com/zendframework/zf2)
- [Zend ServiceManager 2.3.0](https://github.com/zendframework/zf2)
- [Zend Text 2.3.0](https://github.com/zendframework/zf2)
## Support

- File issues at [https://github.com/prolic/HumusAmqp/issues](https://github.com/prooph/event-store/issues).
- Say hello in the [HumusAmqp gitter](https://gitter.im/prooph/improoph) chat.

## Contribute

Please feel free to fork and extend existing or add new plugins and send a pull request with your changes!
To establish a consistent code quality, please provide unit tests for all your changes and may adapt the documentation.

## License

Released under the [MIT](LICENSE).
Loading

0 comments on commit 38a6e35

Please sign in to comment.