02/02
2016
dev-master
9999999-dev
The Requires
The Development Requires
Wallogit.com
2017 © Pedro Peláez
you need to install it using composer and then be sure that this configuration is available when Jarvis Application is started:, (*1)
<?php
/* config.php */
$config = [
'doctrine' => [
'db' => [
'dbname' => 'backbee',
'user' => 'root',
'password' => 'A1nges6!',
'host' => 'localhost',
'driver' => 'pdo_mysql',
],
'orm' => [
'debug' => false,
'entity_path' => __DIR__.'/src/Entity'
]
]
];
For instance, you can create a config.php file at the root of your project and then
require or include it in your front controller., (*2)
<?php
require_once('./vendor/autoload.php');
require_once('./config.php');
use Jarvis\Jarvis;
/* ... */
$response = $jarvis->analyze();
$response->send();