- Sync AWS costs and storage to database
- Users can set tags rules in config to query AWS cost
- PHP >= 8.1;
- composer.
- Support AWS cost
composer require onramplab/laravel-cloud-cost
php artisan vendor:publish --provider="OnrampLab\CloudCost\CloudCostServiceProvider"
php artisan migrate
php artisan cloud-cost:sync aws_default 2023 1
php vendor/bin/phpunit
or
composer test
php vendor/bin/phpcs --standard=PSR2 src/
or
composer psr2check
composer psr2autofix
composer insights:fix
rector:fix
php vendor/bin/phpdoc -d "src" -t "docs"
or
composer docs
To keep track, please refer to CHANGELOG.md.
- Fork it.
- Create your feature branch (git checkout -b my-new-feature).
- Make your changes.
- Run the tests, adding new ones for your own code if necessary (phpunit).
- Commit your changes (git commit -am 'Added some feature').
- Push to the branch (git push origin my-new-feature).
- Create new pull request.
Also please refer to CONTRIBUTION.md.
Please refer to LICENSE.
- login AWS
- Menu > Security credentials > User groups
- add "Permissions to "Permissions policies"
- "Cost-Explorer-Service-Admin"