Download the PHP package ahoicloud/co2 without Composer
On this page you can find all versions of the php package ahoicloud/co2. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ahoicloud/co2
More information about ahoicloud/co2
Files in ahoicloud/co2
Package co2
Short Description Package for laravel calculating Co2 emission based on Sustainable Web Design (SWD) model
License MIT
Homepage https://github.com/ahoicloud/co2
Informations about the package co2
Package for Laravel calculating Co2 emission based on Sustainable Web Design (SWD) model
Every byte of data that’s uploaded or downloaded produces CO2. By being able to calculate these emissions, developers can enabled themself and their users to create more efficient, lower carbon decisions. Here are a few examples:
- Create a carbon budget for your site
- Inform the user when they uploading or downloading carbon intensive files
The package uses the Sustainable Web Design (SWD) model. The yearly average grid intensity data comes from Ember, as well as marginal intensity data from the UNFCCC (United Nations Framework Convention on Climate Change).
The package is build for Laravel and is based on the great work done by The Green Web Foundation in the CO2.js package.
Installation
You can install the package via composer:
Optional
You can publish the config file with:
This is the contents of the published config file:
Usage
Total energy use by each corresponding system component in kilowatt hours
Or as a facade
Total co2 figures key by the each component
Or as a facade
Total co2 figures key by the each component
Or as a facade
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- Arne Breitsprecher
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
The code for thegreenwebfoundation/co2.js is licensed Apache 2.0. (What does this mean?)
The average carbon intensity data from Ember is published under the Creative Commons ShareAlike Attribution Licence (CC BY-SA 4.0). (What does this mean?)
The marginal intensity data is published by the Green Web Foundation, under the Creative Commons ShareAlike Attribution Licence (CC BY-SA 4.0). (What does this mean?)
See LICENCE for more.
All versions of co2 with dependencies
spatie/laravel-package-tools Version ^1.14.0
illuminate/contracts Version ^9.0