Download the PHP package ntanduy/cloudflare-d1-database without Composer
On this page you can find all versions of the php package ntanduy/cloudflare-d1-database. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ntanduy/cloudflare-d1-database
More information about ntanduy/cloudflare-d1-database
Files in ntanduy/cloudflare-d1-database
Package cloudflare-d1-database
Short Description Easy configuration and setup for D1 Database connections in Laravel.
License MIT
Homepage https://github.com/TanDuy03/cloudflare-d1-database
Informations about the package cloudflare-d1-database
D1 - Cloudflare bindings for Laravel
Integrate Cloudflare bindings into your PHP/Laravel application.
This package offers support for:
- [x] Cloudflare D1
🚀 Installation
👏 Usage
Integrate Cloudflare D1 with Laravel
Add a new connection in your config/database.php
file:
Next, configure your Cloudflare credentials in the .env
file:
The d1
driver will forward PDO queries to the Cloudflare D1 API to execute them.
🌱 Testing
Start the built-in Worker to simulate the Cloudflare API:
In a separate terminal, run the tests:
🤝 Contributing
Please see CONTRIBUTING for details.
🔒 Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
🎉 Credits
- TanDuy03
- All Contributors
All versions of cloudflare-d1-database with dependencies
doctrine/dbal Version ^3.0|^4.0
illuminate/cache Version *
illuminate/contracts Version *
illuminate/database Version *
illuminate/http Version *
saloonphp/laravel-http-sender Version ^2.0|^3.0
saloonphp/laravel-plugin Version ^3.5
saloonphp/saloon Version ^3.10