Now 129 096 iCalcreator
You can show your appreciation for our free software
and can support future development by making a donation to the kigkonsult projects.
Make a donation of any size by clicking here. Thanks in advance!
kigkonsult offer professional services for software support, design and new/re-development, customizations and adaptations
of PHP/MySQL solutions with focus on software lifecycle management, including long term utility, reliability and maintainability.
If you need any custom modules, modification or amendment based on iCalcreator
to suit your needs or professional support, don't hesitate to contact us.
iCalcreator used in.. .
- All-in-One Event Calendar
- Date iCal
- ESS Feed
- Exponent CMS
- EQDKP Plus
- Gumbo Millennium
- JCal Pro
- One Big SYSTem
- Open Atrium
- Repository based CMS
- Virtual Loup-De-Mer
- "Weather Forecast"
- And many more.. .
what iCalcreator is missing,
use the contact page
Credits & Licenses
iCalcreator and the related PHP software was conceived and written by Kjell-Inge Gustafsson.
Many people have contributed, through providing questions, issues, reporting bugs and sending patches.
iCalcreator (standard) and the related PHP software are released under the
rest services made easy
- a PSR-7 HTTP message rest server
- builtin serializers and decoders
- API for your application
To install with composer:
composer require kigkonsult/restserver
Requires PHP 5.6, 7.*
// Implement an application rest service operation entry
// (or any callable with the same interface)
$callback = function(
return $response->withRawBody( [ "Hello" => "world" ] );
// Set up the rest service definition (method, uri and callback)
$restGetServiceDef = [
RestServer::METHOD => RequestMethodHandler::METHOD_GET,
RestServer::URI => "/",
RestServer::CALLBACK => $callback
// Attach the service definition(s) and fire of the server
RestServer::factory()->attachRestService( $restGetServiceDef )->run();
More example usage:
$RestServer = new RestServer();
$attachRestServiceCallback = $RestServer->getAttachRestServiceCallback();
public function registerAsRestService(
public function action(
return $response->withRawBody( ['msg' => 'Hello world'] );
$ApplicationClass2 = new ApplicationClass2();
$ApplicationClass2->registerAsRestService( $attachRestServiceCallback );
Rest service definition
You have to implement one or more rest service entries for your application logic.
Each entry with one or more http request methods and a (single) uri (ex "/"),
form a service definition.
The service definitions, attached to restServer, are interfaces to your application logic.
Aside from rest service definitions, you can attach custom
request message handler(s), invoked before any operation callback
as well as (a single) final handler, invoked after response is returned.
In the restServer package docs folder are found
- summary and supplementary documentation
- demo applications and service definitions
- demo handlers
- more examples
For restServer issues, use github issues.
Due to the restServer development status (ver 0.9.26), review reports are appreciated!
Credits and base software information
Click to get restServer