1. Go to this page and download the library: Download dromero86/halcon library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
dromero86 / halcon example snippets
$App->get('index', function ()
{
$this->data->set("rand",rand(111,999) );
$this->parser->parse(BASEPATH."sdk/index.html", $this->data->get());
});
js
{
"name" : "El nombre de la aplicacion",
"jsonp" : false,
"domain" : "el servidor donde esta alojada la aplicacion",
"session" :
{
"enable" : false, //si es true se habilita la session
"login" : "la url de autenticacion" ,
"check" : "la url que checquea si esta con session activa" ,
"logout" : "la url de deslogueo" ,
"key" : "la clave de localstorage"
}
}
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.