Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed note about Flex #57

Merged
merged 2 commits into from
Aug 17, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@ This package is currently in the active development.
1. Require the bundle and a PSR 7/17 implementation with Composer:

```sh
composer require trikoder/oauth2-bundle nyholm/psr7 --no-plugins --no-scripts
composer require trikoder/oauth2-bundle nyholm/psr7
```

> **NOTE #1:** Due to required pre-configuration, this bundle is currently not compatible with [Symfony Flex](https://github.com/symfony/flex).
If your project is managed using [Symfony Flex](https://github.com/symfony/flex), the rest of the steps are not required. Just follow the post-installation instructions instead! :tada:

> **NOTE #2:** This bundle requires a PSR 7/17 implementation to operate. We recommend that you use [nyholm/psr7](https://github.com/Nyholm/psr7). Check out this [document](docs/psr-implementation-switching.md) if you wish to use a different implementation.
> **NOTE:** This bundle requires a PSR 7/17 implementation to operate. We recommend that you use [nyholm/psr7](https://github.com/Nyholm/psr7). Check out this [document](docs/psr-implementation-switching.md) if you wish to use a different implementation.

2. Create the bundle configuration file under `config/packages/trikoder_oauth2.yaml`. Here is a reference configuration file:
1. Create the bundle configuration file under `config/packages/trikoder_oauth2.yaml`. Here is a reference configuration file:

```yaml
trikoder_oauth2:
Expand Down Expand Up @@ -97,19 +97,19 @@ This package is currently in the active development.
in_memory: ~
```

3. Enable the bundle in `config/bundles.php` by adding it to the array:
1. Enable the bundle in `config/bundles.php` by adding it to the array:

```php
Trikoder\Bundle\OAuth2Bundle\TrikoderOAuth2Bundle::class => ['all' => true]
```

4. Update the database so bundle entities can be persisted using Doctrine:
1. Update the database so bundle entities can be persisted using Doctrine:

```sh
bin/console doctrine:schema:update --force
```

5. Import the routes inside your `config/routes.yaml` file:
1. Import the routes inside your `config/routes.yaml` file:

```yaml
oauth2:
Expand Down