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

Update composer.json

b2e5ea3fd4b3d2c29df7e869e283747e33126316 authored almost 4 years ago by Babichev Maxim <[email protected]>
Update MetaTrait.php

f3784bf12a40bc7bf57d0dec662eee14120c5dd0 authored almost 5 years ago by Babichev Maxim <[email protected]>
Update README.md

c65bed0a3cef86dcbe7b447bc0d1f1f4b29d3351 authored about 5 years ago by Babichev Maxim <[email protected]>
update package

7fe6f8038929c1ef463384a427f96c031b6bdca5 authored about 5 years ago by Babichev Maxim <[email protected]>
Document:MEDIA_TYPE (#118)

* Document:MEDIA_TYPE

As proposed in the comments to #117

* Update Document.php

355b213927a1412ede81b67ac2a5605753382379 authored almost 8 years ago by Alexey <[email protected]>
Remove old method

66962f958501c9d8c69a5108174b0c19b7ef667e authored almost 8 years ago by Toby Zerner <[email protected]>
Release v0.4.1

d4ba8437977c33a5189d95d9ffa751997f13b104 authored almost 8 years ago by Toby Zerner <[email protected]>
Merge pull request #114 from f3ath/attributes-fix

Do not call getAttributes() twice

a2c3733c5d930a8bc47233af5ea3a0b3f46898ae authored almost 8 years ago by Toby Zerner <[email protected]>
Do not call getAttributes() twice

cb66839da0c7c0de72b4afbf6f80784bcb98b73c authored almost 8 years ago by Alexey Karapetov <[email protected]>
Release v0.4.0

25a62d3afcc9c2f0190e4d6ec98bc9fd202cef72 authored almost 8 years ago by Toby Zerner <[email protected]>
Update changelog

f43770e9bdf4473d54705780ea2612ad1bedca35 authored almost 8 years ago by Toby Zerner <[email protected]>
Add documentation about AbstractSerializer's handling of relationship

names.

9eb6173af0d32305712cfeae12f9728e4782d7cb authored almost 8 years ago by Toby Zerner <[email protected]>
Fix grammar

78e908f388dd1ef000797b66f578e19e45508de0 authored almost 8 years ago by Toby Zerner <[email protected]>
Merge pull request #110 from f3ath/omit-empty-attributes

Omit empty attributes

e3a5bbb8adee7d8a86e67a22a7b0357e8862256f authored almost 8 years ago by Toby Zerner <[email protected]>
Omit empty attributes

cc338b27714d893b1e1732ab827ed042ce0f0918 authored almost 8 years ago by Alexey Karapetov <[email protected]>
Merge pull request #106 from ustrugany/issue-105

#105 handling underscored relationships names

7fbe32ae88d5190afffddf37066c74440f14ddc8 authored almost 8 years ago by Toby Zerner <[email protected]>
#105 handling underscored relationships names

8d4116ec580febf36d7e6995829a6f5adf6f9c48 authored almost 8 years ago by ustrugany <[email protected]>
Merge pull request #104 from tobscure/analysis-qx7rJb

Applied fixes from StyleCI

a8a56f1750f667738c2e942d0277cf0ffb013719 authored about 8 years ago by Toby Zerner <[email protected]>
Applied fixes from StyleCI

df7e1a56e3262eca2faaeb5b70141126d4258c94 authored about 8 years ago by Toby Zerner <[email protected]>
Cache resource relationships to prevent them being built twice. fixes #103

a691e2bd3bff0708e1ed33705a879e47da262f72 authored about 8 years ago by Toby Zerner <[email protected]>
Merge pull request #99 from anthonyhendrickson/master

Fixed: resource-identifier objects included empty 'attributes' field

3bae17c319e8bd53827aae95129bd4265c6ef8a6 authored over 8 years ago by Toby Zerner <[email protected]>
Fixed issue where resource-identifier objects included empty 'attributes' field

5f6b532fb113a1794eeee8da78505e5d3eacd1b5 authored over 8 years ago by Anthony Hendrickson <[email protected]>
Simplify empty relationship support. ref #94

Since the natural thing to do is:

return new Relationship(new Resource($data, new Serialize...

de166728935546690ada9b837a5fb87cf7a2c13f authored over 8 years ago by Toby Zerner <[email protected]>
Better support for empty relationships. closes #94

To return an empty to-one relationship, pass an EmptyResource instance as the Relationship data....

24b0e852c5809fd078d7095c033b0884c6d0c330 authored over 8 years ago by Toby Zerner <[email protected]>
Enhance invalid parameter exceptions. closes #96

d9eccd996fdfc6a00175cfd1a227f80f517f4d0d authored over 8 years ago by Spencer Rinehart <[email protected]>
Merge pull request #92 from vinkla/docblocs

Update docblocs

0feda5d7fb3f983feebd3a752d3c96e25937d25e authored over 8 years ago by Toby Zerner <[email protected]>
Merge pull request #89 from vinkla/patch-1

Add gitattributes file

7cb11ec9af4cf515670411057d6761a0c1bd6458 authored over 8 years ago by Toby Zerner <[email protected]>
Update docblocs

Added missing return statements and added fullpaths.

3035ee56b0538c914193ae37deeb9e47d8baef06 authored almost 9 years ago by Vincent Klaiber <[email protected]>
Merge pull request #91 from vinkla/patch-2

Update contributing copy

35a982b677d41160586a7a643cf18b19e7e6097f authored almost 9 years ago by Toby Zerner <[email protected]>
Update contributing copy

ba343e57fe76c136dcd53547916f761e8cc1e850 authored almost 9 years ago by Vincent Klaiber <[email protected]>
Merge pull request #90 from vinkla/patch-2

Update phpunit config

7ef5cea5dd1c832ed787cc2e8ae60d8fb17cbfc0 authored almost 9 years ago by Toby Zerner <[email protected]>
Update phpunit config

With can now make the tests fail on warnings and risky tests.

1f1313884a12c1c11ae245d3d0a123fa6104d7f5 authored almost 9 years ago by Vincent Klaiber <[email protected]>
Add gitattributes file

6fb8dec1f0defd05cd1da27b507b98fcd518b9bd authored almost 9 years ago by Vincent Klaiber <[email protected]>
Merge pull request #87 from vinkla/patch-1

Update php version constraint

429b750ef710706a3f791d67cdaa5239d48725d2 authored almost 9 years ago by Toby Zerner <[email protected]>
Merge pull request #88 from vinkla/patch-2

Test agains 5.5.9

2d8c90733da88958509afb89bd2b6f403c10bb6e authored almost 9 years ago by Toby Zerner <[email protected]>
Test agains 5.5.9

Since we target 5.5.9 we could/should also test against it.

cae4b4d9866fc94c51cadadc77885a2f172f8a14 authored almost 9 years ago by Vincent Klaiber <[email protected]>
Update php version constraint

04a6e0806d13010ba11766426cd9f9e65aa79426 authored almost 9 years ago by Vincent Klaiber <[email protected]>
Release 0.3.0

663d1c1299d4363758e8e440e5849134f218f45c authored almost 9 years ago by Toby Zerner <[email protected]>
Update copyright year

11e5ad9a42f778e6f2f3e4a5fbb6886e1cb81f54 authored almost 9 years ago by Toby Zerner <[email protected]>
Merge pull request #85 from josephmcdermott/feature/relationship-without-data

Allow relationship without requirement of 'data'

b6a424e291e7bdd4a953cd24601c25eff33146d1 authored almost 9 years ago by Toby Zerner <[email protected]>
Corrected styling from StyleCI analysis on tobscure/json-api PR

d4129e1b309bfaa0c84acfc056111dff7a49120f authored almost 9 years ago by Joseph McDermott <[email protected]>
Allow relationship without requirement of 'data'

bd3755da684049d278d3805b59620140ad8dffe2 authored almost 9 years ago by Joseph McDermott <[email protected]>
Prevent primary "data" resources from showing up again in the "included" array

This would occur in a situation where the primary resource has an included relationship which in...

46142e5823da3bebbd9dfc38833af4d808a5e3f3 authored almost 9 years ago by Toby Zerner <[email protected]>
Merge pull request #83 from tobscure/analysis-qrdyPG

Applied fixes from StyleCI

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

da79a9813895e6df4106f245630b4d3102ee922d authored almost 9 years ago by Toby Zerner <[email protected]>
Merge pull request #82 from Big-Shark/patch-1

Fix readme code highlight

60bb95ac122ca156b1fa48d390b3aa8e0c346b6f authored almost 9 years ago by Toby Zerner <[email protected]>
Fix readme code highlight

0e7658d163a75ec5001fb18af172379a194a9ee7 authored almost 9 years ago by Maxim <[email protected]>
Merge pull request #81 from bwaidelich/meta-in-resources

Allow serializers to add metadata

d4a74e0b9b20032c765b2076260548681a2ca684 authored almost 9 years ago by Toby Zerner <[email protected]>
Allow serializers to add metadata specific to a model

With this change Serializers can provide metadata like::

```
class PostSerializer implements Se...

a0297b7dfb8ed23faf88af3de24b34de8bad48ce authored almost 9 years ago by Bastian Waidelich <[email protected]>
Allow serializers to add metadata

With this change Serializers can provide metadata like::

```
class PostSerializer implements Se...

c30619fad3f4ea9edec34251f67d7e0a49e6be53 authored almost 9 years ago by Bastian Waidelich <[email protected]>
Hardcode class name instead of using "::class"

2e1d78e311f6c5879e529ec2310aeec1efe0873d authored almost 9 years ago by Toby Zerner <[email protected]>
Refactor private method, clean up docblock

f950f40881612da4ab1f4f646056f8b87e0534e7 authored almost 9 years ago by Toby Zerner <[email protected]>
Merge pull request #79 from bwaidelich/links-in-resources

Allow serializers to add links

5b5380675dc317a3c36aaa78600fa47e1905726b authored almost 9 years ago by Toby Zerner <[email protected]>
Allow serializers to add links

With this change Serializers can provide links like::

```
class PostSerializer implements Seria...

61da91517b003cf0af11b6bd2321d3a318bd0046 authored almost 9 years ago by Bastian Waidelich <[email protected]>
Merge pull request #75 from ahsanity/patch-2

Updated Readme as passing $fields = [] to getAttributes throws error

ae75f4d2ce243e9a8b3e731b2bc5a7346b4007a1 authored about 9 years ago by Toby Zerner <[email protected]>
Updated Readme as passing $fields = [] to getAttributes throws error

ede823181dbe1bc131137da59d950764138569cc authored about 9 years ago by ahsanity <[email protected]>
Merge pull request #74 from ahsanity/patch-1

Updated README with proper access modifiers in examples of serializers

9cc6552adb2f1722f6e5f88e8d1d54a2bb5aba19 authored about 9 years ago by Toby Zerner <[email protected]>
Updated README with proper access modifiers in examples of serializers

5dca9c78b89ae8688e33f9d1c671f1fb0f4e1bb3 authored about 9 years ago by ahsanity <[email protected]>
Merge pull request #73 from tobscure/analysis-qJlQa8

Applied fixes from StyleCI

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

6850b31371b6a4aa9b986ef34bf9d411e7de12b3 authored about 9 years ago by Toby Zerner <[email protected]>
Merge pull request #70 from Damith88/master

including related resources even the relationship is not available in sparse fields

83fa0ac4b3d378e977a56878200ceaab5704570f authored about 9 years ago by Toby Zerner <[email protected]>
Merge pull request #72 from byCedric/feature/limit-returns-integer

Parameters' `getLimit` returns integer or null

fd5c6675e4156118d58c548601a53943e429deff authored about 9 years ago by Toby Zerner <[email protected]>
Changed `getLimit` behaviour, it now returns null when no limit was set and an integer when set.

82e8ad4f1ef4b5ce3832b5a9db3b10946b2e747f authored about 9 years ago by Cedric van Putten <[email protected]>
code refactoring

012d23ff7ac4ef9979acd18ae82dc48a06333e79 authored about 9 years ago by Damith88 <[email protected]>
including related resources even the relationship is not available in sparse fields

aa2eb86e64bb5ebfae73bdac36b094ed46525587 authored about 9 years ago by Damith88 <[email protected]>
Merge pull request #65 from flavo90/dashed_relationsships

add relationsships with dash in relationship name

d802eac622da8e172393fa3447bfe43447df564a authored about 9 years ago by Toby Zerner <[email protected]>
code styling: moved bracket to next line

7099f7221a6fa7d70fcb1b310d9ba962da96e324 authored about 9 years ago by Andi Voelpel <[email protected]>
add relationsships with dash in relationship name

a97c204472f432241138463a8faba8b62a8cd3da authored about 9 years ago by Andi Voelpel <[email protected]>
Merge pull request #62 from vinkla/phpunit

Allow PHPUnit 5.0

ef939dbd4339d46e1d277633a0b60c34721751de authored about 9 years ago by Toby Zerner <[email protected]>
Allow PHPUnit 5.0

104fbf82dccd8993a8346d7c02f64fe51b3f2eed authored about 9 years ago by Vincent Klaiber <[email protected]>
Merge pull request #63 from tobscure/analysis-qy7kj8

Applied fixes from StyleCI

5d4a13313fb350bbf3d2bff3772a543496ea304d authored about 9 years ago by Toby Zerner <[email protected]>
Applied fixes from StyleCI

9cd278a82674e1fd8e586b3637233393620c030c authored about 9 years ago by Toby Zerner <[email protected]>
Release 0.2.1

1e5a14d368746d6c9bb769f63ada5a31c94c1d15 authored about 9 years ago by Toby Zerner <[email protected]>
Improve performance when working with large numbers of resources

300786a6f7e4225aeab25270e2f8442cf2177ce3 authored about 9 years ago by Toby Zerner <[email protected]>
Allow relationship to be null

78f02bd9b8720287fedfb4b79f4ab59db8edc61e authored about 9 years ago by Toby Zerner <[email protected]>
Fix Exception typehint

78bc6e18d751493758aecb3de12a4f126c072eca authored about 9 years ago by Toby Zerner <[email protected]>
Release 0.2.0

245d771610c445e18499cb637d1092a9e5be1ed8 authored about 9 years ago by Toby Zerner <[email protected]>
Simplify relationships

e154aff7bb1fd76c5f183c4f0d5b56f8eba5a32c authored about 9 years ago by Toby Zerner <[email protected]>
Merge pull request #61 from tobscure/error-handling

Add error handler to make Exception\Handler stuff easy to use

898de098fcb8ba05601f6a366e21499534170885 authored about 9 years ago by Toby Zerner <[email protected]>
Add ErrorHandler

fb83eb3f927d58a63eadb9dac6aa4e865d9fefe9 authored about 9 years ago by Toby Zerner <[email protected]>
Fix syntax error

8c30f4a80c28e21473634089b775eb64c2687d47 authored about 9 years ago by Toby Zerner <[email protected]>
Fix CS issues with new exception handler

8ba855cd7f0e6e5a88fd9bd97b92b18f31d0172e authored about 9 years ago by Toby Zerner <[email protected]>
Merge pull request #60 from kirkbushell/0.2

Pulled error handling from flarum/core

5cf7b134d63e28c36c1e73f2f9d338cb078769fd authored about 9 years ago by Toby Zerner <[email protected]>
Fixed styling issues

512e3cd94fda6317b780c1df5d963f0b5b2ed081 authored about 9 years ago by Kirk Bushell <[email protected]>
Removed use statement for redundant code

034ed7e3b7b523321189c681ece068b74cadf444 authored about 9 years ago by Kirk Bushell <[email protected]>
Pulled error handling from flarum/core

Added first test for exception handler

Added status code check for response bag

Added status c...

dd4b772b346a7368dde17239df9bb76a0d9ea30c authored about 9 years ago by Kirk Bushell <[email protected]>
Change link to pre-empt merge into master

It's broken for now but it shouldn't be too long before I merge

5ab6f9fbd3387df48c8aba8c5d8bb773452d83dd authored about 9 years ago by Toby Zerner <[email protected]>
Add link to Eloquent relationship builder example

closes #26

73458d8ee5ace32aa0b61c5d63a3bf35b028355b authored about 9 years ago by Toby Zerner <[email protected]>
CS fix

992d674bf4f42f2e5c436c012a8c2c419e17a2ab authored about 9 years ago by Toby Zerner <[email protected]>
Remove old test

75c02184e38d8b647caf0ce4025b3ffbbcf9eb56 authored about 9 years ago by Toby Zerner <[email protected]>
Continue on silently if a serializer is missing a relationship method

99003e73d8784fac69a5a9df8bf099c8161d9442 authored about 9 years ago by Toby Zerner <[email protected]>
Clean up

e26093389685de3c0c67f4d50145ddd12f967e1b authored about 9 years ago by Toby Zerner <[email protected]>
Don't create relationship if there is no data

011585119c4d58dd10e6383e683425bba6d754d1 authored over 9 years ago by Toby Zerner <[email protected]>
Fix collections and relationships not working

c061251772b7300173a1ecd73d6d4137bcd61bc3 authored over 9 years ago by Toby Zerner <[email protected]>
Move tests

4bdc5926a50d71accf1d6f81d924ee9374c20b62 authored over 9 years ago by Toby Zerner <[email protected]>
Allow creating Collections with non-arrays

ca19544688b90947c0660e92f29b0ce621434b58 authored over 9 years ago by Toby Zerner <[email protected]>
Merge pull request #56 from tobscure/analysis-XlQKdq

Applied fixes from StyleCI

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

898c18fa46dcf51469db58fcf902f4d30b7e92fb authored over 9 years ago by Toby Zerner <[email protected]>
Make Resource data/serializer publicly accessible

No need to store the serializer on a Collection

045c62456eedc744a51c031798ddc4cb857fe22e authored over 9 years ago by Toby Zerner <[email protected]>
Fix method name in example

e9ba819c619fbca0611d51c5e58e8c6489a0d351 authored over 9 years ago by Toby Zerner <[email protected]>