Download the PHP package mgcosta/spanner-orm-builder without Composer
On this page you can find all versions of the php package mgcosta/spanner-orm-builder. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mgcosta/spanner-orm-builder
More information about mgcosta/spanner-orm-builder
Files in mgcosta/spanner-orm-builder
Package spanner-orm-builder
Short Description Google Spanner ORM With Query Builder
License MIT
Informations about the package spanner-orm-builder
Spanner ORM Builder For PHP
The Spanner ORM Builder is a database toolkit to PHP, providing an expressive query builder, ActiveRecord style ORM, it can serve as a database layer for your PHP app if you intend to work with Google Cloud Spanner.
Install
Via Composer
Usage Instructions
First, we should create a new "Manager" instance. Manager aims to make configuring the library for every framework as easy as possible.
That's it, you're ready to use the library, just be sure to instantiate the manager as soon as possible on your APP, usually on your bootstrap or config file.
Once the Manager instance has been registered, we may use it like:
Using The Query Builder
Updating/Deleting using the Query Builder
Saving a model
Using the query builder without Model Class
The implementation of the query builder is inspired on Laravel Query Builder, to get more documentation follow the link.
Roadmap
You can get more details of the plans for this early version on the following link.
Contributing
Please see CONTRIBUTING for details.
Credits
- [Miguel Costa][https://github.com/mgcostaParedes]
License
The MIT License (MIT). Please see License File for more information.
All versions of spanner-orm-builder with dependencies
ext-json Version *
ext-pdo Version *
ext-grpc Version *
grpc/grpc Version ^1.36
google/cloud-spanner Version ^1.36
ramsey/uuid Version ^4.1.1
illuminate/collections Version ^8.37.0