scrawler/database
最新稳定版本:v2.1.0
Composer 安装命令:
composer require scrawler/database
包简介
Arca ORM integration bridge for scrawler framework
README 文档
README
Scrawler Database
🔥Wrapper around Arca ORM to be integrated with scrawler framework 🔥
🇮🇳 Made in India 🇮🇳
💻 Installation
You can install Scrawler App via Composer. If you don't have composer installed , you can download composer from here
composer require scrawler/database
✨ Basic usage
Repo of Arca Orm: https://github.com/scrawler-labs/arca-orm
<?php require __DIR__ . '/vendor/autoload.php'; $connectionParams = array( 'dbname' => 'YOUR_DB_NAME', 'user' => 'YOUR_DB_USER', 'password' => 'YOUR_DB_PASSWORD', 'host' => 'YOUR_DB_HOST', 'driver' => 'pdo_mysql', //You can use other supported driver this is the most basic mysql driver ); db()->connect($connectionParams); $user = db()->create('user'); $user->name = 'test user'; $user->age = 12; $user->save();
统计信息
- 总下载量: 200
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 3
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-09-26