Looking to hire Laravel developers? Try LaraJobs
This package is not available.

easysql-laravel maintained by clearsoft

Description
Laravel integration for the EasySQL PHP SDK — service provider, manager and facade.
Author
Last update
2026/10/16 01:28 (dev-main)
License
Downloads
4

Comments
comments powered by Disqus

clearsoft/easysql-laravel

Laravel integration for the EasySQL PHP SDK — service provider, connection manager and facade.

Installation

composer require clearsoft/easysql-laravel

Requirements: PHP >= 8.2, Laravel ^11.0, clearsoft/easysql-client.

Package discovery is automatic (provider + EasySQL alias registered via extra.laravel).

Usage

php artisan vendor:publish --tag=easysql-config
EASYSQL_BASE_URL=https://api.easysql.net
EASYSQL_ACCESS_TOKEN=your-access-token
EASYSQL_TIMEOUT=30
use Clearsoft\EasySql\Laravel\Facades\EasySQL;

$result = EasySQL::createQuery(['connection_id' => 'conn_abc123', 'question' => '...']);
$analytics = EasySQL::connection('analytics');

Tests

./vendor/bin/phpunit --testsuite laravel