PHP code example of peppers / example-app
1. Go to this page and download the library: Download peppers/example-app 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/ */
peppers / example-app example snippets
return [
'default' => 'pdo.peppers',
'pdo' => [
'peppers' => [
'dsn' => 'mysql:host=172.17.0.3;port=3306;dbname=peppers;charset=utf8mb4',
]
],
];