Skip to content

Commit

Permalink
Update meta to prepare packagist publication
Browse files Browse the repository at this point in the history
This library will be published using the atoum/xml-extension name.
  • Loading branch information
shulard committed Oct 31, 2016
1 parent 375c36a commit cda8782
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 27 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright {yyyy} {name of copyright owner}
Copyright 2016 Stéphane Hulard

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
34 changes: 15 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,29 +1,18 @@
# shulard/atoum-xml-extension [![Build Status](https://travis-ci.org/shulard/atoum-xml-extension.svg?branch=master)](https://travis-ci.org/shulard/atoum-xml-extension)
# atoum/xml-extension [![Build Status](https://travis-ci.org/shulard/atoum-xml-extension.svg?branch=master)](https://travis-ci.org/shulard/atoum-xml-extension)

![atoum](http://atoum.org/images/logo/atoum.png)

*This project is currently in development and shouldn't be used in production !*

## Install it

Install extension using [composer](https://getcomposer.org):

```json
{
"repositories": [
{
"type": "vcs",
"url": "[email protected]:shulard/atoum-xml-extension.git"
}
],
"require-dev": {
"shulard/atoum-xml-extension": "^0.0"
},
}

```bash
composer require --dev shulard/atoum-xml-extension
```

Enable the extension using atoum configuration file:
## Enable it

You should add the following lines in your atoum configuration file:

```php
<?php
Expand All @@ -40,7 +29,6 @@ $runner->addExtension(new xml\extension($script));
## Use it

```php

<?php
namespace shulard\example\xml;

Expand Down Expand Up @@ -147,5 +135,13 @@ XML;
;
}
}

```

## Links

* [atoum](http://atoum.org)
* [atoum's documentation](http://docs.atoum.org)

## Licence

atoum-xml-extension is released under the Apache2 License. See the bundled LICENSE file for details.
17 changes: 10 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,23 @@
{
"name": "shulard/atoum-xml-extension",
"type": "library",
"description": "The atoum xml extension allows you to make assertions on XML files",
"keywords": ["atoum", "test", "unit testing", "xml", "schema validation", "extension", "atoum-extension"],
"homepage": "http://www.atoum.org",
"license": "apache-2",
"authors": [
{
"name": "Stéphane HULARD",
"email": "[email protected]"
}
],
"require": {
"atoum/atoum": "^2.8"
},
"require-dev": {
"atoum/praspel-extension": "~0.16",
"squizlabs/php_codesniffer": "~2"
},
"license": "apache2",
"authors": [
{
"name": "Stéphane HULARD",
"email": "[email protected]"
}
],
"autoload": {
"psr-4": {
"mageekguy\\atoum\\xml\\": "classes"
Expand Down

0 comments on commit cda8782

Please sign in to comment.