wwwision / assetusage
Simple and fast asset usage index for the Neos Content Repository
                                    Fund package maintenance!
                                                                            
                                                                                                                                        bwaidelich
                                                                                    
                                                                            
                                                                                                                                        Paypal
                                                                                    
                                                                
Installs: 2 501
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 2
Open Issues: 0
Type:neos-package
pkg:composer/wwwision/assetusage
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)