承接 happyr/annotation-warmer 相关项目开发

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

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

happyr/annotation-warmer

Composer 安装命令:

composer require happyr/annotation-warmer

包简介

Warms up your annotation cache

README 文档

README

Latest Version Software License Build Status Code Coverage Quality Score Total Downloads

When this bundle is installed and enabled it will make sure all your annotation metadata is cached when your container dependency container is built.

We also provide a command to validate that all annotations are properly loaded.

Install

composer require happyr/annotation-warmer

Use

We warm upp all classes in src by default. You may use a different configuration of paths if you like:

happyr_annotation_warmer:
    paths:
        - '%kernel.project_dir%/src/Message/Command'
        - '%kernel.project_dir%/src/Message/Event'

Linting annotations

To make sure your annotations are properly configured you may run the lint command:

bin/console lint:annotations

Assumptions

  • We assume that the classes in the specified paths are using PSR-4.
  • We also assume that all *.php files in the path has a class with the same as the filename.

Limitations

We are only warming cache for annotations to the Serializer and Validation component.

统计信息

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

GitHub 信息

  • Stars: 2
  • Watchers: 3
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-11-07

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固