API Platform documentation

The Distribution: Create Powerful APIs with Ease

  1. Creating a Fully Featured API in 5 Minutes
  2. Testing and Specifying the API

The API Component

  1. Introduction
  2. Getting Started
    1. Installing API Platform Core
    2. Before Reading this Documentation
    3. Mapping the Entities
  3. Configuration
  4. Operations
    1. Enabling and Disabling Operations
    2. Configuring Operations
    3. Subresources
    4. Creating Custom Operations and Controllers
  5. Overriding Default Order
  6. Filters
    1. Doctrine ORM Filters
      1. Search Filter
      2. Date Filter
        1. Managing null Values
      3. Boolean Filter
      4. Numeric Filter
      5. Order filter
        1. Using a Custom Order Query Parameter Name
      6. Filtering on Nested Properties
      7. Enabling a Filter for All Properties of a Resource
    2. Serializer Filters
      1. Group Filter
      2. Property Filter
    3. Creating Custom Filters
      1. Creating Custom Doctrine ORM Filters
      2. Overriding Extraction of Properties from the Request
  7. Serialization Groups and Relations
    1. Configuration
    2. Using Different Serialization Groups per Operation
    3. Embedding Relations
      1. Normalization
      2. Denormalization
      3. Changing the Serialization Context Dynamically
    4. Name Conversion
    5. Entity Identifier Case
    6. Writable Entity Identifier
    7. Embedding the Context
  8. Validation
    1. Using Validation Groups
    2. Dynamic Validation Groups
  9. Pagination
    1. Disabling the Pagination
    2. Changing the Number of Items per Page
  10. The Event System
  11. Content Negotiation
    1. Enabling Several Formats
    2. Registering a Custom Serializer
    3. Creating a Responder
    4. Writing a Custom Normalizer
  12. Using External JSON-LD Vocabularies
  13. Extending JSON-LD context
  14. Data Providers
    1. Custom Collection Data Provider
    2. Custom Item Data Provider
  15. Extensions
    1. Custom Extension
    2. Filter upon the current user
  16. Security
  17. Performance
    1. Enabling the Builtin HTTP Cache Invalidation System
    2. Enabling the Metadata Cache
    3. Using PPM (PHP-PM)
    4. Doctrine Queries and Indexes
      1. Search Filter
      2. Eager Loading
        1. Max Joins
        2. Force Eager
        3. Override at Resource and Operation Level
        4. Disable Eager Loading
  18. Operation Path Naming
    1. Configuration
    2. Create a Custom Operation Path Naming
      1. Defining the Operation Path Naming
      2. Registering the Service
      3. Configure it
  19. Accept application/x-www-form-urlencoded Form Data
  20. FOSUserBundle Integration
    1. Installing the Bundle
    2. Enabling the Bridge
    3. Creating a User Entity with Serialization Groups
  21. Adding a JWT authentication using LexikJWTAuthenticationBundle
    1. Testing with Behat
  22. NelmioApiDocBundle integration
  23. AngularJS Integration
    1. Restangular
    2. ng-admin
  24. Swagger Support
    1. Override Swagger documentation
  25. The Serialization Process
    1. Overall Process
    2. Available Serializers
    3. Decorating a Serializer and Add Extra Data

The Schema Generator Component: Generate Data Models from Open Vocabularies

  1. Introduction
  2. Getting Started
  3. Configuration

The Admin Component: Create a Fancy and Fully-Featured Administration Interface

  1. Introduction
    1. Features
  2. Getting Started
    1. Installation
    2. Creating the Admin
    3. Customizing the Admin
      1. Using Custom Components
      2. Managing Files and Images
      3. Using a Custom Validation Function or Inject Custom Props
  3. Authentication Support
  4. Handling Relations to Collections
    1. Using an Autocomplete Input for Relations

The Client Generator Component: Scaffold a React/Redux App with CRUD Features

  1. Introduction
    1. Features
  2. React generator
  3. Vue.js generator
  4. Troubleshooting

Deployment

  1. Introduction
  2. Deploying an API Platform App on Heroku
  3. Using API Platform with Docker
    1. Services
    2. Installation

Extra

  1. The Project’s Philosophy
  2. Troubleshooting
  3. Contribution Guides
    1. API Platform Distribution
    2. API Platform Core Library
    3. API Platform Schema Generator
    4. API Platform Admin
    5. API Platform CRUD Generator
  4. Contributor Code Of Conduct

 Edit on GitHub