mickaelandrieu/doctrineorm-skill

This package is abandoned and no longer maintained. No replacement package was suggested.
There is no license information available for the latest version (dev-master) of this package.

dev-master 2016-02-02 12:29 UTC

This package is auto-updated.

Last update: 2020-02-05 08:18:52 UTC


README

Installation

you need to install it using composer and then be sure that this configuration is available when Jarvis Application is started:

<?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.

<?php

require_once('./vendor/autoload.php');
require_once('./config.php');

use Jarvis\Jarvis;
/* ... */

$response = $jarvis->analyze();

$response->send();