Download the PHP package lasserafn/laravel-intempus without Composer
On this page you can find all versions of the php package lasserafn/laravel-intempus. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download lasserafn/laravel-intempus
More information about lasserafn/laravel-intempus
Files in lasserafn/laravel-intempus
Package laravel-intempus
Short Description A laravel API wrapper for Intempus
License MIT
Homepage https://github.com/LasseRafn/laravel-intempus
Informations about the package laravel-intempus
laravel-intempus
Install
Via Composer
Laravel Service Provider
Add the follwing to your array in : `
Publish configs
Run this in your terminal `
Route (for Auth)
Add this to your web.php file (or where-ever you desire)
Usage
Auth
Remember to store the nonce, as you'll need it do send future requests.
Doing stuff
In order to send a request, you'll need the nonce (returned from the getAuth() method) and the token that is returned from Intempus. Look at the "Route (for Auth)" section for help.
An example of this could be:
Change log
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONDUCT for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Lasse Rafn
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
todo
- Allow deleting models/entities through the API
- Allow creating models/entities through the API
- Allow updating models/entities through the API
- Limit ->get() method to X results and include an ->all() method that uses pagination
- Add missing models
- Add relationship-ish behaviour
Reason for doing this
As of creating this package, I'm employeed at Bizz Zolutions - and one of my tasks was integrating Intempus timeregistrering with e-conomic regnskabsprogram. I believe in open sourcing as much as possible so this felt very natural. Had a talk with the boss and we're equally minded :-)
Use as you please. Oh, and sorry for the shameless backlinks.