{"repo":"TanDuy03/cloudflare-d1-database","free":true,"listed":false,"github":"https://github.com/TanDuy03/cloudflare-d1-database","clone":"git clone https://github.com/TanDuy03/cloudflare-d1-database.git","description":"Laravel database driver for Cloudflare D1 - supports REST & Worker, Eloquent-ready - TanDuy03","language":"PHP","stars":28,"topics":["laravel","cloudflare-d1","database","d1","d1-database","database-driver","eloquent","php","workers","laravel-package"],"license":"MIT","category":"databases-storage","readme_excerpt":"Cloudflare D1 Database Driver for Laravel Use Cloudflare D1 as a native Laravel database driver — full Eloquent ORM, Query Builder, and Migration support. 🎯 Requirements - PHP : = 8.2 - Laravel : 10.x, 11.x, 12.x, or 13.x ✨ Features - Full Laravel Integration — Eloquent ORM, Query Builder, Migrations, Seeding - Two Connection Drivers — REST API (zero infrastructure) or Worker (low latency) - Batch Queries — Execute multiple statements in a single HTTP round-trip - Bulk Insert — Insert hundreds of rows efficiently via D1 batch execution - Sessions / Read Replication — Leverage D1 global read replicas for lower-latency reads (Worker driver) - Auto Read/Write Splitting — Automatic routing of SELECTs to replicas and writes to primary (Worker driver) - Import — Import SQL files into D1 via php artisan d1:import - Schema Dump — Export your D1 database via php artisan d1:schema-dump - Time Travel — Point-in-time recovery via php artisan d1:time-travel - Database Info — Inspect your D1 database with php artisan d1:info - Circuit Breaker — Fail fast on sustained outages instead of blocking on retries - Automatic Retries — Exponential backoff with jitter for 5xx/429 errors - Query Logging — Optional callback for monitoring and debugging - Health Check — Built-in php artisan d1:health to verify connection and measure latency 🚀 Installation 👏 Usage Step 1: Publish Configuration This creates config/d1-database.php with all available options. Step 2: Choose a Driver This package support","default_branch":null,"files":null,"tree":[],"storefront":"/r/TanDuy03","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/TanDuy03/cloudflare-d1-database/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."}