Download the PHP package litebase/litebase-laravel without Composer
On this page you can find all versions of the php package litebase/litebase-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download litebase/litebase-laravel
More information about litebase/litebase-laravel
Files in litebase/litebase-laravel
Package litebase-laravel
Short Description Litebase SDK for Laravel
License MIT
Homepage https://litebase.com
Informations about the package litebase-laravel
Litebase Laravel SDK (Alpha)
A Laravel database driver for Litebase, an open source distributed database built on SQLite, distributed file systems, and object storage.
Installation
You can install the package via composer:
The service provider will be automatically registered.
Configuration
Add a Litebase connection to your config/database.php:
Add the corresponding environment variables to your .env:
Usage
Once configured, you can use Litebase like any other Laravel database connection:
Query Builder
Eloquent Models
Migrations
Use Laravel's migration system as usual:
Run migrations:
Schema Operations
Transactions
Interactive Database Shell
The package includes an interactive database shell command:
This provides an interactive SQL prompt where you can execute queries directly against your Litebase database.
Contributing
Please see CONTRIBUTING for details.
Testing
Run unit tests:
Run integration tests (requires Docker):
Integration tests require a running Litebase Server. When running integration tests, a server will be automatically started using Docker.
Run static analysis:
Run code style checks:
Code of Conduct
Please see Code of Conduct for details.
Security
All security related issues should be reported directly to [email protected].
License
Litebase is open-sourced software licensed under the MIT License.
All versions of litebase-laravel with dependencies
illuminate/support Version ^11.0|^12.0
litebase/litebase-php Version ^0.5.5