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

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

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

symfony/models-dev

最新稳定版本:v50.0

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'];

统计信息

  • 总下载量: 7.62k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 13
  • 点击次数: 3
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

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

其他信息

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

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固