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
b2e5ea3fd4b3d2c29df7e869e283747e33126316 authored almost 4 years ago by Babichev Maxim <[email protected]>
f3784bf12a40bc7bf57d0dec662eee14120c5dd0 authored almost 5 years ago by Babichev Maxim <[email protected]>
c65bed0a3cef86dcbe7b447bc0d1f1f4b29d3351 authored about 5 years ago by Babichev Maxim <[email protected]>
7fe6f8038929c1ef463384a427f96c031b6bdca5 authored about 5 years ago by Babichev Maxim <[email protected]>
* Document:MEDIA_TYPE
As proposed in the comments to #117
* Update Document.php
355b213927a1412ede81b67ac2a5605753382379 authored almost 8 years ago by Alexey <[email protected]>66962f958501c9d8c69a5108174b0c19b7ef667e authored almost 8 years ago by Toby Zerner <[email protected]>
d4ba8437977c33a5189d95d9ffa751997f13b104 authored almost 8 years ago by Toby Zerner <[email protected]>
Do not call getAttributes() twice
a2c3733c5d930a8bc47233af5ea3a0b3f46898ae authored almost 8 years ago by Toby Zerner <[email protected]>cb66839da0c7c0de72b4afbf6f80784bcb98b73c authored almost 8 years ago by Alexey Karapetov <[email protected]>
25a62d3afcc9c2f0190e4d6ec98bc9fd202cef72 authored almost 8 years ago by Toby Zerner <[email protected]>
f43770e9bdf4473d54705780ea2612ad1bedca35 authored almost 8 years ago by Toby Zerner <[email protected]>
names.
9eb6173af0d32305712cfeae12f9728e4782d7cb authored almost 8 years ago by Toby Zerner <[email protected]>78e908f388dd1ef000797b66f578e19e45508de0 authored almost 8 years ago by Toby Zerner <[email protected]>
Omit empty attributes
e3a5bbb8adee7d8a86e67a22a7b0357e8862256f authored almost 8 years ago by Toby Zerner <[email protected]>cc338b27714d893b1e1732ab827ed042ce0f0918 authored almost 8 years ago by Alexey Karapetov <[email protected]>
#105 handling underscored relationships names
7fbe32ae88d5190afffddf37066c74440f14ddc8 authored almost 8 years ago by Toby Zerner <[email protected]>8d4116ec580febf36d7e6995829a6f5adf6f9c48 authored almost 8 years ago by ustrugany <[email protected]>
Applied fixes from StyleCI
a8a56f1750f667738c2e942d0277cf0ffb013719 authored about 8 years ago by Toby Zerner <[email protected]>df7e1a56e3262eca2faaeb5b70141126d4258c94 authored about 8 years ago by Toby Zerner <[email protected]>
a691e2bd3bff0708e1ed33705a879e47da262f72 authored about 8 years ago by Toby Zerner <[email protected]>
Fixed: resource-identifier objects included empty 'attributes' field
3bae17c319e8bd53827aae95129bd4265c6ef8a6 authored over 8 years ago by Toby Zerner <[email protected]>5f6b532fb113a1794eeee8da78505e5d3eacd1b5 authored over 8 years ago by Anthony Hendrickson <[email protected]>
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]>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]>d9eccd996fdfc6a00175cfd1a227f80f517f4d0d authored over 8 years ago by Spencer Rinehart <[email protected]>
Update docblocs
0feda5d7fb3f983feebd3a752d3c96e25937d25e authored over 8 years ago by Toby Zerner <[email protected]>Add gitattributes file
7cb11ec9af4cf515670411057d6761a0c1bd6458 authored over 8 years ago by Toby Zerner <[email protected]>Added missing return statements and added fullpaths.
3035ee56b0538c914193ae37deeb9e47d8baef06 authored almost 9 years ago by Vincent Klaiber <[email protected]>Update contributing copy
35a982b677d41160586a7a643cf18b19e7e6097f authored almost 9 years ago by Toby Zerner <[email protected]>ba343e57fe76c136dcd53547916f761e8cc1e850 authored almost 9 years ago by Vincent Klaiber <[email protected]>
Update phpunit config
7ef5cea5dd1c832ed787cc2e8ae60d8fb17cbfc0 authored almost 9 years ago by Toby Zerner <[email protected]>With can now make the tests fail on warnings and risky tests.
1f1313884a12c1c11ae245d3d0a123fa6104d7f5 authored almost 9 years ago by Vincent Klaiber <[email protected]>6fb8dec1f0defd05cd1da27b507b98fcd518b9bd authored almost 9 years ago by Vincent Klaiber <[email protected]>
Update php version constraint
429b750ef710706a3f791d67cdaa5239d48725d2 authored almost 9 years ago by Toby Zerner <[email protected]>Test agains 5.5.9
2d8c90733da88958509afb89bd2b6f403c10bb6e authored almost 9 years ago by Toby Zerner <[email protected]>Since we target 5.5.9 we could/should also test against it.
cae4b4d9866fc94c51cadadc77885a2f172f8a14 authored almost 9 years ago by Vincent Klaiber <[email protected]>04a6e0806d13010ba11766426cd9f9e65aa79426 authored almost 9 years ago by Vincent Klaiber <[email protected]>
663d1c1299d4363758e8e440e5849134f218f45c authored almost 9 years ago by Toby Zerner <[email protected]>
11e5ad9a42f778e6f2f3e4a5fbb6886e1cb81f54 authored almost 9 years ago by Toby Zerner <[email protected]>
Allow relationship without requirement of 'data'
b6a424e291e7bdd4a953cd24601c25eff33146d1 authored almost 9 years ago by Toby Zerner <[email protected]>d4129e1b309bfaa0c84acfc056111dff7a49120f authored almost 9 years ago by Joseph McDermott <[email protected]>
bd3755da684049d278d3805b59620140ad8dffe2 authored almost 9 years ago by Joseph McDermott <[email protected]>
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]>Applied fixes from StyleCI
e014ef89bb3c0dcf44c890c0a04efcabe7f36100 authored almost 9 years ago by Toby Zerner <[email protected]>da79a9813895e6df4106f245630b4d3102ee922d authored almost 9 years ago by Toby Zerner <[email protected]>
Fix readme code highlight
60bb95ac122ca156b1fa48d390b3aa8e0c346b6f authored almost 9 years ago by Toby Zerner <[email protected]>0e7658d163a75ec5001fb18af172379a194a9ee7 authored almost 9 years ago by Maxim <[email protected]>
Allow serializers to add metadata
d4a74e0b9b20032c765b2076260548681a2ca684 authored almost 9 years ago by Toby Zerner <[email protected]>With this change Serializers can provide metadata like::
```
class PostSerializer implements Se...
With this change Serializers can provide metadata like::
```
class PostSerializer implements Se...
2e1d78e311f6c5879e529ec2310aeec1efe0873d authored almost 9 years ago by Toby Zerner <[email protected]>
f950f40881612da4ab1f4f646056f8b87e0534e7 authored almost 9 years ago by Toby Zerner <[email protected]>
Allow serializers to add links
5b5380675dc317a3c36aaa78600fa47e1905726b authored almost 9 years ago by Toby Zerner <[email protected]>With this change Serializers can provide links like::
```
class PostSerializer implements Seria...
Updated Readme as passing $fields = [] to getAttributes throws error
ae75f4d2ce243e9a8b3e731b2bc5a7346b4007a1 authored about 9 years ago by Toby Zerner <[email protected]>ede823181dbe1bc131137da59d950764138569cc authored about 9 years ago by ahsanity <[email protected]>
Updated README with proper access modifiers in examples of serializers
9cc6552adb2f1722f6e5f88e8d1d54a2bb5aba19 authored about 9 years ago by Toby Zerner <[email protected]>5dca9c78b89ae8688e33f9d1c671f1fb0f4e1bb3 authored about 9 years ago by ahsanity <[email protected]>
Applied fixes from StyleCI
d1b732d296bb4f2ffcdcaae3504204c60090f027 authored about 9 years ago by Toby Zerner <[email protected]>6850b31371b6a4aa9b986ef34bf9d411e7de12b3 authored about 9 years ago by Toby Zerner <[email protected]>
including related resources even the relationship is not available in sparse fields
83fa0ac4b3d378e977a56878200ceaab5704570f authored about 9 years ago by Toby Zerner <[email protected]>Parameters' `getLimit` returns integer or null
fd5c6675e4156118d58c548601a53943e429deff authored about 9 years ago by Toby Zerner <[email protected]>82e8ad4f1ef4b5ce3832b5a9db3b10946b2e747f authored about 9 years ago by Cedric van Putten <[email protected]>
012d23ff7ac4ef9979acd18ae82dc48a06333e79 authored about 9 years ago by Damith88 <[email protected]>
aa2eb86e64bb5ebfae73bdac36b094ed46525587 authored about 9 years ago by Damith88 <[email protected]>
add relationsships with dash in relationship name
d802eac622da8e172393fa3447bfe43447df564a authored about 9 years ago by Toby Zerner <[email protected]>7099f7221a6fa7d70fcb1b310d9ba962da96e324 authored about 9 years ago by Andi Voelpel <[email protected]>
a97c204472f432241138463a8faba8b62a8cd3da authored about 9 years ago by Andi Voelpel <[email protected]>
Allow PHPUnit 5.0
ef939dbd4339d46e1d277633a0b60c34721751de authored about 9 years ago by Toby Zerner <[email protected]>104fbf82dccd8993a8346d7c02f64fe51b3f2eed authored about 9 years ago by Vincent Klaiber <[email protected]>
Applied fixes from StyleCI
5d4a13313fb350bbf3d2bff3772a543496ea304d authored about 9 years ago by Toby Zerner <[email protected]>9cd278a82674e1fd8e586b3637233393620c030c authored about 9 years ago by Toby Zerner <[email protected]>
1e5a14d368746d6c9bb769f63ada5a31c94c1d15 authored about 9 years ago by Toby Zerner <[email protected]>
300786a6f7e4225aeab25270e2f8442cf2177ce3 authored about 9 years ago by Toby Zerner <[email protected]>
78f02bd9b8720287fedfb4b79f4ab59db8edc61e authored about 9 years ago by Toby Zerner <[email protected]>
78bc6e18d751493758aecb3de12a4f126c072eca authored about 9 years ago by Toby Zerner <[email protected]>
245d771610c445e18499cb637d1092a9e5be1ed8 authored about 9 years ago by Toby Zerner <[email protected]>
e154aff7bb1fd76c5f183c4f0d5b56f8eba5a32c authored about 9 years ago by Toby Zerner <[email protected]>
Add error handler to make Exception\Handler stuff easy to use
898de098fcb8ba05601f6a366e21499534170885 authored about 9 years ago by Toby Zerner <[email protected]>fb83eb3f927d58a63eadb9dac6aa4e865d9fefe9 authored about 9 years ago by Toby Zerner <[email protected]>
8c30f4a80c28e21473634089b775eb64c2687d47 authored about 9 years ago by Toby Zerner <[email protected]>
8ba855cd7f0e6e5a88fd9bd97b92b18f31d0172e authored about 9 years ago by Toby Zerner <[email protected]>
Pulled error handling from flarum/core
5cf7b134d63e28c36c1e73f2f9d338cb078769fd authored about 9 years ago by Toby Zerner <[email protected]>512e3cd94fda6317b780c1df5d963f0b5b2ed081 authored about 9 years ago by Kirk Bushell <[email protected]>
034ed7e3b7b523321189c681ece068b74cadf444 authored about 9 years ago by Kirk Bushell <[email protected]>
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]>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]>closes #26
73458d8ee5ace32aa0b61c5d63a3bf35b028355b authored about 9 years ago by Toby Zerner <[email protected]>992d674bf4f42f2e5c436c012a8c2c419e17a2ab authored about 9 years ago by Toby Zerner <[email protected]>
75c02184e38d8b647caf0ce4025b3ffbbcf9eb56 authored about 9 years ago by Toby Zerner <[email protected]>
99003e73d8784fac69a5a9df8bf099c8161d9442 authored about 9 years ago by Toby Zerner <[email protected]>
e26093389685de3c0c67f4d50145ddd12f967e1b authored about 9 years ago by Toby Zerner <[email protected]>
011585119c4d58dd10e6383e683425bba6d754d1 authored over 9 years ago by Toby Zerner <[email protected]>
c061251772b7300173a1ecd73d6d4137bcd61bc3 authored over 9 years ago by Toby Zerner <[email protected]>
4bdc5926a50d71accf1d6f81d924ee9374c20b62 authored over 9 years ago by Toby Zerner <[email protected]>
ca19544688b90947c0660e92f29b0ce621434b58 authored over 9 years ago by Toby Zerner <[email protected]>
Applied fixes from StyleCI
c16e5173cd7c7e3940717672f94225f5f088cb8c authored over 9 years ago by Toby Zerner <[email protected]>898c18fa46dcf51469db58fcf902f4d30b7e92fb authored over 9 years ago by Toby Zerner <[email protected]>
No need to store the serializer on a Collection
045c62456eedc744a51c031798ddc4cb857fe22e authored over 9 years ago by Toby Zerner <[email protected]>e9ba819c619fbca0611d51c5e58e8c6489a0d351 authored over 9 years ago by Toby Zerner <[email protected]>