{"repo":"ylsideas/cockroachdb-laravel","free":true,"listed":false,"github":"https://github.com/ylsideas/cockroachdb-laravel","clone":"git clone https://github.com/ylsideas/cockroachdb-laravel.git","description":"A driver for compatibility between Laravel and CockroachDB","language":"PHP","stars":73,"topics":["laravel","php","cockroachdb","database","hacktoberfest"],"license":"MIT","category":"databases-storage","readme_excerpt":"CockroachDB Driver for Laravel A driver/grammar for Laravel that works with CockroachDB. While CockroachDB is compatible with Postgresql, this support is not 1 to 1 meaning you may run into issues, this driver hopes to resolve those problems as much as possible. Laravel 9 through to Laravel 11 is supported and tested against CockroachDB 22 & 23. Supporting Open Source Peter Fox here, I just want to say this project has been my hardest yet. It's been a real labour of love to make and takes up a lot of time trying to organise the test suite so that compatibility is maintained between Eloquent and CockroachDB. I see a lot of promise in using CockroachDB's serverless offering which is what compelled me to go down this route originally. You can read an article I made about using their service. If you're using this project at all then do please consider sponsoring me as a way of encouraging more development. Installation You can install the package via composer: You need to add the connection type to the database config: You can also use URLs. Usage To enable set DB CONNECTION=crdb in your .env. Notes CockroachDB should work inline with the feature set of Postgresql, with some exceptions. You can look at the features of each CockroachDB server in the CockroachDB Docs. Deletes with Joins CockroachDB does not support performing deletes using joins. If you wish to do something like this you will need to use a sub-query instead. At current if you try to call the delete method of the Qu","default_branch":null,"files":null,"tree":[],"storefront":"/r/ylsideas","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ylsideas/cockroachdb-laravel/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}