https://github.com/imiphp/imi-laravel-database
实现在 imi 框架中使用 Laravel 的 illuminate/database,可以在 imi-swoole、imi-fpm、imi-workerman、imi-roadrunner 下运行。
https://github.com/imiphp/imi-laravel-database
Last synced: 4 months ago
JSON representation
实现在 imi 框架中使用 Laravel 的 illuminate/database,可以在 imi-swoole、imi-fpm、imi-workerman、imi-roadrunner 下运行。
- Host: GitHub
- URL: https://github.com/imiphp/imi-laravel-database
- Owner: imiphp
- License: other
- Created: 2021-11-12T06:58:46.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-06-16T06:00:14.000Z (almost 3 years ago)
- Last Synced: 2025-06-30T12:06:52.090Z (11 months ago)
- Language: PHP
- Homepage:
- Size: 28.3 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# imi-laravel-database
[](https://packagist.org/packages/imiphp/imi-laravel-database)

[](https://secure.php.net/)
[](https://github.com/swoole/swoole-src)
[](https://doc.imiphp.com/v2.0/)
[](https://github.com/imiphp/imi-laravel-database/blob/master/LICENSE)
[](https://gitee.com/yurunsoft/IMI/stargazers)
## 介绍
实现在 imi 框架中使用 Laravel 的 `illuminate/database`,可以在 `imi-swoole`、`imi-fpm`、`imi-workerman`、`imi-roadrunner` 下运行。
## 开始使用
**引入组件:**`composer require imiphp/imi-laravel-database`
**使用:**
配置好 imi 的数据库连接池,目前只支持 pdo_mysql。
支持 database、orm 功能。
命令行功能等其它功能暂未实现,逐步开发完善中。
* [imi 完全开发手册](https://doc.imiphp.com/v2.0/)
* [Laravel 中文文档](https://learnku.com/docs/laravel/8.5/database/10403#2b27b3)
## 运行环境
* Linux 系统 (Swoole 不支持在 Windows 上运行)
* [PHP](https://php.net/) >= 7.4
* [Composer](https://getcomposer.org/) >= 2.0
* [Swoole](https://www.swoole.com/) >= 4.7.0
* PDO 扩展
## 捐赠

开源不求盈利,多少都是心意,生活不易,随缘随缘……