Download the PHP package degordian/roomfinder without Composer
On this page you can find all versions of the php package degordian/roomfinder. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download degordian/roomfinder
More information about degordian/roomfinder
Files in degordian/roomfinder
Package roomfinder
Short Description Finding available meeting rooms, and reserving them
License MIT
Informations about the package roomfinder
Room resource managment, finding and reserving available meeting rooms
A php wrapper around something that can handle rooms and their availability(google calendar for instance)
How to install (Composer)
composer require degordian/roomfinder
or add to your project's composer.json
"require": {
"degordian/roomfinder": "*"
}
How to use
First you have to atuthenticate yourself for using google calendar for instance
A google calendar example is in examples/auth
You can add new adapters for room resourcing, currently only Google Calendar is supported
Create a google app here:
https://console.developers.google.com/apis/credentials/oauthclient
Export the client_secret.json file
Save it to disk, and paste the path to the file into
For , use the location on your disk where you want the auth.php script to create your auth file
Through the command line, call
This will serve you a google link to authenticate yourself and create a credential file you can then use in your project
Using that file you can now you can initialize an adapter for those rooms
Initialize a room handler, and register the adapter
Create a room from some data
Add the rooms to the room handler
Find the availability of all rooms
Find an availble room, that wont be occupied in the next x minutes
Find an available room, that wont be occupied in the next x minutes, and filter by size
Reserve a room in the calendar
Contribute
Contributions and comments are more than welcome :)
Questions, problems?
We will do our best to answer all issues
License
MIT License