PHP code example of fusio / adapter-laravel
1. Go to this page and download the library: Download fusio/adapter-laravel 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/ */
fusio / adapter-laravel example snippets
use \Illuminate\Database\Capsule\Manager as Capsule;
$connection = $connector->getConnection('eloquent');
$actions = Capsule::table('fusio_action')->where('id', '>', 2)->get();
return $response->build(200, [], [
'actions' => $actions,
]);