├── .gitignore ├── .prettierrc ├── admin ├── images │ ├── admin-demo.gif │ ├── admin-demo.mp4 │ ├── admin-menu.png │ ├── admin-sort.png │ ├── admin-demo.webm │ ├── admin-filter.png │ ├── admin-datagrid.png │ ├── required-field.png │ ├── AutocompleteInput.png │ ├── admin-custom-field.png │ ├── admin-custom-input.png │ ├── admin-default-list.png │ ├── admin-form-layout.png │ ├── admin-menu-icons.png │ ├── react-admin-theme.png │ ├── admin-undoable-mutation.png │ ├── basic-admin-greetings.png │ ├── related-record-with-iri.png │ ├── submission-error-field.png │ ├── admin-custom-edit-guesser.png │ ├── admin-custom-list-guesser.png │ ├── admin-custom-show-guesser.png │ ├── admin-tabbed-show-layout.png │ ├── api-platform-admin-theme.png │ ├── api-platform-welcome-page.png │ ├── related-record-with-name.png │ ├── admin-reference-record-count.png │ ├── admin-warnWhenUnsavedChanges.png │ ├── embedded-relation-dot-notation.png │ ├── embedded-relation-full-object.png │ ├── admin-custom-list-field-guesser.png │ ├── embedded-relation-ReferenceField.png │ ├── embedded-relation-ReferenceInput.png │ └── embedded-relation-useEmbedded-false.png ├── file-upload.md ├── performance.md ├── real-time-mercure.md ├── index.md ├── validation.md ├── getting-started.md └── schema.md ├── laravel ├── images │ ├── graphql.png │ ├── basic-rest.png │ ├── empty-docs.png │ ├── read-only.png │ ├── form-request.png │ ├── title-filter.png │ ├── books-collection.png │ ├── filters-documentation.png │ └── property-placeholder.png ├── validation.md ├── security.md └── jwt.md ├── symfony ├── images │ ├── swagger-ui-1.png │ ├── swagger-ui-2.png │ ├── NelmioApiDocBundle.png │ ├── api-platform-2.5-api.png │ ├── api-platform-2.6-api.png │ ├── symfonycasts-player.png │ ├── api-platform-2.5-admin.png │ ├── api-platform-2.6-admin.png │ ├── api-platform-2.5-graphql.png │ ├── api-platform-2.5-pwa-react.png │ ├── api-platform-2.5-welcome.png │ ├── api-platform-2.6-graphql.png │ ├── api-platform-2.6-pwa-react.png │ ├── api-platform-2.6-welcome.png │ ├── api-platform-3.0-welcome.png │ ├── api-platform-2.5-bookshop-api.png │ ├── api-platform-2.6-bookshop-api.png │ └── api-platform-2.6-bookshop-json-schemas.png ├── nelmio-api-doc.md ├── caddy.md ├── debugging.md ├── fosuser-bundle.md └── migrate-from-fosrestbundle.md ├── core ├── images │ ├── JWTAuthorizeButton.png │ ├── JWTConfigureApiKey.png │ ├── SerializerWorkflow.png │ ├── deprecated-graphiql.png │ ├── mercure-discovery.png │ ├── swagger-ui-modified.png │ ├── deprecated-swagger-ui.png │ ├── jwt-token-swagger-ui.png │ ├── mercure-subscriptions.png │ ├── open-api-documented-error.png │ └── diagrams │ │ ├── api-platform-get-i-o.dia │ │ ├── api-platform-get-i-o.png │ │ ├── api-platform-put-i-o.dia │ │ ├── api-platform-put-i-o.png │ │ ├── api-platform-post-i-o.dia │ │ └── api-platform-post-i-o.png ├── validation.md ├── security.md ├── testing.md ├── jwt.md ├── bootstrap.md ├── push-relations.md ├── index.md ├── url-generation-strategy.md ├── form-data.md ├── design.md ├── operation-path-naming.md ├── extending-jsonld-context.md ├── default-order.md ├── external-vocabularies.md ├── json-schema.md ├── upgrade-guide.md └── client-integration.md ├── deployment ├── images │ ├── deploy-result.png │ ├── digitalocean-dns.png │ ├── digitalocean-droplet.png │ ├── google-image-overview.png │ └── google-image-caddy-details.png ├── index.md ├── minikube.md └── heroku.md ├── schema-generator ├── images │ └── stoplight.png ├── index.md └── getting-started.md ├── .github ├── ISSUE_TEMPLATE │ ├── 2_Documentation_issue.md │ └── 1_Support_question.md ├── linters │ └── .textlintrc ├── PULL_REQUEST_TEMPLATE.md └── workflows │ ├── ci.yml │ └── cd.yml ├── create-client ├── images │ ├── create-client-demo.gif │ ├── nuxt │ │ ├── create-client-nuxt-edit.png │ │ └── create-client-nuxt-list.png │ ├── react │ │ ├── create-client-react-edit.png │ │ ├── create-client-react-list.png │ │ ├── create-client-react-show.png │ │ ├── create-client-react-delete.png │ │ └── create-client-react-list-pagination.png │ ├── nextjs │ │ ├── create-client-nextjs-list.png │ │ └── create-client-nextjs-show.png │ └── react-native │ │ ├── create-client-react-native-add.png │ │ ├── create-client-react-native-list.png │ │ ├── create-client-react-native-show.png │ │ └── create-client-react-native-delete.png ├── typescript.md ├── index.md ├── vuetify.md ├── vuejs.md ├── quasar.md ├── react.md ├── nuxt.md ├── troubleshooting.md ├── react-native.md ├── custom.md └── nextjs.md ├── .proselintrc.json ├── .markdownlint.yaml ├── README.md ├── .editorconfig ├── extra ├── contribution-guides.md ├── releases.md ├── conduct.md ├── philosophy.md ├── enterprise.md ├── troubleshooting.md └── security.md ├── CONTRIBUTING.md └── outline.yaml /.gitignore: -------------------------------------------------------------------------------- 1 | /website 2 | -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "printWidth": 100, 3 | "proseWrap": "always" 4 | } 5 | -------------------------------------------------------------------------------- /admin/images/admin-demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/admin/images/admin-demo.gif -------------------------------------------------------------------------------- /admin/images/admin-demo.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/admin/images/admin-demo.mp4 -------------------------------------------------------------------------------- /admin/images/admin-menu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/admin/images/admin-menu.png -------------------------------------------------------------------------------- /admin/images/admin-sort.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/admin/images/admin-sort.png -------------------------------------------------------------------------------- /laravel/images/graphql.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/laravel/images/graphql.png -------------------------------------------------------------------------------- /admin/images/admin-demo.webm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/admin/images/admin-demo.webm -------------------------------------------------------------------------------- /admin/images/admin-filter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/admin/images/admin-filter.png -------------------------------------------------------------------------------- /laravel/images/basic-rest.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/laravel/images/basic-rest.png -------------------------------------------------------------------------------- /laravel/images/empty-docs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/laravel/images/empty-docs.png -------------------------------------------------------------------------------- /laravel/images/read-only.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/laravel/images/read-only.png -------------------------------------------------------------------------------- /admin/images/admin-datagrid.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/admin/images/admin-datagrid.png -------------------------------------------------------------------------------- /admin/images/required-field.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/admin/images/required-field.png -------------------------------------------------------------------------------- /laravel/images/form-request.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/laravel/images/form-request.png -------------------------------------------------------------------------------- /laravel/images/title-filter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/laravel/images/title-filter.png -------------------------------------------------------------------------------- /symfony/images/swagger-ui-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/symfony/images/swagger-ui-1.png -------------------------------------------------------------------------------- /symfony/images/swagger-ui-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/symfony/images/swagger-ui-2.png -------------------------------------------------------------------------------- /admin/images/AutocompleteInput.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/admin/images/AutocompleteInput.png -------------------------------------------------------------------------------- /admin/images/admin-custom-field.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/admin/images/admin-custom-field.png -------------------------------------------------------------------------------- /admin/images/admin-custom-input.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/admin/images/admin-custom-input.png -------------------------------------------------------------------------------- /admin/images/admin-default-list.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/admin/images/admin-default-list.png -------------------------------------------------------------------------------- /admin/images/admin-form-layout.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/admin/images/admin-form-layout.png -------------------------------------------------------------------------------- /admin/images/admin-menu-icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/admin/images/admin-menu-icons.png -------------------------------------------------------------------------------- /admin/images/react-admin-theme.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/admin/images/react-admin-theme.png -------------------------------------------------------------------------------- /core/images/JWTAuthorizeButton.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/core/images/JWTAuthorizeButton.png -------------------------------------------------------------------------------- /core/images/JWTConfigureApiKey.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/core/images/JWTConfigureApiKey.png -------------------------------------------------------------------------------- /core/images/SerializerWorkflow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/core/images/SerializerWorkflow.png -------------------------------------------------------------------------------- /core/images/deprecated-graphiql.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/core/images/deprecated-graphiql.png -------------------------------------------------------------------------------- /core/images/mercure-discovery.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/core/images/mercure-discovery.png -------------------------------------------------------------------------------- /core/images/swagger-ui-modified.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/core/images/swagger-ui-modified.png -------------------------------------------------------------------------------- /deployment/images/deploy-result.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/deployment/images/deploy-result.png -------------------------------------------------------------------------------- /laravel/images/books-collection.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/laravel/images/books-collection.png -------------------------------------------------------------------------------- /core/images/deprecated-swagger-ui.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/core/images/deprecated-swagger-ui.png -------------------------------------------------------------------------------- /core/images/jwt-token-swagger-ui.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/core/images/jwt-token-swagger-ui.png -------------------------------------------------------------------------------- /core/images/mercure-subscriptions.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/core/images/mercure-subscriptions.png -------------------------------------------------------------------------------- /schema-generator/images/stoplight.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/schema-generator/images/stoplight.png -------------------------------------------------------------------------------- /symfony/images/NelmioApiDocBundle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/symfony/images/NelmioApiDocBundle.png -------------------------------------------------------------------------------- /admin/images/admin-undoable-mutation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/admin/images/admin-undoable-mutation.png -------------------------------------------------------------------------------- /admin/images/basic-admin-greetings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/admin/images/basic-admin-greetings.png -------------------------------------------------------------------------------- /admin/images/related-record-with-iri.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/admin/images/related-record-with-iri.png -------------------------------------------------------------------------------- /admin/images/submission-error-field.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/admin/images/submission-error-field.png -------------------------------------------------------------------------------- /deployment/images/digitalocean-dns.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/deployment/images/digitalocean-dns.png -------------------------------------------------------------------------------- /laravel/images/filters-documentation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/laravel/images/filters-documentation.png -------------------------------------------------------------------------------- /laravel/images/property-placeholder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/laravel/images/property-placeholder.png -------------------------------------------------------------------------------- /symfony/images/api-platform-2.5-api.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/symfony/images/api-platform-2.5-api.png -------------------------------------------------------------------------------- /symfony/images/api-platform-2.6-api.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/symfony/images/api-platform-2.6-api.png -------------------------------------------------------------------------------- /symfony/images/symfonycasts-player.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/symfony/images/symfonycasts-player.png -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/2_Documentation_issue.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: 📄 Documentation issue 3 | about: Report a documentation issue 4 | --- 5 | -------------------------------------------------------------------------------- /admin/images/admin-custom-edit-guesser.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/admin/images/admin-custom-edit-guesser.png -------------------------------------------------------------------------------- /admin/images/admin-custom-list-guesser.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/admin/images/admin-custom-list-guesser.png -------------------------------------------------------------------------------- /admin/images/admin-custom-show-guesser.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/admin/images/admin-custom-show-guesser.png -------------------------------------------------------------------------------- /admin/images/admin-tabbed-show-layout.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/admin/images/admin-tabbed-show-layout.png -------------------------------------------------------------------------------- /admin/images/api-platform-admin-theme.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/admin/images/api-platform-admin-theme.png -------------------------------------------------------------------------------- /admin/images/api-platform-welcome-page.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/admin/images/api-platform-welcome-page.png -------------------------------------------------------------------------------- /admin/images/related-record-with-name.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/admin/images/related-record-with-name.png -------------------------------------------------------------------------------- /core/images/open-api-documented-error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/core/images/open-api-documented-error.png -------------------------------------------------------------------------------- /deployment/images/digitalocean-droplet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/deployment/images/digitalocean-droplet.png -------------------------------------------------------------------------------- /symfony/images/api-platform-2.5-admin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/symfony/images/api-platform-2.5-admin.png -------------------------------------------------------------------------------- /symfony/images/api-platform-2.6-admin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/symfony/images/api-platform-2.6-admin.png -------------------------------------------------------------------------------- /admin/images/admin-reference-record-count.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/admin/images/admin-reference-record-count.png -------------------------------------------------------------------------------- /admin/images/admin-warnWhenUnsavedChanges.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/admin/images/admin-warnWhenUnsavedChanges.png -------------------------------------------------------------------------------- /core/images/diagrams/api-platform-get-i-o.dia: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/core/images/diagrams/api-platform-get-i-o.dia -------------------------------------------------------------------------------- /core/images/diagrams/api-platform-get-i-o.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/core/images/diagrams/api-platform-get-i-o.png -------------------------------------------------------------------------------- /core/images/diagrams/api-platform-put-i-o.dia: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/core/images/diagrams/api-platform-put-i-o.dia -------------------------------------------------------------------------------- /core/images/diagrams/api-platform-put-i-o.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/core/images/diagrams/api-platform-put-i-o.png -------------------------------------------------------------------------------- /create-client/images/create-client-demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/create-client/images/create-client-demo.gif -------------------------------------------------------------------------------- /deployment/images/google-image-overview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/deployment/images/google-image-overview.png -------------------------------------------------------------------------------- /symfony/images/api-platform-2.5-graphql.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/symfony/images/api-platform-2.5-graphql.png -------------------------------------------------------------------------------- /symfony/images/api-platform-2.5-pwa-react.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/symfony/images/api-platform-2.5-pwa-react.png -------------------------------------------------------------------------------- /symfony/images/api-platform-2.5-welcome.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/symfony/images/api-platform-2.5-welcome.png -------------------------------------------------------------------------------- /symfony/images/api-platform-2.6-graphql.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/symfony/images/api-platform-2.6-graphql.png -------------------------------------------------------------------------------- /symfony/images/api-platform-2.6-pwa-react.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/symfony/images/api-platform-2.6-pwa-react.png -------------------------------------------------------------------------------- /symfony/images/api-platform-2.6-welcome.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/symfony/images/api-platform-2.6-welcome.png -------------------------------------------------------------------------------- /symfony/images/api-platform-3.0-welcome.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/symfony/images/api-platform-3.0-welcome.png -------------------------------------------------------------------------------- /admin/images/embedded-relation-dot-notation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/admin/images/embedded-relation-dot-notation.png -------------------------------------------------------------------------------- /admin/images/embedded-relation-full-object.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/admin/images/embedded-relation-full-object.png -------------------------------------------------------------------------------- /core/images/diagrams/api-platform-post-i-o.dia: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/core/images/diagrams/api-platform-post-i-o.dia -------------------------------------------------------------------------------- /core/images/diagrams/api-platform-post-i-o.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/core/images/diagrams/api-platform-post-i-o.png -------------------------------------------------------------------------------- /admin/images/admin-custom-list-field-guesser.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/admin/images/admin-custom-list-field-guesser.png -------------------------------------------------------------------------------- /admin/images/embedded-relation-ReferenceField.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/admin/images/embedded-relation-ReferenceField.png -------------------------------------------------------------------------------- /admin/images/embedded-relation-ReferenceInput.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/admin/images/embedded-relation-ReferenceInput.png -------------------------------------------------------------------------------- /deployment/images/google-image-caddy-details.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/deployment/images/google-image-caddy-details.png -------------------------------------------------------------------------------- /symfony/images/api-platform-2.5-bookshop-api.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/symfony/images/api-platform-2.5-bookshop-api.png -------------------------------------------------------------------------------- /symfony/images/api-platform-2.6-bookshop-api.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/symfony/images/api-platform-2.6-bookshop-api.png -------------------------------------------------------------------------------- /admin/images/embedded-relation-useEmbedded-false.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/admin/images/embedded-relation-useEmbedded-false.png -------------------------------------------------------------------------------- /create-client/images/nuxt/create-client-nuxt-edit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/create-client/images/nuxt/create-client-nuxt-edit.png -------------------------------------------------------------------------------- /create-client/images/nuxt/create-client-nuxt-list.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/create-client/images/nuxt/create-client-nuxt-list.png -------------------------------------------------------------------------------- /create-client/images/react/create-client-react-edit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/create-client/images/react/create-client-react-edit.png -------------------------------------------------------------------------------- /create-client/images/react/create-client-react-list.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/create-client/images/react/create-client-react-list.png -------------------------------------------------------------------------------- /create-client/images/react/create-client-react-show.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/create-client/images/react/create-client-react-show.png -------------------------------------------------------------------------------- /create-client/images/nextjs/create-client-nextjs-list.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/create-client/images/nextjs/create-client-nextjs-list.png -------------------------------------------------------------------------------- /create-client/images/nextjs/create-client-nextjs-show.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/create-client/images/nextjs/create-client-nextjs-show.png -------------------------------------------------------------------------------- /create-client/images/react/create-client-react-delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/create-client/images/react/create-client-react-delete.png -------------------------------------------------------------------------------- /symfony/images/api-platform-2.6-bookshop-json-schemas.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/symfony/images/api-platform-2.6-bookshop-json-schemas.png -------------------------------------------------------------------------------- /create-client/images/react/create-client-react-list-pagination.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/create-client/images/react/create-client-react-list-pagination.png -------------------------------------------------------------------------------- /create-client/images/react-native/create-client-react-native-add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/create-client/images/react-native/create-client-react-native-add.png -------------------------------------------------------------------------------- /create-client/images/react-native/create-client-react-native-list.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/create-client/images/react-native/create-client-react-native-list.png -------------------------------------------------------------------------------- /create-client/images/react-native/create-client-react-native-show.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/create-client/images/react-native/create-client-react-native-show.png -------------------------------------------------------------------------------- /create-client/images/react-native/create-client-react-native-delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/api-platform/docs/HEAD/create-client/images/react-native/create-client-react-native-delete.png -------------------------------------------------------------------------------- /.github/linters/.textlintrc: -------------------------------------------------------------------------------- 1 | { 2 | "rules": { 3 | "terminology": { 4 | "exclude": [ 5 | "Node(?:js)?", 6 | "web[- ]?site(s)?" 7 | ] 8 | } 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /.proselintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "checks": { 3 | "typography.symbols": false, 4 | "typography.exclamation": false, 5 | "hyperbole.misc": false, 6 | "cliches.misc": false, 7 | "lexical_illusions.misc": false 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /.markdownlint.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | MD013: 3 | line_length: 1000 4 | code_blocks: false 5 | tables: false 6 | no-inline-html: 7 | allowed_elements: [a, p, img, br, code-selector, video, source, iframe, h1] 8 | MD046: 9 | style: fenced 10 | MD004: 11 | style: dash 12 | MD007: 13 | indent: 4 14 | -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | 10 | -------------------------------------------------------------------------------- /core/validation.md: -------------------------------------------------------------------------------- 1 | # Validation 2 | 3 | API Platform takes care of validating the data sent to the API by the client (usually user data 4 | entered through forms). 5 | 6 | - For Symfony users, refer to the [Validation with Symfony documentation](/symfony/validation.md). 7 | - For Laravel users, refer to the [Validation with Laravel documentation](/laravel/validation.md). 8 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/1_Support_question.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: ⛔ Support Question 3 | about: See https://api-platform.com/support/ for questions about using API Platform 4 | --- 5 | 6 | # Support question 7 | 8 | We use GitHub issues only to discuss bugs and new features. For this kind of questions about using 9 | API Platform, please use any of the support alternatives shown in 10 | [API Platform support](https://api-platform.com/support/). 11 | 12 | Thanks! 13 | -------------------------------------------------------------------------------- /laravel/validation.md: -------------------------------------------------------------------------------- 1 | # Validation with Laravel 2 | 3 | API Platform simplifies the validation of data sent by clients to the API, typically user inputs 4 | submitted through forms. 5 | 6 | You can add [validation rules](https://laravel.com/docs/validation) within the `rules` option: 7 | 8 | ```php 9 | // app/Models/Book.php 10 | 11 | use ApiPlatform\Metadata\ApiResource; 12 | 13 | #[ApiResource( 14 | rules: [ 15 | 'title' => 'required', 16 | ] 17 | )] 18 | class Book extends Model 19 | { 20 | } 21 | ``` 22 | -------------------------------------------------------------------------------- /core/security.md: -------------------------------------------------------------------------------- 1 | # Security 2 | 3 | API Platform provides advanced authentication and authorization features to secure your API. 4 | 5 | When using API Platform for Symfony, API Platform leverages the 6 | [Symfony Security component](https://symfony.com/doc/current/security.html) to help you secure your 7 | API. 8 | 9 | When using API Platform for Laravel, it provides an integration with popular authentication packages 10 | for Laravel, and with the built-in authorization features of the framework. 11 | 12 | - For Symfony users, refer to the [Security with Symfony documentation](/symfony/security.md). 13 | - For Laravel users, refer to the [Security with Laravel documentation](/laravel/security.md). 14 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 |


Watch the Contributing back to Symfony screencast (free)

Watch the Animated Deployment with Ansistrano screencast