Skip to content

Commit

Permalink
Update build instructions to use a local phing
Browse files Browse the repository at this point in the history
No need for a global install of phing anymore, as it's now a dev
composer dependency.
  • Loading branch information
giggsey committed Jun 10, 2014
1 parent 08dc5b2 commit 2c93cbe
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

[![Total Downloads](https://poser.pugx.org/giggsey/libphonenumber-for-php/downloads.png)](https://packagist.org/packages/giggsey/libphonenumber-for-php)
[![Latest Stable Version](https://poser.pugx.org/giggsey/libphonenumber-for-php/v/stable.png)](https://packagist.org/packages/giggsey/libphonenumber-for-php)
[![License](https://poser.pugx.org/giggsey/libphonenumber-for-php/license.svg)](https://packagist.org/packages/giggsey/libphonenumber-for-php)

## What is it?
A PHP library for parsing, formatting, storing and validating international phone numbers. This library is based on Google's [libphonenumber](https://code.google.com/p/libphonenumber/) and forked from a version by [Davide Mendolia](https://github.com/davideme/libphonenumber-for-PHP).
Expand Down Expand Up @@ -177,7 +178,13 @@ $timeZones = $timeZoneMapper->getTimeZonesForNumber($swissNumberProto);

## Generating data

Data can be generated using phing, running the 'compile' target.
Phing is used to 'compile' the metadata.

Ensure you have all the dev composer dependencies installed, then run

```bash
vendor/bin/phing compile
```

## Integration with frameworks

Expand Down
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"ext-intl": "*"
},
"require-dev": {
"phing/phing": "~2.7",
"phpunit/phpunit": "~4.0",
"symfony/console": "~2.4",
"satooshi/php-coveralls": "~0.6"
Expand Down

0 comments on commit 2c93cbe

Please sign in to comment.