Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Laravel Crate.io

Laravel Crate.io Laravel Package

ratkor/laravel-crate.io

ratkor/laravel-crate.io integrates Crate.io/CrateDB with Laravel, providing database driver and query-builder support so PHP applications can run CrateDB queries through familiar Laravel patterns. Useful for projects needing CrateDB’s distributed SQL capabilities alongside Laravel.

View on GitHub
Deep Wiki
Context7

Crate.io driver for Laravel

Frequently asked questions about Laravel Crate.io
What is ratkor/laravel-crate.io used for?
It is a Laravel database driver package that integrates CrateDB (formerly Crate.io) so PHP applications can run CrateDB queries through Laravel-style database access. It is most appropriate as a secondary connection for read-heavy reporting, analytics, log ingestion, or time-series side paths rather than as the primary transactional database. Keep MySQL or PostgreSQL as the system of record for typical Laravel domain models.
How do I install and configure ratkor/laravel-crate.io?
Install it with Composer and add a named CrateDB connection in config/database.php, then register any service provider the package requires if Laravel auto-discovery does not handle it. Because the package is niche, verify the README and source for the exact connection keys and driver name before wiring it into application code. Isolate the connection behind repositories or services so the rest of the app is not coupled to CrateDB.
Which Laravel, PHP, and CrateDB versions are supported?
The provided context does not list exact supported versions, so you must check the package composer.json, release history, and tests before adopting it. The package has a 2023 release date and low community validation, so Laravel, PHP, and CrateDB compatibility should be proven with a compatibility spike. Pin all three versions in composer.json and your deployment environment.
Does ratkor/laravel-crate.io work with Laravel 11 or Laravel 12?
That is not confirmed by the available information, and the package's low star count and 2023 release date make Laravel 11 or 12 support something you should test rather than assume. Check Composer constraints and run a small read-only proof of concept on the exact Laravel version you plan to use. If it fails, expect to patch or fork the driver rather than waiting for upstream fixes.
Does the package support Eloquent, the query builder, and the schema builder?
The overview only promises database driver and query-builder support, so basic query-builder usage is the safest assumption. Eloquent models, schema builder operations, and Laravel migration features may be incomplete or behave differently because CrateDB SQL semantics are not identical to MySQL or PostgreSQL. Validate each feature you need with tests and prefer raw SQL or tightly scoped query-builder calls over broad Eloquent assumptions.
Is ratkor/laravel-crate.io PDO-based or does it use CrateDB's HTTP API?
The available context does not specify whether the driver uses PDO, CrateDB's PostgreSQL wire protocol, or its HTTP endpoint. This matters for connection pooling, error handling, and performance, so inspect the package source and configuration before committing to it. If the driver path is unsuitable, direct CrateDB HTTP or PostgreSQL-protocol access is a reasonable fallback.
Can I use CrateDB as my primary Laravel database with this package?
CrateDB is best suited as a distributed SQL, analytics, search, and time-series store, not as a drop-in primary OLTP database for a typical Laravel application. The package is unlikely to provide full transactional Eloquent behavior, foreign keys, and migration parity with MySQL or PostgreSQL. Use it as a secondary connection and keep the transactional system of record on a conventional relational database.
Is ratkor/laravel-crate.io safe to use in production?
It can be used tactically for read-only or append-heavy paths if you pin versions, add monitoring, and test failure modes, but it should not be treated as strategic infrastructure. Plan for possible Laravel upgrade breakage, incomplete SQL feature coverage, connection exhaustion, and silent read/write inconsistency. Start with a non-production proof of concept and a read-only production reporting path before expanding to writes.
Is ratkor/laravel-crate.io actively maintained?
The assessment points to a low release cadence, a small community, and a 2023 release date, so active maintenance should not be assumed. Expect your team to own driver behavior, upgrade testing, and possibly fork or patch the package. MIT community support means there is no vendor SLA for fixes.
What are alternatives if this CrateDB driver does not fit?
You can fall back to direct CrateDB HTTP access, the PostgreSQL wire protocol, or another maintained CrateDB client, and keep Laravel's default connection on MySQL or PostgreSQL. For testing, isolate CrateDB behind repositories and use integration tests against a real CrateDB instance because SQL dialect differences are the main risk. Also run a compatibility matrix for your pinned Laravel, PHP, and CrateDB versions.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
mrnewport/laravel-plaid
mrnewport/laravel-repo
mrnewport/laravel-docsign
mrnewport/laravel-stow
mrnewport/laravel-flow
mrnewport/laravel-priceable
mrnewport/laravel-nestedterms
fredmeng/laravel-apidoc-generator
itstructure/laravel-multilingual-tools
pdustdar/elasticsearch
markupai/php-sdk
rlacerda83/lumem-microservice-shipment
uni-method/symfony-lib
tacticmedia/scim-server-bundle
neika-ai/symfony-bundle
mattleads/agent-publishing-bundle
glavweb/framework-bundle
glavweb/extra-bundle
glavweb/api-bundle
glavweb/admin-bundle