PHP code example of madebydavid / silex-skeleton-orm
1. Go to this page and download the library: Download madebydavid/silex-skeleton-orm 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/ */
madebydavid / silex-skeleton-orm example snippets
$app['config'] = array(
'db.options' => array(
'driver' => 'pdo_mysql',
'dbname' => 'skeleton-dev',
'user' => 'root',
'password' => ''
)
);
bash
$ curl -sS https://getcomposer.org/installer | php
bash
$ php composer.phar create-project madebydavid/silex-skeleton-orm silex-project
$ cd silex-project