33[ ![ Pre Release] ( https://img.shields.io/packagist/vpre/tobyz/json-api-server.svg?style=flat )] ( https://github.com/tobyzerner/json-api-server/releases )
44[ ![ License] ( https://img.shields.io/packagist/l/tobyz/json-api-server.svg?style=flat )] ( https://packagist.org/packages/tobyz/json-api-server )
55
6- json-api-server is a [ JSON: API ] ( http://jsonapi.org ) server implementation in PHP.
6+ json-api-server is a [ JSON: API ] ( http://jsonapi.org ) server implementation in
7+ PHP.
78
8- It allows you to build a feature-rich API by defining resource schema and connecting it to your
9- application's database layer.
9+ It allows you to build a feature-rich API by defining resource schema and
10+ connecting it to your application's database layer.
1011
11- Based on your schema definition, the package will serve a complete API that conforms to the
12- [ JSON: API specification] ( https://jsonapi.org/format/ ) , including support for:
12+ Based on your schema definition, the package will serve a complete API that
13+ conforms to the [ JSON: API specification] ( https://jsonapi.org/format/ ) , including
14+ support for:
1315
1416- ** Showing** individual resources (` GET /articles/1 ` )
1517- ** Listing** resource collections (` GET /articles ` )
@@ -29,9 +31,10 @@ Based on your schema definition, the package will serve a complete API that conf
2931
3032## Example
3133
32- The following example uses an Eloquent model in a Laravel application. However, json-api-server can
33- be used with any framework that can deal in PSR-7 Requests and Responses. Custom behavior can be
34- implemented to support other ORMs and data persistence layers.
34+ The following example uses an Eloquent model in a Laravel application. However,
35+ json-api-server can be used with any framework that can deal in PSR-7 Requests
36+ and Responses. Custom behavior can be implemented to support other ORMs and data
37+ persistence layers.
3538
3639``` php
3740use App\Models\User;
@@ -101,8 +104,8 @@ try {
101104
102105## Contributing
103106
104- Pull requests are welcome. For major changes, please open an issue first to discuss what you would
105- like to change.
107+ Pull requests are welcome. For major changes, please open an issue first to
108+ discuss what you would like to change.
106109
107110## License
108111
0 commit comments