PHP code example of rudashi / optima

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

    

rudashi / optima example snippets


optima()->from('table')->get();

(new CustomerRepository(optima(false)))->findByCode('TEST!');

(new CustomerRepository(optima(false)))->find(1111, 222, 3333);