PHP code example of stdimitrov / orm
1. Go to this page and download the library: Download stdimitrov/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/ */
stdimitrov / orm example snippets
$dir = __DIR__ . '/models'; // Directory where the models will be created
new \Stdimitrov\Orm\Tasks\CreateModels()->run($dir);
class UsersRepository extends \App\Models\Users
{
// Add custom methods here
}