承接 symfony/models-dev 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

symfony/models-dev

Composer 安装命令:

composer require symfony/models-dev

包简介

Provides the models.dev data as a Composer package

README 文档

README

This repository provides a daily snapshot of the models.dev API as a Composer package. It makes the full catalog of AI model metadata (providers, models, pricing, context limits, modalities, …) available to any PHP project via a simple composer require.

How it works

A GitHub Actions workflow runs every day at 06:00 UTC:

  1. It fetches the latest data from https://models.dev/api.json.
  2. If the data has changed, it commits the updated models-dev.json file.
  3. It creates a GitHub Release with a new version tag and a changelog describing added/removed providers and models. The version follows semver: minor bumps for additions and metadata updates (v1.0v1.1), major bumps when models or providers are removed (v1.3v2.0).

Installation

Releases follow semver: minor versions add new models or providers, major versions indicate removals. Use the ^ constraint to automatically receive new models/providers while staying protected from removals:

composer require symfony/models-dev:^1.0

When a new major version is released, review the release notes to see what was removed before upgrading.

The models-dev.json file at the root of the package contains the full dataset.

Usage

This package can be used in conjunction with the Symfony AI Models.dev bridge, which provides a universal platform giving access to all AI providers available on models.dev with automatic capability discovery, pricing, and routing to specialized bridges. See the full documentation for details.

You can also use the JSON data directly:

$models = json_decode(
    file_get_contents(__DIR__.'/vendor/symfony/models-dev/models-dev.json'),
    true,
);

// List all providers
$providers = array_keys($models);

// Get all models for a given provider
$openaiModels = $models['openai']['models'];

symfony/models-dev 适用场景与选型建议

symfony/models-dev 是一款 基于 Python 开发的 Composer 扩展包,目前已累计 20.08k 次下载、GitHub Stars 达 15, 最近一次更新时间为 2026 年 03 月 01 日, 在 PHP 生态内属于活跃度较高的组件。

我们在过去多个企业项目中使用过 symfony/models-dev 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 symfony/models-dev 我们能提供哪些服务?
定制开发 / 二次开发

基于 symfony/models-dev 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 20.08k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 15
  • 点击次数: 8
  • 依赖项目数: 2
  • 推荐数: 0

GitHub 信息

  • Stars: 15
  • Watchers: 2
  • Forks: 1
  • 开发语言: Python

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-03-01