wwwision / assetusage
Simple and fast asset usage index for the Neos Content Repository
Fund package maintenance!
bwaidelich
Paypal
Installs: 1 160
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 1
Open Issues: 0
Type:neos-package
Requires
- php: >=7.4
- ext-json: *
- neos/content-repository: ^7.3 || ^8.0
- neos/flow: ^7.3 || ^8.0
- neos/media: ^7.3 || ^8.0
- symfony/polyfill-php80: ^1.27
Requires (Dev)
- roave/security-advisories: dev-latest
Conflicts
README
Simple and fast asset usage index for the Neos Content Repository
Usage
Install via composer:
composer require wwwision/assetusage
Important: The usage index has to be updated manually initially. After that it will be kept in sync automatically
Update usage index
./flow assetusage:updateIndex
Reset usage index
./flow assetusage:resetIndex
Disclaimer
This package is inspired by flowpack/neos-asset-usage but uses Doctrine DBAL directly and thus comes with some advantages:
- Much simpler architecture due to fewer abstraction levels
- Linear memory consumption (see Flowpack/Flowpack.Neos.AssetUsage#3)
- Detects asset usages in text properties (see Flowpack/Flowpack.Neos.AssetUsage#1)