kly / appointment
Appointment maker integrated with Google Calendar API
Requires
- google/apiclient: ^2.2
Requires (Dev)
- php-di/php-di: ^6.0
- phpunit/phpunit: ^7
- symplify/easy-coding-standard: ^4.5
This package is not auto-updated.
Last update: 2024-11-10 11:05:51 UTC
README
Appointment maker with google calendar api integration.
Instalation
Download and install this package using composer composer require kly/appointment
. Load up the autoloader and call the classes you need.
Steps to contribute
-
Fork the original repository.
-
Clone from your repository
https://github.com/<YOUR_GIT_USERNAME>/appointment.git
-
Sync your fork with the original repository.
git remote add upstream https://github.com/KLYgarage/appointment.git
git pull upstream master
-
Create a branch. Remember, the name of the branch, should express what you're doing
git checkout -b <BRANCH_NAME>
-
Save
credential_example.json
tocredential.json
. Modify the content accordingly based on your google api calendar settings. For more information about how to enable google calendar api, refer to the following url : google calendar api -
When you're fininished developing, you can create pull request. Pull request can be done using the following steps :
git add .
git commit -m <YOUR_COMMIT_MESSAGE>
git push -u origin <YOUR_BRANCH_NAME>
-
Go to your github account, on tab pull request, add your comment. Be detailed, use imperative, emoticon to make it clearer.
-
Watch for feedbacks !
PHP CS-FIX
PHP CS Fixer is intended to fix coding standard. So, Remember! to always run PHP CS Fixer before you create pull request.
`composer run cs-fix`
Testing
Open a command prompt or terminal, navigate to project directory and run command php ./phpunit --bootstrap ./test/bootstrap.php ./test/
> php ./phpunit --bootstrap ./test/bootstrap.php ./test/
PHPUnit 4.8.36 by Sebastian Bergmann and contributors.
..................
Time: 14 seconds, Memory: 10.00MB
OK (18 tests, 98 assertions)