Skip to content
This repository has been archived by the owner on Apr 17, 2021. It is now read-only.

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcclell committed May 14, 2014
0 parents commit 382096d
Show file tree
Hide file tree
Showing 15 changed files with 1,530 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .coveralls.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
service_name: travis-ci

src_dir: .
coverage_clover: build/logs/clover.xml
json_path: build/logs/coveralls-upload.json
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
vendor/
22 changes: 22 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
language: php

matrix:
allow_failures:
- php: hhvm

php:
- 5.3
- 5.4
- 5.5
- hhvm

before_script:
- composer self-update
- composer install --dev

script:
- mkdir -p build/logs
- phpunit --coverage-clover build/logs/clover.xml

after_success:
- php vendor/bin/coveralls -v
33 changes: 33 additions & 0 deletions Composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"name": "jlm/serializer-expression",
"type": "library",
"description": "Allows you to exclude fields at runtime via expressions using the Symfony expression language",
"keywords": ["serialization", "serialize", "jms serializer", "exclusion"],
"homepage": "http://github.com/jmcclell/JLMSerializerExpression",
"license": "MIT",
"authors": [
{
"name": "Jason McClellan",
"email": "[email protected]"
}
],
"require": {
"php": ">=5.3.2",
"jms/serializer": "~0.11",
"symfony/expression-language": "~2.4"
},
"require-dev": {
"phpunit/phpunit": "4.1.*",
"satooshi/php-coveralls": "dev-master"
},
"autoload": {
"psr-0": { "JLM\\SerializerExpression": "src" }
},
"minimum-stability": "dev",
"target-dir": "JLM/SerializerExpression",
"extra": {
"branch-alias": {
"dev-master": "0.1-dev"
}
}
}
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#JLMSerializerExpression

This library adds expression language support to [JMSSerializerBundle](https://github.com/schmittjoh/JMSSerializerBundle) so that individual fields can be hidden based on expressions at runtime.
Loading

0 comments on commit 382096d

Please sign in to comment.