PHP code example of cagartner / laravel-sqlanywhere

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

    

cagartner / laravel-sqlanywhere example snippets


'Cagartner\SQLAnywhere\SQLAnywhereServiceProvider',

		'sqlanywhere' => array(
            'host'        => 'tcpip{host=127.0.0.1;port=2638}',
            'username'    => 'teste-conexao',
            'password'    => 'teste',
            'database'    => 'teste-conexao',
            'auto_commit' => true,
            'persintent'  => false,
            'charset'     => 'utf8',
        ),