PHP code example of alpharooq / orm

1. Go to this page and download the library: Download alpharooq/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/ */

    

alpharooq / orm example snippets



use alpharooq\orm;

$db = new orm('localhost','user','pass','name_db');

$db->table('users')->insert([
    'username' => 'karim',
    'password' => md5('P123')
])->run();