A Symfony component for creating hypermedia-driven REST and GraphQL APIs with support for JSON-LD, JSON:API, HAL, and OpenAPI.
API Platform Core is a Symfony component that enables rapid development of hypermedia-driven REST and GraphQL APIs. It solves the complexity of building standards-compliant APIs by providing built-in support for formats like JSON-LD, JSON:API, HAL, and OpenAPI, allowing developers to create fully-featured web APIs in minutes.
Backend developers and teams building API-first projects with Symfony, especially those needing hypermedia APIs or GraphQL support with minimal boilerplate.
Developers choose API Platform Core for its seamless integration with Symfony, automatic support for multiple API standards, and ability to rapidly prototype and scale complex APIs without sacrificing flexibility or performance.
The server component of API Platform: hypermedia and GraphQL APIs in minutes
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Natively supports JSON-LD, Hydra, JSON:API, and HAL for building HATEOAS-compliant APIs out of the box, as stated in the README.
Enables creation of both REST and GraphQL endpoints from the same codebase, facilitating flexible API strategies per the key features.
Generates OpenAPI v2 and v3 specifications automatically, reducing manual documentation effort and streamlining API testing.
Seamlessly integrates with Symfony via a dedicated bundle, minimizing setup complexity for Symfony-based projects.
Allows overriding or extending any component, providing adaptability for complex requirements as highlighted in the features.
Tightly coupled with Symfony, making it unsuitable for projects not using or planning to adopt the Symfony framework.
The emphasis on hypermedia standards can add unnecessary complexity and performance overhead for APIs that don't require linked data.
Requires understanding of hypermedia concepts and Symfony conventions, which can be challenging for developers new to API-first design.
Automatic features and code generation might introduce extra layers or latency, impacting performance in lightweight or high-traffic scenarios.