承接 prestashop/header-stamp 相关项目开发

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

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

prestashop/header-stamp

Composer 安装命令:

composer require prestashop/header-stamp

包简介

Rewrite your file headers to add the license or to make them up-to-date

README 文档

README

PHP tests

Update the headers of the current folder. This tools extracts the command originally available in the PrestaShop Core.

Installation

This projet is downloadable via Composer, the PHP Package Manager. We recommend having it in the require-dev section of your dependancies as it is not needed on production environments.

composer require --dev prestashop/header-stamp

Usage

If installed via Composer, the application is available in its binaries folder

php vendor/bin/header-stamp

The default behavior is to apply the OSL license in every compatible file found in the current folder.

⚠️ Header Stamp will scan and process all your compatible files, including node_modules or vendor if you do not specify the target. Use --exclude to avoid modifying dependency files.

php vendor/bin/header-stamp --exclude=vendor,node_modules

Available options:

--license=LICENSE                                           License file to apply [default: "assets/osl3.txt"]
--target=PATH                                               Folder to work in [default: Current directory]
--exclude=EXCLUDE                                           Comma-separated list of folders and files to exclude from the update [default: ""]
--not-name=NOT_NAME                                         Comma-separated list of regex to exclude files from the update (ex: *.min.js) [default: ""]
--extensions=EXTENSIONS                                     Comma-separated list of file extensions to update [default: "php,js,ts,css,scss,tpl,html.twig,json,vue"]
--display-report                                            Whether or not to display a report
--dry-run                                                   Dry-run mode does not modify files
--header-discrimination-string=HEADER-DISCIMINATION-STRING  String used to identify a comment that contains a license header [default: "NOTICE OF LICENSE"]
--config=CONFIG                                             Path to config file that allows specifying all the above parameters [default: .header-stamp-config.yml]

Development

Install dependencies with composer. Two CI tools are configured for this project: php-cs-fixer and phpstan

composer install
php vendor/bin/php-cs-fixer fix --no-interaction --dry-run --diff
php vendor/bin/phpstan analyse --configuration=tests/phpstan/phpstan.neon

Before submitting changes to the projects, tests can be run with:

php tests/integration/runner/run.php

prestashop/header-stamp 适用场景与选型建议

prestashop/header-stamp 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 2.67M 次下载、GitHub Stars 达 7, 最近一次更新时间为 2019 年 11 月 05 日, 在 PHP 生态内属于活跃度较高的组件。

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

围绕 prestashop/header-stamp 我们能提供哪些服务?
定制开发 / 二次开发

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

BUG 修复 & 性能优化

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

项目外包 & 长期维护

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

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

统计信息

  • 总下载量: 2.67M
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 7
  • 点击次数: 27
  • 依赖项目数: 6
  • 推荐数: 2

GitHub 信息

  • Stars: 7
  • Watchers: 40
  • Forks: 10
  • 开发语言: PHP

其他信息

  • 授权协议: AFL-3.0
  • 更新时间: 2019-11-05