Load a Splint Application

Loading a splint application is as easy as can be. All you need to do is call the function below with a Controller method of your Code Igniter distribution.


The applications might need some parameters to initialize with, in such a case, you can do something like the one below.

$params = [
  "param1" => "arg1",
  "param2" => "arg2",
  "paramN" => "argN"
$this->load->app("<vendor>/<application_name>", $params);

Some Splint applications can be paged, this means that you can specify the application page to show or load.

You might want to use this feature if you want your URLs to remain as though the application is running within your main Code Igniter distribution.

Specifying application pages is usually done with the app_page parameter as part of the $params values passed to the $this→load→app() function. The developer of the application can use an entirely different name for the parameter, app_page is just community standard.

Handling the page logic is entirely up to the application developer.



Other topics