Running this command will allow you to utilize webhooks for the leaves functionality of BambooHR.
PHP 7 is required for bamboohr-leaves-notifier
to run.
Clone this project:
git clone https://github.com/mylk/bamboohr-leaves-notifier
Install the dependencies:
composer install
To execute bamboohr-leaves-notifier
and get some help:
cd bamboohr-leaves-notifier
bamboohrleaves list
Copy config/parameters.example.yaml
to config/parameters.yaml
and modify it to your BambooHR API settings.
Also copyconfig/config.example.yaml
to config/config.yaml
and configure it to meet your team
and notification needs.
To poll for changes on leaves:
bamboohrleaves poll
bamboohr-leaves-notifier
is open source and of course you can contribute. Just fork the project, have fun
and then create a pull request.
A Makefile
has been created to group some tasks needed for development. Find those tasks below.
make tests
make check-syntax
The coding style that is followed is PSR-2.
make check-style
make check-quality
- symfony/console - The library used for the command line interface
- symfony/yaml - The library used to read the YAML configuration of the application
- symfony/dependency-injection - The library that instantiates the services used in the project
- doctrine/orm - An object relational mapper (ORM)
SemVer is used for versioning. For the versions available, see the tags.
See the list of contributors.
This project is licensed under the GPLv2 License - see the LICENSE file for details.