PHP code example of berie / orm

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

    

berie / orm example snippets

 composer.phar 

$entity = $orm->getManager('foo_table')
    ->find($id = 43);

$entities = $orm->getManager('foo_table')
    ->findAll();

foreach($entities as $entity) {
    $orm->remove($entity);
}