PHPackages                             james.xue/packet - 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. [Testing &amp; Quality](/categories/testing)
4. /
5. james.xue/packet

ActiveLibrary[Testing &amp; Quality](/categories/testing)

james.xue/packet
================

代码格式化、静态分析等

v1.0.2(1y ago)0121MITPHPPHP ^8.1 | ^8.2

Since Apr 30Pushed 1y ago1 watchersCompare

[ Source](https://github.com/xiaoxuan6/packet)[ Packagist](https://packagist.org/packages/james.xue/packet)[ Docs](https://github.com/xiaoxuan6/packet)[ RSS](/packages/jamesxue-packet/feed)WikiDiscussions main Synced today

READMEChangelog (5)Dependencies (8)Versions (14)Used By (1)

packet
======

[](#packet)

代码格式化、静态分析等

[![GitHub watchers](https://camo.githubusercontent.com/aa5bbfdd2695c1f99cca3f839cdddf0ecdbf5b31881a510ca797f090086293cb/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f77617463686572732f7869616f7875616e362f7061636b65743f7374796c653d666c6174)](https://camo.githubusercontent.com/aa5bbfdd2695c1f99cca3f839cdddf0ecdbf5b31881a510ca797f090086293cb/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f77617463686572732f7869616f7875616e362f7061636b65743f7374796c653d666c6174)[![GitHub forks](https://camo.githubusercontent.com/5614c3eb2093bdbc507655913f25831533aab37ef42755e74cb1fcbc861da49b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f7869616f7875616e362f7061636b65743f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/5614c3eb2093bdbc507655913f25831533aab37ef42755e74cb1fcbc861da49b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f7869616f7875616e362f7061636b65743f7374796c653d666c61742d737175617265)[![GitHub Repo stars](https://camo.githubusercontent.com/48c4f64a236d9b54ed8c3df9870626994a149ab23f6a04398ca5e282fa27a8a7/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f7869616f7875616e362f7061636b65743f7374796c653d666c6174)](https://camo.githubusercontent.com/48c4f64a236d9b54ed8c3df9870626994a149ab23f6a04398ca5e282fa27a8a7/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f7869616f7875616e362f7061636b65743f7374796c653d666c6174)[![GitHub Release](https://camo.githubusercontent.com/6491ab13a7e4199c16d2d4553833fafd7f8fc5e5b22c57b84e80780aaa00d882/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f7869616f7875616e362f7061636b6574)](https://camo.githubusercontent.com/6491ab13a7e4199c16d2d4553833fafd7f8fc5e5b22c57b84e80780aaa00d882/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f7869616f7875616e362f7061636b6574)[![GitHub Tag](https://camo.githubusercontent.com/0605d6ca2aac6cbaf3388c453bd7e3b4097cc2d2d6e9214e1a7f57a9b1dd7345/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f7461672f7869616f7875616e362f7061636b6574)](https://camo.githubusercontent.com/0605d6ca2aac6cbaf3388c453bd7e3b4097cc2d2d6e9214e1a7f57a9b1dd7345/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f7461672f7869616f7875616e362f7061636b6574)[![GitHub License](https://camo.githubusercontent.com/4ab2e87d125f37df93d1701a206b6856a8400fede898da0d78033f23cf877adb/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f7869616f7875616e362f7061636b6574)](https://camo.githubusercontent.com/4ab2e87d125f37df93d1701a206b6856a8400fede898da0d78033f23cf877adb/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f7869616f7875616e362f7061636b6574)

Install
=======

[](#install)

```
composer require --dev james.xue/packet
```

Usage
=====

[](#usage)

```
vendor/bin/packet
```

Commands
--------

[](#commands)

Add `composer` commands

```
fix         rector and pint.
rector      Instant Upgrade and Automated Refactoring of any PHP code.
pint        A tool to automatically fix PHP code style.
unused      Show unused packages by scanning your code.
normalize   Provides a composer plugin for normalizing composer.json.
```

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance44

Moderate activity, may be stable

Popularity5

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity61

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

Recently: every ~88 days

Total

13

Last Release

439d ago

Major Versions

v0.1.0 → v1.0.02025-04-20

PHP version history (3 changes)v0.0.1PHP ^8.1

v1.0.0PHP ^8.2

v1.0.2PHP ^8.1 | ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/2f8fdd2069c7594101452a5c802ae01209a31109d67a9299a67320752c30a1de?d=identicon)[xiaoxuan6](/maintainers/xiaoxuan6)

---

Top Contributors

[![xiaoxuan6](https://avatars.githubusercontent.com/u/32762220?v=4)](https://github.com/xiaoxuan6 "xiaoxuan6 (25 commits)")

---

Tags

composerstatic analysisfixerrectorunusedphp-parserPint

### Embed Badge

![Health badge](/badges/jamesxue-packet/health.svg)

```
[![Health](https://phpackages.com/badges/jamesxue-packet/health.svg)](https://phpackages.com/packages/jamesxue-packet)
```

###  Alternatives

[infection/infection

Infection is a Mutation Testing framework for PHP. The mutation adequacy score can be used to measure the effectiveness of a test set in terms of its ability to detect faults.

2.2k28.9M2.3k](/packages/infection-infection)[friendsofphp/php-cs-fixer

A tool to automatically fix PHP code style

13.5k251.2M25.1k](/packages/friendsofphp-php-cs-fixer)[ssch/typo3-rector

Instant fixes for your TYPO3 PHP code by using Rector.

2603.2M432](/packages/ssch-typo3-rector)[symfony/framework-bundle

Provides a tight integration between Symfony components and the Symfony full-stack framework

3.6k251.7M11.5k](/packages/symfony-framework-bundle)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k5.9M734](/packages/sylius-sylius)[craftcms/cms

Craft CMS

3.6k3.6M3.1k](/packages/craftcms-cms)

PHPackages © 2026

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