Brackets extension badges are download counters for your Brackets extensions, as Adobe doesn't provide any official way to retrieve statistics, even for your own extension.
This repository is the PHP version of the server, which manages both statistics databases and .svg
badge generation.
It written with the Lumen framework
The PHP version of the server is the original one, but the development has been abandoned in favour of the Node.js version, currently available at badges.ml
/
- Redirects to brackets-extension-badges.github.io/EXTENSION_NAME/total.svg
- A badge showing the total number of downloads/EXTENSION_NAME/last-version.svg
- A badge showing number of downloads for the latest version of the extension/EXTENSION_NAME/week.svg
- A badge showing the number of downloads during the last 7 days/EXTENSION_NAME/day.svg
- A badge showing the average downloads per day, based on the last 7 days/list.json
- A list of all extensions with total download numbers.
The name of an extension is defined in the package.json
file, at the root of the extension.
The badge provider is a Lumen application with a MySQL database. It can be easily deployed with Laradock, a Docker PHP development environment.
Deploying requires git
, docker
and docker-compose
.
Check out the Deployment page of the wiki for detailed steps.