https://github.com/flowpack/flowpack.entityusage
Generic usage tracking for any kind of entity in a Neos Flow application
https://github.com/flowpack/flowpack.entityusage
flowframework neoscms
Last synced: 3 months ago
JSON representation
Generic usage tracking for any kind of entity in a Neos Flow application
- Host: GitHub
- URL: https://github.com/flowpack/flowpack.entityusage
- Owner: Flowpack
- License: mit
- Created: 2021-04-23T09:09:46.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2022-06-24T10:07:00.000Z (over 3 years ago)
- Last Synced: 2025-01-13T18:58:17.368Z (about 1 year ago)
- Topics: flowframework, neoscms
- Language: PHP
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 12
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
Awesome Lists containing this project
README
# Generic entity usage tracking API for Neos Flow
## Concept
This package provides a generic usage tracking for any kind of entity in a Neos Flow application.
An additional package like `Flowpack.EntityUsage.DatabaseStorage` is required for
storing those relations.
For each kind of entity a package needs to provide the mechanisms to register
and unregister usage. F.e. `Flowpack.Neos.AssetUsage` provides this for
assets in Neos CMS.
## Creating your own entity storage
My.Package:MyEntityUsageService:
className: Flowpack\EntityUsage\Servce\EntityUsageService
scope: singleton
arguments:
1:
value: 'my_service_id'
## Related packages
* [Flowpack.EntityUsage.DatabaseStorage](https://github.com/Flowpack/Flowpack.EntityUsage.DatabaseStorage) for storing usages in the database
* [Flowpack.Neos.AssetUsage](https://github.com/Flowpack/Flowpack.Neos.AssetUsage) for storing Neos.Media asset usages in Neos CMS