Download the PHP package cleaniquecoders/attendance without Composer
On this page you can find all versions of the php package cleaniquecoders/attendance. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download cleaniquecoders/attendance
More information about cleaniquecoders/attendance
Files in cleaniquecoders/attendance
Package attendance
Short Description An Adaptive Attendance Solution
License MIT
Informations about the package attendance
About Your Package
This is an Adaptive Attendance package - enabled developers to integrate with existing attendance system and devices such as Access Card, Biometric, etc.
This package comes with common attendance adapaters:
- Web Adapter - use for Web based attendance system
- API Adapter - use for Mobile based attendance system
- Console Adapter - use for Queue based attendance system
See usage section below for custom adapters.
Installation
-
In order to install
cleaniquecoders/attendance
in your Laravel project, just run the composer require command from your terminal: -
Then in your
config/app.php
add the following to the providers array: -
In the same
config/app.php
add the following to the aliases array: -
Install the package:
- Setup
AttendanceTrait
to your user model.
Usage
Artisan Commands
Log Attendance from console:
API
When running attendance:install
, API routes to for attendance will be append into your routes/api.php
file.
Scopes
To get all entries for today, you can use todayEntries()
scope.
To get based on one or more drivers.
Custom adapter
You can create custom adapter if you want to have custom integration with Slack, Telegram, etc.
This will create a class located at app/Adapters/SlackAdapter.php
.
Once created, you may want to create routes to accept Slack webhook into your app. Following is an example of route setup.
Test
Run the following command:
Contributing
Thank you for considering contributing to the cleaniquecoders/attendance
!
Bug Reports
To encourage active collaboration, it is strongly encourages pull requests, not just bug reports. "Bug reports" may also be sent in the form of a pull request containing a failing test.
However, if you file a bug report, your issue should contain a title and a clear description of the issue. You should also include as much relevant information as possible and a code sample that demonstrates the issue. The goal of a bug report is to make it easy for yourself - and others - to replicate the bug and develop a fix.
Remember, bug reports are created in the hope that others with the same problem will be able to collaborate with you on solving it. Do not expect that the bug report will automatically see any activity or that others will jump to fix it. Creating a bug report serves to help yourself and others start on the path of fixing the problem.
Coding Style
cleaniquecoders/attendance
follows the PSR-2 coding standard and the PSR-4 autoloading standard.
You may use PHP CS Fixer in order to keep things standardised. PHP CS Fixer configuration can be found in .php_cs
.
License
This package is open-sourced software licensed under the MIT license.
All versions of attendance with dependencies
cleaniquecoders/blueprint-macro Version ^2.2
cleaniquecoders/laravel-helper Version ^1.1
cleaniquecoders/laravel-observers Version ^1.1
illuminate/support Version ^5.5|^5.6|^5.7