Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/bavix/json-api

JSON-API (http://jsonapi.org) responses in PHP.
https://github.com/bavix/json-api

Allow Collection construction using existing Resource objects

ref #48

8cd31f4487d5c90937f3d7b0837d04919ea6a053 authored over 9 years ago by Toby Zerner <[email protected]>
Add meta information to resource identifier objects

ref #48

247adcdede5daf7a390105766d57749af3c8581f authored over 9 years ago by Toby Zerner <[email protected]>
Tweak docs

b2ac9d8ab29eef08277e984ba753dfe693cfcf18 authored over 9 years ago by Toby Zerner <[email protected]>
Merge pull request #55 from tobscure/analysis-qoYrp8

Applied fixes from StyleCI

2306e6d8f8c3b5b7b53a9c7099c3f8196e762ba8 authored over 9 years ago by Toby Zerner <[email protected]>
Applied fixes from StyleCI

19a231a3049dfd71b427ef62db09b8ae5da48b74 authored over 9 years ago by Toby Zerner <[email protected]>
Extract traits, add pagination links helper

- Get rid of the Element namespace
- Extract links and meta stuff into traits (used by Document,...

e8a9599ecbf99da38179132e0c7fcbc890279d82 authored over 9 years ago by Toby Zerner <[email protected]>
Merge duplicate included resources into primary data

5b34a13bf9c11ed3247e49983d0908d77c10ebcb authored over 9 years ago by Toby Zerner <[email protected]>
Better parsing of page[number] and page[offset]

$perPage can now be passed to getOffset() and page[number] will be used if present, otherwise pa...

7c9f8b6846d08926543b9af54301d395c94e9a7a authored over 9 years ago by Toby Zerner <[email protected]>
Don't pass by reference, add docblock

379d9e398bf77286428c6c8216337561b3040563 authored over 9 years ago by Toby Zerner <[email protected]>
Update exception message

d557700544f69f754536a09c16250b6d7b70a119 authored over 9 years ago by Toby Zerner <[email protected]>
Add missing docblock

4926f7518a91fae0d09cc7584ec1ff5499b12fa6 authored over 9 years ago by Toby Zerner <[email protected]>
Add test for #51, fix additional failing case

17b583bb08bb18938e8e830625770b283e8b3781 authored over 9 years ago by Toby Zerner <[email protected]>
Merge pull request #53 from byCedric/0.2

Fixed error regarding `fields` param

8f13212c0f8541ca7b174e527c0fd9ed02a6a41a authored over 9 years ago by Toby Zerner <[email protected]>
Fixed fatal error when `field` param was not provided

b86598248a30269c2c14513873ee82564e0ee1e1 authored over 9 years ago by Cedric van Putten <[email protected]>
Merge pull request #50 from tobscure/analysis-8Lnllq

Applied fixes from StyleCI

62ab5f9abfb080183a611312e496662d48e7566b authored over 9 years ago by Toby Zerner <[email protected]>
Applied fixes from StyleCI

258d5a631883e27e0ffbb90e832941b30db17aaa authored over 9 years ago by Toby Zerner <[email protected]>
Fix syntax error in travis config

9923e18650c26e174d7068732f208c60143126b0 authored over 9 years ago by Toby Zerner <[email protected]>
Fix docblocks

1be2f5fa571d3470538ba26a68a0f7f1216c257a authored over 9 years ago by Toby Zerner <[email protected]>
Fix tests

0a0f3eccfa30634c8fbae62b2e3a47aafaa96eee authored over 9 years ago by Toby Zerner <[email protected]>
Don't test on PHP 5.5.9

PHP 5.5.9 seems to have a bug (related to the ClosureTrait defining a constructor) that would ma...

9aeef92017f039a6a6091305c1773d9a1f4bb133 authored over 9 years ago by Toby Zerner <[email protected]>
Massive rewrite to improve all the things

Warning: I haven't yet been able to test this beyond the included tests. Will be doing so in the...

fba08d85ee935279e6a33bdb93d272ef95dff582 authored over 9 years ago by Toby Zerner <[email protected]>
Allow resource type to be overridden per-model

7b31c8c951bb6319b82118670988ba4dd055fd2d authored over 9 years ago by Toby Zerner <[email protected]>
Fix docblock/typehint

b9dddfafb5acacfd41f91eec2c9a88772d7d10c8 authored over 9 years ago by Toby Zerner <[email protected]>
Pass include/link arrays to method instead of instance

c0df7c20f7ebea756f6bf8ab624260e5cd80a834 authored over 9 years ago by Toby Zerner <[email protected]>
Change code style

051fd5aef87c3e4bc86d6f2dfb8229ca7f03a344 authored over 9 years ago by Toby Zerner <[email protected]>
Return empty array when include criteria is empty

f2674b3c1a2c3c04ce0312474be79b9dbc7ded77 authored over 9 years ago by Toby Zerner <[email protected]>
Merge pull request #46 from vinkla/badges

Add badges

83cecffea213409ce314fc600ba8b44cb796eb85 authored over 9 years ago by Toby Zerner <[email protected]>
Add badges

d86152b7449c2c233ab7804733b765f866bca9f1 authored over 9 years ago by Vincent Klaiber <[email protected]>
Merge branch 'pr/44'

b4cb8dff053bd9adc0bf471152c297eeb8bf242f authored over 9 years ago by Toby Zerner <[email protected]>
Merge branch 'master' into pr/44

Conflicts:
src/AbstractSerializer.php

16be94b1050193a8fa19bb04bbd6f349923b22c7 authored over 9 years ago by Toby Zerner <[email protected]>
Merge pull request #45 from GrahamCampbell/patch-1

Fixed phpdoc

1404e2e6167e8497dad3df8d4047807a25d43338 authored over 9 years ago by Toby Zerner <[email protected]>
Fixed phpdoc

6f7b0e2e9576f47155526570087b0ef3d553a27b authored over 9 years ago by Graham Campbell <[email protected]>
DocBloc everything

This closes #28

54523fa7e04c4ff8d3cdb21f344b76923a1b5820 authored over 9 years ago by Vincent Klaiber <[email protected]>
Merge pull request #41 from vinkla/changelog

Update changelog to 0.1.1

bd316b03c63d6e2bbd56c0714eccc644f31881d4 authored over 9 years ago by Toby Zerner <[email protected]>
Merge pull request #39 from vinkla/readme

Fix abstract serializer in readme

6012cfc979fa1bd69df850d191db97715866f3a9 authored over 9 years ago by Toby Zerner <[email protected]>
Merge pull request #40 from tobscure/analysis-8jJGr8

Applied fixes from StyleCI

ef35378f21e7ccd2bf746ef881af6fa904f9632e authored over 9 years ago by Toby Zerner <[email protected]>
Applied fixes from StyleCI

c34e4eaf04605c12bcde209841f401377f571dd9 authored over 9 years ago by Toby Zerner <[email protected]>
Update changelog to 0.1.1

b439d41a6e4bcb2d068288488c04a34b2b92ad65 authored over 9 years ago by Vincent Klaiber <[email protected]>
Fix abstract serializer in readme

78612cf901c0e2b31766e5168caf98f0878bf9a1 authored over 9 years ago by Vincent Klaiber <[email protected]>
Merge pull request #37 from vinkla/abstract

Rename abstract classes

dcaed38c870a842321cd13d30946f8046276d11b authored over 9 years ago by Toby Zerner <[email protected]>
Rename abstract classes

The reason behind this is to follow the PHP Fig naming conventions.

500aada10eb429889c36f35ffbca6661c1acd326 authored over 9 years ago by Vincent Klaiber <[email protected]>
Merge pull request #36 from vinkla/update

Add better test suit and php-cs-fixer

9e4b829adec6928eedc0bb27e9a802d58d0d09de authored over 9 years ago by Toby Zerner <[email protected]>
Add better test suit and php-cs-fixer

fd0cd944cb84dfad620ca2887ba7026b9f2179f6 authored over 9 years ago by Vincent Klaiber <[email protected]>
Merge pull request #31 from forkify/changelog

Add Changelog for 0.1.0

5b9e8093821d77ecc5058f350b458953c4a02b37 authored over 9 years ago by Toby Zerner <[email protected]>
Add changelog

Please release this first testing version. When this current release is tagged we can start test...

ca095c9fba68a4a7af117a97406c32225feaef14 authored over 9 years ago by Vincent Klaiber <[email protected]>
Merge pull request #34 from hanneskaeufler/hk-kickstart-test-suite

Hk kickstart test suite

d07df7c45a822677b739857177ef1dd3bd7af16a authored over 9 years ago by Toby Zerner <[email protected]>
break long line

f353661400220a7a6ffa6a121073a9f853cd91c2 authored over 9 years ago by Hannes Kaeufler <[email protected]>
namespace test classes

dfbdf529891192330234f9873242aa852b115d1e authored over 9 years ago by Hannes Kaeufler <[email protected]>
fix codestyle error

2ddf01129cb9ab2cacb5c0be44f028ca67bca9b2 authored over 9 years ago by Hannes Kaeufler <[email protected]>
add Collection tests

189df8b03dbf7c906a9b59753465b587a44f6d6a authored over 9 years ago by Hannes Kaeufler <[email protected]>
add tests for Criteria

967621683d9a2a1b5d8ae9f29a6253d823ce9c2a authored over 9 years ago by Hannes Kaeufler <[email protected]>
add tests for Document

ec9898ebf574500e28b7363063afe5a57375588b authored over 9 years ago by Hannes Kaeufler <[email protected]>
Merge pull request #32 from abhimanyusharma003/master

+ is treated as space in query sting

95c049696443da6dd3467dd4e5a6012ac44fe548 authored over 9 years ago by Toby Zerner <[email protected]>
+ is treated as space in query sting

`+` is treated as ` ` ( space ) in query sting.

So when doing `/?sort=+foo,-bar` the result w...

4e63386c67df449dc68c9a673c99e5e252d7fd4b authored over 9 years ago by Abhimanyu Sharma <[email protected]>
Merge pull request #30 from forkify/todo

Remove todos from README

734a410b06ad57fc9c37ef77b6fbe434803238ef authored over 9 years ago by Toby Zerner <[email protected]>
Remove todos from README

3efd9d8ecce9283c2491bebd6f0226721dc5939f authored over 9 years ago by Vincent Klaiber <[email protected]>
Merge pull request #19 from forkify/composer

Cleanup composer file

172b967703a8d4846a6a6bb61871b37b5e16a0f9 authored over 9 years ago by Toby Zerner <[email protected]>
Merge pull request #20 from forkify/license

Renamed license file and added license link to README

b9aad2ac82d6130a54a78e2eba6c36d2eaede4fa authored over 9 years ago by Toby Zerner <[email protected]>
Merge pull request #21 from forkify/ignore

Cleanup ignore file and renamed phpunit.xml with dist

44f1226ab6afaf71129f5c416c1fb7a5094428db authored over 9 years ago by Toby Zerner <[email protected]>
Merge pull request #22 from forkify/readme

Update snippets in the readme

a3f583f48c50dbca604d2ae34ecad665e74bced5 authored over 9 years ago by Toby Zerner <[email protected]>
Update snippets in the readme

ec2c1b9fd030eff8ec861ff59d8523c249f0fb74 authored over 9 years ago by Vincent Klaiber <[email protected]>
Cleanup ignore file and renamed phpunit.xml with dist

ab0ad8b3af5af2e5a98e75b706a43d8985a0c892 authored over 9 years ago by Vincent Klaiber <[email protected]>
Renamed license file and added license link to README

278b8b0f133c07873dec20266b8cba1cab3ea259 authored over 9 years ago by Vincent Klaiber <[email protected]>
Cleanup composer file

Added license, branch alias and changed minimum stability to dev.

26e9038f2821356a8e6996ce11bf703b3741be4b authored over 9 years ago by Vincent Klaiber <[email protected]>
Merge pull request #16 from xbill82/array-get-fix

No more array_get() calls

2629b6f48eb380973848c7e5fc36d41f33b305b3 authored over 9 years ago by Toby Zerner <[email protected]>
Merge branch 'array-get-fix' of https://github.com/xbill82/json-api-1 into array-get-fix

1bd75d11a9adb38e40167ff901f6522006ae1089 authored over 9 years ago by lma <[email protected]>
No more array_get() calls

4c64ade280ba8c2fb58c97b8118b6292a1ba9a88 authored over 9 years ago by lma <[email protected]>
Avoid creating element if method is not found

94a09f3fc26ee0c35e498ba108c0539489793e79 authored over 9 years ago by lma <[email protected]>
No more array_get() calls

d113129407bd32c0fcccba625e0b8cf9aad79b61 authored over 9 years ago by lma <[email protected]>
Merge pull request #14 from burki/master

Add Document::setErrors($errors)

fe013caafe9ed0797b1b6abb116d514b301fbf1c authored over 9 years ago by Toby Zerner <[email protected]>
Add Document::setErrors($errors)

9096bf57b0525eaecdd58d79f5f6d13ee17c67f7 authored over 9 years ago by Daniel Burckhardt <[email protected]>
Extract relationship retrieval logic

194c730df0695326a91ff74d72f9486abb46cb39 authored over 9 years ago by Toby Zerner <[email protected]>
Upgrade to version 1.0 of the spec. API changes

- SPEC: Rename ‘links’ to ‘relationships’, ‘linkage’ to ‘data’
- SPEC: Group resource attributes...

f7f16d06c85d9dd10575b7fa827029036b359eb9 authored over 9 years ago by Toby Zerner <[email protected]>
Merge pull request #12 from franzliedke/patch-2

Import interface

ea24da83ff5c4ee9f5df4f2a8eef9f1e6b124d55 authored over 9 years ago by Toby Zerner <[email protected]>
Import interface

1ec39a1afabc38abafacb36f6803acfcd3ff7d3d authored over 9 years ago by Franz Liedke <[email protected]>
Merge pull request #11 from franzliedke/patch-1

Implement JsonSerializable interface

c36430b621cc4bc014706395a184e6ced07af3e4 authored over 9 years ago by Toby Zerner <[email protected]>
Implement JsonSerializable interface

999bf70b1c5c4fba319be3c1e155cf4531171b3b authored over 9 years ago by Franz Liedke <[email protected]>
Update PHP version requirement

87246f43e93a2dda317c73b87bb78010dd25c52f authored over 9 years ago by Franz Liedke <[email protected]>
Reduce number of loops required

cfc22175c1c2fa30871dfc40b4aa7713d4246399 authored over 9 years ago by Toby Zerner <[email protected]>
Fix regression in nested relationship handling

Allow for a relationship to be included and linked at the same time

d6c82a496289569e8907f3aa980ace407a35b45e authored over 9 years ago by Toby Zerner <[email protected]>
Improve nested relationship handling

1. Deprecate default relationships on serializers.
2. Add a fourth argument to relationship clos...

438d62c925fdd3d8cf578927efa84f24f8c25343 authored over 9 years ago by Toby Zerner <[email protected]>
Use separate loops to make sure resources are merged in the correct order

31a74d27fd9ab6a9a9bc911614ceb696504d2c39 authored over 9 years ago by Toby Zerner <[email protected]>
Merge duplicate included resources instead of overwriting them

ec101f2b95cb3ef40489b778b01beb76c3a5c13f authored over 9 years ago by Toby Zerner <[email protected]>
Bring sort criteria parsing in line with the spec

- Support multiple sort criteria separated by ,
- Ignore sort criteria unless it starts with a +...

ac86d11b64b34962999523164863b8130f0222e8 authored over 9 years ago by Toby Zerner <[email protected]>
Add docs about overriding primary key

21ba8deda2ebb6ff4f70645d02251873e32669c9 authored over 9 years ago by Toby Zerner <[email protected]>
Add criteria parser (currently not quite up-to-date with 1.0.0rc3)

2d5c98362ace5da869010f5144230e7c87edd90e authored over 9 years ago by Toby Zerner <[email protected]>
Allow Document to be converted to string

d45d94ca3081228f7aae494dd9b7343462ff6d0a authored over 9 years ago by Toby Zerner <[email protected]>
Implement SerializerInterface

1287bbbb3f9dc886cb1eb970aaad28fa476d9daf authored over 9 years ago by Toby Zerner <[email protected]>
Use a method to get ID closes #7 #8

ade86aa5d63e62d9fad34e30d5e1012f490bf513 authored over 9 years ago by Toby Zerner <[email protected]>
Fixed relationship example

053b4f1fc1da9654bb6ba134da22f50a70554fea authored almost 10 years ago by Toby Zerner <[email protected]>
Add link/include separation back in to resources

This is so that a resources can have a large relationship linked, and
then only include a subset...

c5a5be73b205aeb515ec9f4307cac3844908d0dc authored almost 10 years ago by Toby Zerner <[email protected]>
Prevent error if a serializer's relationship method is absent

879b0f4b75ca57f7385dbf5950c7a86e44044314 authored almost 10 years ago by Toby Zerner <[email protected]>
Use composer require command

b1ac352c1380553cbb369c7d28f7effa84e3fa1a authored almost 10 years ago by Toby Zerner <[email protected]>
Add some more todos

54f16554dce25fcd48e9ebc6837d3264fcd18692 authored almost 10 years ago by Toby Zerner <[email protected]>
Update for 1.0 RC3

bee323b7537bb145d34d16dace1584819ebd55e0 authored almost 10 years ago by Toby Zerner <[email protected]>
Disable link templates for now

b48789f0e2fba8c813cd59f2bcfed3daf698ad97 authored almost 10 years ago by Toby Zerner <[email protected]>
Chainable methods

bd70b1b48d21c8d429c3f8e59ad3cf5d07d4cea1 authored almost 10 years ago by Toby Zerner <[email protected]>
Split up link and include processing.

This enables resources to contain a full list of linked data, while
including only a subset of t...

27a87507d2b1eacdd41c97878ed07226355ce07b authored almost 10 years ago by Toby Zerner <[email protected]>
Don't process resources if the primary element is empty

9a87425ad1f5e95506787df194a5d3e7a7d27224 authored over 10 years ago by Toby Zerner <[email protected]>
More consistent include/link overrides for serializers

e5b65ad7df7226b2760e89b7c220e7c381892477 authored over 10 years ago by Toby Zerner <[email protected]>