Skip to content

Commit

Permalink
Implemented version 2
Browse files Browse the repository at this point in the history
  • Loading branch information
florianv committed May 22, 2014
1 parent 5dd78af commit 35a5db2
Show file tree
Hide file tree
Showing 109 changed files with 3,235 additions and 5,365 deletions.
5 changes: 2 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
phpunit.xml
vendor/
composer.phar
bin
vendor
composer.lock
18 changes: 6 additions & 12 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,14 @@
language: php

php:
- "5.3"
- "5.4"
- "5.5"
- 5.3
- 5.4
- 5.5
- 5.6
- hhvm

before_install:
- composer self-update

before_script:
- composer install --dev --no-interaction
- mkdir -p build/logs
- composer --prefer-source --dev install

script:
- phpunit --coverage-clover build/logs/clover.xml

after_script:
- php vendor/bin/coveralls -v
- php bin/phpspec run
30 changes: 0 additions & 30 deletions CONTRIBUTING.md

This file was deleted.

39 changes: 20 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,39 +1,40 @@
# Petrinet

This framework allows to create, vizualize and execute Petrinets.
[![Build Status](https://travis-ci.org/florianv/swap.svg?branch=master)](https://travis-ci.org/florianv/petrinet)
[![SensioLabsInsight](https://insight.sensiolabs.com/projects/4a15ed6f-09d8-4678-bd49-629b4c1c1251/mini.png)](https://insight.sensiolabs.com/projects/4a15ed6f-09d8-4678-bd49-629b4c1c1251)
[![Total Downloads](http://img.shields.io/packagist/dt/florianv/petrinet.svg)](https://packagist.org/packages/florianv/petrinet)
[![License](http://img.shields.io/packagist/l/florianv/petrinet.svg)](https://packagist.org/packages/florianv/petrinet)

[![Build Status](https://secure.travis-ci.org/florianv/petrinet.png)](https://travis-ci.org/florianv/petrinet)
[![Coverage Status](https://coveralls.io/repos/florianv/petrinet/badge.png)](https://coveralls.io/r/florianv/petrinet)
[![SensioLabsInsight](https://insight.sensiolabs.com/projects/16f7c4d1-7448-463d-b68a-61429a8202c3/mini.png)](https://insight.sensiolabs.com/projects/16f7c4d1-7448-463d-b68a-61429a8202c3)
[![Latest Stable Version](https://poser.pugx.org/florianv/petrinet/v/stable.png)](https://packagist.org/packages/florianv/petrinet)
[![Latest Unstable Version](https://poser.pugx.org/florianv/petrinet/v/unstable.png)](https://packagist.org/packages/florianv/petrinet)
[![Total Downloads](https://poser.pugx.org/florianv/petrinet/downloads.png)](https://packagist.org/packages/florianv/petrinet)
[![License](https://poser.pugx.org/florianv/petrinet/license.png)](https://packagist.org/packages/florianv/petrinet)

## Requirements

Petrinet requires PHP 5.3.3+.
This framework allows to build, vizualize and execute [Petrinets](http://en.wikipedia.org/wiki/Petri_net)
which can be used to build workflow engines. It provides the core domain model of basic Petrinets that can be persisted
using your favorite ORM as well as services to manage its execution.

## Installation

Petrinet is installable via [Composer](http://getcomposer.org/).
The recommended way to install Petrinet is via [Composer](https://getcomposer.org).

Add this line to your `composer.json` file:

```json
{
"require": {
"florianv/petrinet": "~1.0"
"florianv/petrinet": "~2.0"
}
}
```

## Documentation
Tell Composer to update the dependency by running:

The documentation is available [here](https://github.com/florianv/petrinet/blob/master/docs/documentation.md).
```bash
$ php composer.phar update florianv/petrinet
```

## Documentation

## Contributing
[Read the documentation for master](https://github.com/florianv/petrinet/blob/master/docs/documentation.md)

The contribution guide is available [here](https://github.com/florianv/petrinet/blob/master/CONTRIBUTING.md).
[Read the documentation for the 1.0 version](https://github.com/florianv/petrinet/blob/1.0/docs/documentation.md)

## License

[MIT](https://github.com/florianv/petrinet/blob/master/LICENSE).
[MIT](https://github.com/florianv/petrinet/blob/master/LICENSE)
9 changes: 6 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "florianv/petrinet",
"type": "library",
"description": "A Petrinet PHP framework",
"description": "Petrinet framework for PHP 5.3+",
"keywords": ["petrinet", "workflow"],
"homepage": "https://github.com/florianv/petrinet",
"license": "MIT",
Expand All @@ -14,16 +14,19 @@
],
"require": {
"php": ">=5.3.3",
"symfony/event-dispatcher": "~2.0"
"doctrine/common": "~2.0"
},
"require-dev": {
"satooshi/php-coveralls": "dev-master"
"phpspec/phpspec": "2.0.*@dev"
},
"autoload": {
"psr-0": {
"Petrinet\\": "src/"
}
},
"config": {
"bin-dir": "bin"
},
"extra": {
"branch-alias": {
"dev-master": "2.0-dev"
Expand Down
Loading

0 comments on commit 35a5db2

Please sign in to comment.