Skip to content

Commit

Permalink
Merge pull request #5 from clash82/better
Browse files Browse the repository at this point in the history
Added Symfony 2.6 dependency to composer, updated readme, added .gitignore
  • Loading branch information
andrerom committed May 20, 2015
2 parents 6f794ee + 4271a13 commit db93da0
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/.idea/
/vendor/
composer.lock
composer.phar
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ This bundle adds privacy cookie banner into Symfony 2 application (eZ Publish /

## Requirements

- any Symfony v2.x application
- any Symfony v2.6 or newer application _(*)_
- BootstrapJS v3.x

_(*) if you are running Symfony v2.5 you should install v0.1 of this bundle_

## Installation
This package is available via composer, so the instructions below are similar to how you install any other open source Symfony Bundle.

Expand Down Expand Up @@ -40,13 +42,13 @@ You should also add BootstrapJS libraries into your project.
If you are installing bundle via `composer require` you must also copy assets to your project `web` directory. You can do this by calling Symfony built-in command from the project root directory:

```
php app/console assets:install
php app/console assets:install --symlink
```

If you are using eZ Publish / eZ Platform:

```
php ezpublish/console assets:install
php ezpublish/console assets:install --symlink
```

## Usage
Expand Down Expand Up @@ -77,3 +79,7 @@ or
days: 7,
bannerCaption: 'Nice to see you here'}) }}
```

##Abstraction

Privacy Cookie Bundle v0.2 allows to increase abstraction level on the implementation side. Example of usage is shown on [EzDemoBundle](https://github.com/ezsystems/DemoBundle) (part of the eZ Publish / eZ Platform) in which banner options are retrieved from specified content type structure.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
}
],
"require": {
"symfony/symfony": "~2.3",
"symfony/symfony": "~2.6",
"components/bootstrap": "~3.0"
},
"autoload": {
Expand Down

0 comments on commit db93da0

Please sign in to comment.