kozo/liberation

There is no license information available for the latest version (0.1) of this package.

It is a Laravel package for easy retrieval and execution of SQL files and more.

Installs: 11 773

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 1

Open Issues: 0

pkg:composer/kozo/liberation

0.1 2020-12-06 08:11 UTC

This package is auto-updated.

Last update: 2025-10-06 20:09:36 UTC


README

Scrutinizer code quality (GitHub/Bitbucket) CircleCI

install

composer require kozo/liberation

usage

Liberation::{fileType}('{fileName}')

example1

// resources/sql/example.sql

select * from example
use Liberation\Liberation;

$sql = Liberation::sql('example');
$rows = DB::select($sql);

example2

// resources/sql/example.sql

select * from example
$rows = DB::query()->sql('example');