{"id":19756820,"url":"https://github.com/imiphp/imi-laravel-database","last_synced_at":"2026-01-24T09:32:20.241Z","repository":{"id":56990367,"uuid":"427262766","full_name":"imiphp/imi-laravel-database","owner":"imiphp","description":"实现在 imi 框架中使用 Laravel 的 illuminate/database，可以在 imi-swoole、imi-fpm、imi-workerman、imi-roadrunner 下运行。","archived":false,"fork":false,"pushed_at":"2023-06-16T06:00:14.000Z","size":29,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-30T12:06:52.090Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/imiphp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2021-11-12T06:58:46.000Z","updated_at":"2024-12-16T03:21:03.000Z","dependencies_parsed_at":"2022-08-21T13:50:19.367Z","dependency_job_id":null,"html_url":"https://github.com/imiphp/imi-laravel-database","commit_stats":{"total_commits":18,"total_committers":1,"mean_commits":18.0,"dds":0.0,"last_synced_commit":"ee3e807517afe196d673aabeddd98b5545854d6f"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/imiphp/imi-laravel-database","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imiphp%2Fimi-laravel-database","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imiphp%2Fimi-laravel-database/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imiphp%2Fimi-laravel-database/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imiphp%2Fimi-laravel-database/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/imiphp","download_url":"https://codeload.github.com/imiphp/imi-laravel-database/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imiphp%2Fimi-laravel-database/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28723234,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-24T08:27:05.734Z","status":"ssl_error","status_checked_at":"2026-01-24T08:27:01.197Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-12T03:17:05.951Z","updated_at":"2026-01-24T09:32:20.225Z","avatar_url":"https://github.com/imiphp.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# imi-laravel-database\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://www.imiphp.com\" target=\"_blank\"\u003e\n        \u003cimg src=\"https://cdn.jsdelivr.net/gh/imiphp/imi@2.0/res/logo.png\" alt=\"imi\" /\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\n[![Latest Version](https://img.shields.io/packagist/v/imiphp/imi-laravel-database.svg)](https://packagist.org/packages/imiphp/imi-laravel-database)\n![GitHub Workflow Status (branch)](https://img.shields.io/github/workflow/status/imiphp/imi-laravel-database/ci/dev)\n[![Php Version](https://img.shields.io/badge/php-%3E=7.4-brightgreen.svg)](https://secure.php.net/)\n[![Swoole Version](https://img.shields.io/badge/swoole-%3E=4.7.0-brightgreen.svg)](https://github.com/swoole/swoole-src)\n[![imi Doc](https://img.shields.io/badge/docs-passing-green.svg)](https://doc.imiphp.com/v2.0/)\n[![imi License](https://img.shields.io/badge/license-MulanPSL%201.0-brightgreen.svg)](https://github.com/imiphp/imi-laravel-database/blob/master/LICENSE)\n[![star](https://gitee.com/yurunsoft/IMI/badge/star.svg?theme=gvp)](https://gitee.com/yurunsoft/IMI/stargazers)\n\n## 介绍\n\n实现在 imi 框架中使用 Laravel 的 `illuminate/database`，可以在 `imi-swoole`、`imi-fpm`、`imi-workerman`、`imi-roadrunner` 下运行。\n\n## 开始使用\n\n**引入组件：**`composer require imiphp/imi-laravel-database`\n\n**使用：**\n\n配置好 imi 的数据库连接池，目前只支持 pdo_mysql。\n\n支持 database、orm 功能。\n\n命令行功能等其它功能暂未实现，逐步开发完善中。\n\n* [imi 完全开发手册](https://doc.imiphp.com/v2.0/)\n* [Laravel 中文文档](https://learnku.com/docs/laravel/8.5/database/10403#2b27b3)\n\n## 运行环境\n\n* Linux 系统 (Swoole 不支持在 Windows 上运行)\n* [PHP](https://php.net/) \u003e= 7.4\n* [Composer](https://getcomposer.org/) \u003e= 2.0\n* [Swoole](https://www.swoole.com/) \u003e= 4.7.0\n* PDO 扩展\n\n## 捐赠\n\n![捐赠](https://cdn.jsdelivr.net/gh/imiphp/imi@2.0/res/pay.png)\n\n开源不求盈利，多少都是心意，生活不易，随缘随缘……\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimiphp%2Fimi-laravel-database","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimiphp%2Fimi-laravel-database","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimiphp%2Fimi-laravel-database/lists"}