PHPackages                             stolt/composer-travis-lint - 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. [Validation &amp; Sanitization](/categories/validation)
4. /
5. stolt/composer-travis-lint

ActiveLibrary[Validation &amp; Sanitization](/categories/validation)

stolt/composer-travis-lint
==========================

Composer script to lint a Travis CI configuration file.

v1.0.2(9y ago)613.9k3[1 issues](https://github.com/raphaelstolt/composer-travis-lint/issues)MITPHPPHP &gt;=5.6

Since Oct 9Pushed 8y ago2 watchersCompare

[ Source](https://github.com/raphaelstolt/composer-travis-lint)[ Packagist](https://packagist.org/packages/stolt/composer-travis-lint)[ Docs](https://github.com/raphaelstolt/composer-travis-lint)[ RSS](/packages/stolt-composer-travis-lint/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (4)Versions (4)Used By (0)

composer-travis-lint
====================

[](#composer-travis-lint)

[![Build Status](https://camo.githubusercontent.com/b906a52877aa1f57cdf3728b9cabb97d6a26728f63863fabac08a6c8186e424f/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f7261706861656c73746f6c742f636f6d706f7365722d7472617669732d6c696e742e706e67)](http://travis-ci.org/raphaelstolt/composer-travis-lint)[![Version](https://camo.githubusercontent.com/c5d888b74b91748dd70cef807dc1d83fdf453d6bbb2cedba58a36352401db1ce/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73746f6c742f636f6d706f7365722d7472617669732d6c696e742e7376673f7374796c653d666c6174)](https://packagist.org/packages/stolt/composer-travis-lint)[![PHP Version](https://camo.githubusercontent.com/5b8943f22d9efc5f05272c599e464e38729d9fb8bf20bf01f3da0eac43c33355/687474703a2f2f696d672e736869656c64732e696f2f62616467652f7068702d352e362b2d6666363962342e737667)](https://camo.githubusercontent.com/5b8943f22d9efc5f05272c599e464e38729d9fb8bf20bf01f3da0eac43c33355/687474703a2f2f696d672e736869656c64732e696f2f62616467652f7068702d352e362b2d6666363962342e737667)[![composer.lock available](https://camo.githubusercontent.com/1226511c4e8aa77c8db79f1df4b5305c2763fec2513b80101a89f9110773b776/68747470733a2f2f706f7365722e707567782e6f72672f73746f6c742f636f6d706f7365722d7472617669732d6c696e742f636f6d706f7365726c6f636b)](https://packagist.org/packages/stolt/composer-travis-lint)

`composer-travis-lint` is a Composer script that `lints` a project/micro-package its [Travis CI](https://travis-ci.org/) configuration aka its `.travis.yml` file.

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

[](#installation)

The Composer script should be installed as a development dependency through Composer.

```
composer require --dev stolt/composer-travis-lint
```

Usage
-----

[](#usage)

Once installed add the Composer script to the existing `composer.json` and use it afterwards via `composer travis-lint`.

```
{
    "scripts": {
        "travis-lint": "Stolt\\Composer\\Travis::lint"
    },
}
```

On a first lint run the Composer script will create a cache file called `.ctl.cache` to avoid making unnecessary lint requests against the [Travis CI API](https://docs.travis-ci.com/api#linting). This file should *prolly* not be `.gitignored` but **defo** be kept out of releases and therefore end up in the `.gitattributes` file.

New `lint` requests will only be made when the Travis CI configuration file changes.

#### Running tests without integration tests

[](#running-tests-without-integration-tests)

```
composer ctl:test
```

#### Running all tests

[](#running-all-tests)

```
composer ctl:test-all
```

#### License

[](#license)

This Composer script is licensed under the MIT license. Please see [LICENSE](LICENSE.md) for more details.

#### Changelog

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more details.

#### Contributing

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for more details.

###  Health Score

32

—

LowBetter than 71% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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 ~9 days

Total

3

Last Release

3480d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/132faf5713fa951f4263fad02858a62e55c5d832ad775b33e49ba0cda2f2a028?d=identicon)[Raphael Stolt](/maintainers/Raphael%20Stolt)

---

Top Contributors

[![raphaelstolt](https://avatars.githubusercontent.com/u/48225?v=4)](https://github.com/raphaelstolt "raphaelstolt (23 commits)")

---

Tags

composer-scriptslinterrepository-utilitiestravis-citravis-ci-configurationvalidationlintcomposer-scripttravis ci

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/stolt-composer-travis-lint/health.svg)

```
[![Health](https://phpackages.com/badges/stolt-composer-travis-lint/health.svg)](https://phpackages.com/packages/stolt-composer-travis-lint)
```

###  Alternatives

[composer/semver

Version comparison library that offers utilities, version constraint parsing and validation.

3.3k489.6M671](/packages/composer-semver)[giggsey/libphonenumber-for-php

A library for parsing, formatting, storing and validating international phone numbers, a PHP Port of Google's libphonenumber.

5.0k148.7M414](/packages/giggsey-libphonenumber-for-php)[respect/validation

The most awesome validation engine ever created for PHP

5.9k37.4M381](/packages/respect-validation)[propaganistas/laravel-phone

Adds phone number functionality to Laravel based on Google's libphonenumber API.

3.0k35.7M106](/packages/propaganistas-laravel-phone)[opis/json-schema

Json Schema Validator for PHP

64236.9M185](/packages/opis-json-schema)[giggsey/libphonenumber-for-php-lite

A lite version of giggsey/libphonenumber-for-php, which is a PHP Port of Google's libphonenumber

8412.9M47](/packages/giggsey-libphonenumber-for-php-lite)

PHPackages © 2026

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