Skip to content

Docs for API Platform 2.6 #1255

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Jan 24, 2021
Merged

Docs for API Platform 2.6 #1255

merged 11 commits into from
Jan 24, 2021

Conversation

dunglas
Copy link
Member

@dunglas dunglas commented Jan 23, 2021

Remaining tasks (to do in separated PRs):

  • Use PHP 8 attributes everywhere
  • Document the defaults configuration option

See https://dunglas.fr/2020/12/api-platform-2-6-php-8-support-next-js-and-nuxt-js-app-generator-caddy-server-activitypub-and-much-more/.

* a [Helm](https://helm.sh/) chart to deploy the API in any [Kubernetes](https://kubernetes.io/) cluster
API Platform contains [a **PHP** library (Core)](../core/index.md) to create fully featured hypermedia (or [GraphQL](../core/graphql.md)) web APIs supporting industry-leading standards: [JSON-LD](https://json-ld.org/) with [Hydra](https://www.hydra-cg.com/), [OpenAPI](../core/swagger.md)...

It also provides ambitious **JavaScript** tools to create web and mobile apps based on the most popular frontend technologies in a snap. To do so, these tools parse the documentation of the API (or of any other API supporting Hydra or OpenAPI).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
It also provides ambitious **JavaScript** tools to create web and mobile apps based on the most popular frontend technologies in a snap. To do so, these tools parse the documentation of the API (or of any other API supporting Hydra or OpenAPI).
It provides ambitious **JavaScript** tools to create web and mobile applications based on the most popular frontend technologies in a snap. These tools parse the documentation API's or any other API supporting Hydra or OpenAPI.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

API's ?

*/
public $book;
/** The id of this review. */
private ?int $id = null;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is the id nullable?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To prevent issues if this property is assessed before an ID is generated by the DBMS.

dunglas and others added 4 commits January 23, 2021 23:15
@dunglas dunglas merged commit abc94b9 into api-platform:master Jan 24, 2021
@dunglas dunglas deleted the docs/26 branch January 24, 2021 21:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants