lukasbableck / contao-packagist-info-bundle
Provides a content element and an insert tag to display information about packages from Packagist.
                                    Fund package maintenance!
                                                                            
                                                                                                                                        lukasbableck
                                                                                    
                                                                
Installs: 1
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Type:contao-bundle
pkg:composer/lukasbableck/contao-packagist-info-bundle
Requires
- php: ^8.1
 - composer/semver: ^3.4
 - contao/core-bundle: ^5.3
 - knplabs/packagist-api: ^2.1
 - symfony/cache: ^6.4 || ^7.3
 - symfony/dependency-injection: ^6.4 || ^7.3
 - symfony/http-foundation: ^6.4 || ^7.3
 - symfony/http-kernel: ^6.4 || ^7.3
 
Requires (Dev)
- contao/manager-plugin: ^2.0
 - friendsofphp/php-cs-fixer: ^3.84
 - vincentlanglet/twig-cs-fixer: ^3.8
 
Conflicts
- contao/manager-plugin: <2.0 || >=3.0
 
README
Provides a content element and an insert tag to display information about packages from Packagist.
Package information is cached for 10 minutes to reduce the number of API requests.
Insert tag usage
{{packagist::vendor/package::attribute}}
vendor/package: The name of the package on Packagist (e.g.,lukasbableck/contao-packagist-info-bundle).attribute: The attribute to display. Possible values are:name: The name of the package.description: The description of the package.lastUpdated: The date when the package was last updated.versions: The available versions of the package.latestStableVersion: The latest stable version of the package.repository: The URL to the package's repository.downloads: The numbers of downloads.totalDownloads: The total number of downloads.favers: The total number of users who have favorited the package.githubStars: The number of stars on GitHub (if applicable).githubForks: The number of forks on GitHub (if applicable).githubWatchers: The number of watchers on GitHub (if applicable).githubOpenIssues: The number of open issues on GitHub (if applicable).language: The programming language of the package.compatibleContaoVersions: The Contao versions supported by the package.