Download the PHP package nubitio/sequence-bundle without Composer
On this page you can find all versions of the php package nubitio/sequence-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download nubitio/sequence-bundle
More information about nubitio/sequence-bundle
Files in nubitio/sequence-bundle
Package sequence-bundle
Short Description Opt-in atomic field numbering for Nubit Symfony apps via the Sequence attribute and a shared counter table.
License MIT
Homepage https://github.com/nubitio/nubit-symfony/tree/main/packages/sequence-bundle
Informations about the package sequence-bundle
nubitio/sequence-bundle
Read-only split of
nubitio/nubit-symfony. Open issues and pull requests there. Commits here are overwritten on every split frommain.
Opt-in atomic numbering for document fields.
Install
Create the counter table (once per app):
Or run a Doctrine migration that maps Nubit\SequenceBundle\Entity\SequenceCounter.
Usage
Counters are isolated per scope (restaurant:1|…) and sequence name (order).
Frontend integration
The Hydra API doc publishes x-sequence on the resource class so @nubitio/react-admin hides the allocated field on create/edit forms and marks it read-only in the grid:
No manual visibleOnForm: false on the sequence property is required when the bundle is enabled.
All versions of sequence-bundle with dependencies
api-platform/core Version ^4.3.12
doctrine/orm Version ^3.0
nubitio/api-platform Version ^1.0
symfony/config Version ^7.4 || ^8.0
symfony/dependency-injection Version ^7.4 || ^8.0
symfony/framework-bundle Version ^7.4 || ^8.0
symfony/property-access Version ^7.4 || ^8.0
symfony/serializer Version ^7.4 || ^8.0