Skip to content

apioo/fusio-adapter-laravel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fusio-Adapter-Laravel

Fusio adapter which helps to integrate features of Laravel. You can install the adapter with the following steps inside your Fusio project:

composer require fusio/adapter-laravel
php bin/fusio system:register "Fusio\Adapter\Laravel\Adapter"

Example

Through the Eloquent connection you can build API endpoints using the Eloquent ORM i.e.:

<?php

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,
]);

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages