francoisvaillant/wordpress-api-bundle 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

francoisvaillant/wordpress-api-bundle

最新稳定版本:v1.0

Composer 安装命令:

composer require francoisvaillant/wordpress-api-bundle

包简介

README 文档

README

Documentation soon

Development and Composer usage

WordpressApiBundle — Development and Composer usage

When developing this bundle inside a Symfony application (using a path repository), you generally do NOT run composer install inside the bundle directory. Instead, manage all dependencies from the application root.

Why?

  • The app’s root composer.json already declares this bundle as a path repository:
    • It installs the bundle in development via symlink and resolves dependencies once at the app level.
  • Running composer install inside the bundle would create a nested vendor directory and duplicate/autoload conflicts.

Recommended workflows

  1. Developing the bundle inside a host app (path repository)
  • Use the root composer.json only:
    • Add/update dependencies with: composer require ... (from the app root)
    • Install/update: composer install / composer update (from the app root)
  • Do not run composer in bundles/WordpressApiBundle.
  1. Developing the bundle standalone (outside an app)
  • If you check out this bundle into its own repository and work on it alone, then run composer install in the bundle directory to get the bundle’s dev tools and its minimal dependencies.

Housekeeping

  • The bundle’s .gitignore ignores its own vendor directory and composer.lock to avoid committing nested dependencies when used inside an application.

FAQ

  • Q: Do I need to composer install inside the bundle?
    • A: No, not when the bundle is developed inside an application via a path repository. Yes, only if you work on the bundle as a standalone package outside any host app.

统计信息

  • 总下载量: 32
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-10-17