Download the PHP package vij-klim/appointed without Composer
On this page you can find all versions of the php package vij-klim/appointed. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download vij-klim/appointed
More information about vij-klim/appointed
Files in vij-klim/appointed
Package appointed
Short Description Check whether required appointment slot is open or offer closest available one
License MIT
Informations about the package appointed
[]() []() []()
Installation
Usage
-
Set up default timezone, i.e.
-
Instantiate business day
-
Create some operating periods and add them to business day. If some operating periods cannot be added then false will be returned and no changes will be applied whatsoever
-
Create some appointments and add them to business day. If some appointments cannot be added then false will be returned and no changes will be applied whatsoever
-
To fit previously failed appointment use that will return either null or recommended Appointment
-
To delete appointment(s) use that will return boolean
-
To delete operating period use that will return boolean
-
To edit operating period use that will return boolean
- To get whole day agenda use that will return array of Period and/or Appointment ordered ascending. Since underlying classes implement JsonSerializable interface this data may be easily encoded to json.