PHPackages                             prestashop/header-stamp - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. prestashop/header-stamp

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

prestashop/header-stamp
=======================

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

v3.1.0(3mo ago)62.2M↑28.2%11[3 issues](https://github.com/PrestaShopCorp/header-stamp/issues)[1 PRs](https://github.com/PrestaShopCorp/header-stamp/pulls)6AFL-3.0PHPPHP ^8.0 || ^7.2CI passing

Since Nov 4Pushed 3mo ago41 watchersCompare

[ Source](https://github.com/PrestaShopCorp/header-stamp)[ Packagist](https://packagist.org/packages/prestashop/header-stamp)[ Docs](https://github.com/PrestaShopCorp/header-stamp)[ RSS](/packages/prestashop-header-stamp/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (7)Versions (20)Used By (6)

Header Stamp
============

[](#header-stamp)

[![PHP tests](https://github.com/PrestaShopCorp/header-stamp/workflows/PHP%20tests/badge.svg)](https://github.com/PrestaShopCorp/header-stamp/workflows/PHP%20tests/badge.svg)

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

Installation
------------

[](#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
-----

[](#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
-----------

[](#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

```

###  Health Score

59

—

FairBetter than 99% of packages

Maintenance72

Regular maintenance activity

Popularity50

Moderate usage in the ecosystem

Community32

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~135 days

Recently: every ~94 days

Total

18

Last Release

91d ago

Major Versions

v1.7 → v2.02021-04-16

v2.6 → v3.0.02026-02-13

PHP version history (3 changes)v1.0PHP &gt;=5.6

v2.0PHP &gt;=7.2.5

v2.2PHP ^8.0 || ^7.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/15106407?v=4)[Jarvis](/maintainers/ps-jarvis)[@ps-jarvis](https://github.com/ps-jarvis)

---

Top Contributors

[![Quetzacoalt91](https://avatars.githubusercontent.com/u/6768917?v=4)](https://github.com/Quetzacoalt91 "Quetzacoalt91 (64 commits)")[![jolelievre](https://avatars.githubusercontent.com/u/13801017?v=4)](https://github.com/jolelievre "jolelievre (21 commits)")[![matks](https://avatars.githubusercontent.com/u/3830050?v=4)](https://github.com/matks "matks (21 commits)")[![PierreRambaud](https://avatars.githubusercontent.com/u/1462701?v=4)](https://github.com/PierreRambaud "PierreRambaud (13 commits)")[![ga-devfront](https://avatars.githubusercontent.com/u/52718717?v=4)](https://github.com/ga-devfront "ga-devfront (9 commits)")[![SebSept](https://avatars.githubusercontent.com/u/2592502?v=4)](https://github.com/SebSept "SebSept (5 commits)")[![matthieu-rolland](https://avatars.githubusercontent.com/u/1784781?v=4)](https://github.com/matthieu-rolland "matthieu-rolland (4 commits)")[![zalexki](https://avatars.githubusercontent.com/u/3863527?v=4)](https://github.com/zalexki "zalexki (3 commits)")[![mikeartix](https://avatars.githubusercontent.com/u/81088215?v=4)](https://github.com/mikeartix "mikeartix (3 commits)")[![Progi1984](https://avatars.githubusercontent.com/u/1533248?v=4)](https://github.com/Progi1984 "Progi1984 (1 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/prestashop-header-stamp/health.svg)

```
[![Health](https://phpackages.com/badges/prestashop-header-stamp/health.svg)](https://phpackages.com/packages/prestashop-header-stamp)
```

###  Alternatives

[symfony/maker-bundle

Symfony Maker helps you create empty commands, controllers, form classes, tests and more so you can forget about writing boilerplate code.

3.4k111.1M568](/packages/symfony-maker-bundle)[coenjacobs/mozart

Composes all dependencies as a package inside a WordPress plugin

4723.6M20](/packages/coenjacobs-mozart)[silverstripe/framework

The SilverStripe framework

7213.5M2.5k](/packages/silverstripe-framework)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[friendsoftypo3/content-blocks

TYPO3 CMS Content Blocks - Content Types API | Define reusable components via YAML

96374.6k23](/packages/friendsoftypo3-content-blocks)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
