PackageTrack
Sign in Get early access

api-platform/schema-generator

Various tools to generate a data model based on Schema.org vocables

v5.2.5 4.6M downloads/mo #3208 most downloaded on Packagist api-platform/schema-generator

What this package is like to depend on

Last release 6 months ago

29 Jan 2026

Release timing varies

gaps range from 3 weeks to 1.5 years

Nearly every release is documented

notes for 30 of 32 stable releases

Nothing withdrawn

no release was ever pulled

12 years old

34 releases · first in 2014

1 release in the last 12 months

see the full history below

Release timeline

33 releases · Dec 2014 to Jan 2026
2015 2017 2019 2021 2023 2025
Release Pre-release

Releases

latest 34
  1. v5.2.5 29 Jan 2026

    Nothing published for this version

  2. v5.2.4 30 Jan 2025
    Release notes
    • feat: compatibility with PHP 8.4
    Open source →
  3. v5.2.3 28 Jan 2025
    Release notes
    • feat: compatibility with Symfony 7
    • fix: replace of GoodRelations OWL file (#431)
    Open source →
    Release notes
    • feat: compatibility with Symfony 7
    • fix: replace of GoodRelations OWL file (#431)
    Open source →
  4. v5.2.2 19 Jul 2023
    Release notes
    • fix: detect enum detection when an ancestor is an enum
    Open source →
    Release notes
    • fix: detect enum detection when an ancestor is an enum
    Open source →
  5. v5.2.1 29 Jun 2023
    Release notes
    • fix: allow declaring multiple operations using the same class
    Open source →
    Release notes
    • fix: allow declaring multiple operations using the same class
    Open source →
  6. v5.2.0 13 Dec 2022
    Release notes

    What's Changed

    Full Changelog: v5.1.1...v5.2.0

    Open source →
    Release notes
    • feat: improve type detection
    Open source →
  7. v5.1.1 06 Oct 2022
    Release notes
    • feat: repeatable attributes support
    • fix: missing unique for self-referencing relations
    Open source →
    Release notes
    • fix: missing unique for self-referencing relations
    Open source →
  8. v5.0.0 06 Sep 2022
    Release notes
    • feat: add OpenAPI support
    • feat: add API Platform 2.7/3 attributes generation
    • feat: custom attributes and custom attribute arguments
    • feat: add Doctrine ORM inheritance support (discriminator)
    • feat: manage association overrides for Doctrine ORM
    • feat: add defaultCardinality configuration for relations
    • feat: add defaultValue in property configuration
    • feat: add resolveTypes and allTypes parameters
    • refactor: better handling of data type (including lang string)
    • fix: self-referencing relations (Doctrine ORM)
    • fix: update reserved keywords
    • fix: remove simple in ODM attributes
    Open source →
    Release notes
    • feat: add OpenAPI support
    • feat: add API Platform 2.7/3 attributes generation
    • feat: custom attributes and custom attribute arguments
    • feat: add Doctrine ORM inheritance support (discriminator)
    • feat: manage association overrides for Doctrine ORM
    • feat: add defaultCardinality configuration for relations
    • feat: add defaultValue in property configuration
    • feat: add resolveTypes and allTypes parameters
    • refactor: better handling of data type (including lang string)
    • fix: self-referencing relations (Doctrine ORM)
    • fix: update reserved keywords
    • fix: remove simple in ODM attributes
    Open source →
  9. v4.0.1 08 Feb 2022
    Release notes
    • fix: use FQCN when using an enum in callback constraint and remove ApiResource from the enum
    • fix: make sure relations are generated
    • fix: inheritance from Intangible should not create warning
    Open source →
    Release notes
    • fix: use FQCN when using an enum in callback constraint and remove ApiResource from the enum
    • fix: make sure relations are generated
    • fix: inheritance from Intangible should not create warning
    Open source →
  10. v4.0.0 24 Dec 2021
    Release notes
    • feat: support updating existing files
    • feat: generate PHP 8 attributes
    • feat: generate API Platform Core security properties for classes and properties
    • feat: support for HTTPS URLs of Schema.org
    • feat: add YAML support for Doctrine ORM "resolve entity"
    • feat: support for interface namespaces
    • feat: compatibility with Symfony 6
    • feat: compatibility with PHP 8.1
    • feat: now uses Nette generator
    • fix: the whole code base has been refactored, a log of bugs have been fixed
    Open source →
    Release notes
    • feat: support updating existing files
    • feat: generate PHP 8 attributes
    • feat: generate API Platform Core security properties for classes and properties
    • feat: support for HTTPS URLs of Schema.org
    • feat: add YAML support for Doctrine ORM "resolve entity"
    • feat: support for interface namespaces
    • feat: compatibility with Symfony 6
    • feat: compatibility with PHP 8.1
    • feat: now uses Nette generator
    • fix: the whole code base has been refactored, a log of bugs have been fixed
    Open source →
  11. v3.0.0 20 Jan 2021
    Release notes
    • Support for the Web Ontology Language (OWL) (including for the ActivityStream vocabulary)
    • Support for XML Schema types
    • Compatibility with the latest version of Schema.org
    • Improved PHP type hints generation (including support for typed properties)
    • Improved PHPDoc support
    • Upgrade to EasyRDF 1 and Doctrine Inflector 2
    • More flexible configuration
    • The generate-types command has been renamed generate
    Open source →
  12. v2.2.2 10 Jan 2020
    Release notes
    • Update to Symfony 5
    • Fix an issue preventing to install the tool when using Symfony Flex
    • Fix a singularization issue with some words such as sameAs
    Open source →
  13. v2.2.1 23 Nov 2019
    Release notes
    • Allow symfony/config 5.0
    Open source →
  14. v2.2.0 11 Nov 2019
    Release notes
    • Symfony 5 compatibility
    • Add support for custom Twig templates
    • Add support for operations in API Platform annotations
    • Add support for custom columnPrefix
    • Use superseding props over which they superseded
    • Fix implicit and explicit property inheritance
    • Use nullable property for custom fields
    • Add inversedBy and mappedBy Doctrine attributes
    • Fix annotation generation
    Open source →
  15. v2.1.0 23 Jan 2018
    Release notes
    • Allow to use a PSR-4 namespace's prefix
    • Autodetect Flex-like directory structure
    • Improve the message when using 1st type in range
    Open source →
  16. v2.1.0-beta.1 no date pre-release

    Nothing published for this version

  17. v2.0.2 23 Oct 2017
    Release notes
    • Use PHPScoper build the PHAR (to prevent conflicts with libraries installed in the project)
    • Add E2E tests
    Open source →
  18. v2.0.1 16 Sep 2017
    Release notes
    • The generator now relies on embedded schema file to prevent issues with online XML files and allow offline usage
    • An issue regarding the Inflector namespace has been fixed
    Open source →
  19. v2.0.0 08 Sep 2017
    Release notes
    • Generated classes include scalar typehints and return type
    • New options to generate autoincremented IDs, UUIDs, custom IDs or to not generate IDs at all (DTO)
    • Nullable typehints are generated instead of a default null value
    • Add new readable and writable options to fields to skip getter or mutator generation.
    • A fluent interface isn't generated anymore by default unless you set the fluentMutatorMethods config flag to true
    • Useless PHPDoc (@param and @return annotations when a typehint exist and mutator description) isn't generated anymore
    • DateTimeInterface is used instead of DateTime when possible
    • Add the ability to not generate accessor methods (useful when generating public properties)
    • The annotation generator for API Platform v1 has been dropped. Only API Platform v2 is now supported
    • Parent class is not generated by default anymore (using inheritance for entity is discouraged)
    • SerializerGroupsAnnotationGenerator is enabled by default
    • The property name is pluralized for to-many relations and singularized for to-one relations
    • Adder and remover methods are always singularized to be compatible with the Symfony Property Accessor
    • If a config file called schema.yaml is found in the current directory and no 2nd argument is passed to generate-types, this file will be used
    • The code has been modernized to use PHP 7 and 7.1's new features (typehints, strict types), PHP 7.1 is now a requirement
    • PHP CS Fixer has ben upgraded to its version 2
    • The extract-cardinalities gains two new options: one to configure the Schema.org's file to use, the other for the GoodRelations one
    Open source →
  20. v1.2.0 24 Nov 2016
    Release notes
    • The default config now match the Symfony's and API Platform's Best Practices (namespaces)
    • The API Platform's annotation generator is enabled by default
    • Use HTTPS to retrieve vocabularies by default
    • Properties are generated in the order of the config file
    • Properties and constants are separated by an empty line
    Open source →
  21. v1.1.2 27 Sep 2016
    Release notes
    • Fix a bug when generating enumerations
    Open source →
  22. v1.1.1 31 May 2016
    Release notes
    • Use the new PHP CS Fixer package
    Open source →
  23. v1.1.0 16 May 2016
    Release notes
    • MongoDB support
    • API Platform Core v2 support
    • Schema Generator is now available as PHAR
    • Support any RDF vocabulary (was previously limited to Schema.org)
    • Support for custom classes
    • Support for Doctrine Embeddables
    • Support for serialization groups
    • Support for the nullable option
    • Support for the unique option
    • Support for custom Doctine @Column annotations
    • Symfony 3.0 compatibility
    • Various bug fixes and improved tests
    Open source →
  24. v1.1.0-beta.1 22 Nov 2015 pre-release

    Nothing published for this version

  25. v1.0.0 17 Sep 2015
    Release notes
    • Rename the package API Platform Schema Generator (formerly PHP Schema)
    • Support for external and custom RDFa schemas
    • Support custom name for relation tables
    • Allow to use properties from parent classes
    • Allow to create custom fields
    • Improve code quality and tests
    Open source →
  26. v0.4.3 15 May 2015
    Release notes
    Open source →
  27. v0.4.2 22 Apr 2015
    Release notes
    Open source →
  28. v0.4.1 06 Apr 2015
    Release notes
    • Make CS fixer working again
    Open source →
  29. v0.4.0 06 Apr 2015
    Release notes
    Open source →
  30. v0.3.2 06 Mar 2015
    Release notes
    • Fixed Doctrine relations handling
    • Better null value handling
    Open source →
  31. v0.3.1 06 Mar 2015
    Release notes
    • Fix a bug when using Doctrine ArrayCollection
    • Don't call `parent::__construct()`` when the parent constructor doesn't exist
    Open source →
  32. v0.3.0 29 Dec 2014
    Release notes
    • Symfony / Doctrine's ResolveTragetEntityListener config mapping generation
    • Refactored Doctrine config
    • Removed deprecated call to `YAML::parse()``
    Open source →
  33. v0.2.0 28 Dec 2014
    Release notes
    • Better generated PHPDoc
    • Removed @type support
    Open source →
  34. v0.1.0 16 Dec 2014

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive