Skip to content

Commit

Permalink
Updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
lolautruche committed Nov 28, 2019
1 parent 6dc004d commit ef5994a
Showing 1 changed file with 12 additions and 27 deletions.
39 changes: 12 additions & 27 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,45 +25,30 @@ Mandatory elements from you Payline account are:
* **Contract number**, related to the means of payment you configured in Payline admin

### PHP
* PHP 5.4+ / 7.0+
* PHP 5.5.9+ / 7.0.8+
* [PHP SOAP extension](http://php.net/soap) for Payline SDK

### Symfony
Symfony 2.7.10+ / 3.0.3+
Symfony 3.4 / 4.x, with Symfony Flex support


## Installation

This bundle is available on [Packagist](https://packagist.org/packages/lolautruche/payline-bundle).
You can install it using Composer.
> For support of earlier versions of Symfony, refer to:
> - [1.1](https://github.com/lolautruche/LolautruchePaylineBundle/tree/1.1) (Symfony 2.7 / 3.x)
```
composer require lolautruche/payline-bundle
```

Then add it to your application:
## Installation

```php
// app/AppKernel.php
This bundle is installable with [Symfony Flex](https://flex.symfony.com).
You first need to allow contrib recipes before requiring the package:

public function registerBundles()
{
$bundles = [
// ...
new Lolautruche\PaylineBundle\LolautruchePaylineBundle,
// ...
];
}
```

Add the routes to your `routing.yml`:

```yaml
LolautruchePaylineBundle:
resource: "@LolautruchePaylineBundle/Resources/config/routing.yml"
prefix: /
composer config extra.symfony.allow-contrib true
composer req lolautruche/payline-bundle
```

Everything will be pre-configured for you;
however ensure to correctly expose the environment variables commented in `.env` file.


## Documentation

Expand Down

0 comments on commit ef5994a

Please sign in to comment.