PHPackages                             rockylars/package-files - 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. rockylars/package-files

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

rockylars/package-files
=======================

Simple test call to tell you what will go in a package

1.1.0(2y ago)016.4k[1 issues](https://github.com/Rockylars/PackageFiles/issues)[1 PRs](https://github.com/Rockylars/PackageFiles/pulls)1MITPHPPHP &gt;=8.0CI passing

Since Feb 6Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/Rockylars/PackageFiles)[ Packagist](https://packagist.org/packages/rockylars/package-files)[ RSS](/packages/rockylars-package-files/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (14)Versions (10)Used By (1)

### Introduction

[](#introduction)

This little script can be used to quickly see what will be included when you turn your project into a Composer package and release a new version. Only in PHP, as I only work in that, but it's so small that you're free to replicate it.

### History

[](#history)

This was designed when making [Faker](https://github.com/Rockylars/Faker) an open source package, as I didn't see anyone make this before. It's simple and quite handy, just tells you what will go in, though only cares about top level searches at the moment.

### Usage

[](#usage)

Simply call this from your a test you put down in your Unit tests folder, or just the tests folder if you only got that.

### Future

[](#future)

I plan to upgrade this to eventually do all the magical and recursive depth searches, but that's usually far out of scope for my projects anyways.

### Examples

[](#examples)

```
self::assertSame(
    [
        'LICENSE',
        'README.md',
        'composer.json',
        'src'
    ],
    PackageParser::simplePackageSearch(__DIR__ . 'path to the root')
);
```

### Set up the project for commits on Linux

[](#set-up-the-project-for-commits-on-linux)

1. Have Docker functional, you don't need an account for this.
2. Have a GitHub account (obviously) for commits.
3. Get an SSH token set up (preferably id\_ed25519) and hooked up to your GitHub account.
    - If not, you won't be able to pull/push anything properly.
4. Get the project downloaded and `cd` into the folder.
    - If you plan to make any PR's and don't have rights, make a fork first, grab that, and then attempt to merge PR's of that in.
5. Make sure that running `git config --global --list` and `git config --list` both show `user.email=YOUR_GITHUB_EMAIL`and `user.name=YOUR_GITHUB_USER_NAME`.
    - If not, here's the steps to fix it:
    - Set the value for the project and unset the one for local, otherwise set it for local only.
    - Your commits won't link to an account if this is not done.
6. Make sure that running `groups` shows `docker` in it.
    - If not, here's the steps to fix it:
    - run `sudo usermod -aG docker $USER` and then reboot your PC.
    - You won't be able to run the needed Docker commands if this is not done.
7. Make sure that running `ls -la ~/.composer` shows your user instead of `root` for `.`.
    - If not, here's the steps to fix it:
    - Run `sudo chown -R $USER:$USER ~/.composer`.
    - You won't be able to store library authentication and Composer cache if this is not done.
8. Have the `make` extension installed.
9. Run `make setup` and you're done.

\[Optional\] Get access to private repositories you have access to on GitHub:

10. Generate an access token in GitHub with just the Repo permissions.
11. Run `make composer` and add `config --global github-oauth.github.com YOUR_GENERATED_TOKEN`.

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance60

Regular maintenance activity

Popularity23

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 58.1% 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 ~44 days

Total

3

Last Release

743d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0b9d15511c1101a677b57fe76ccb6e4c449d49506767296458871e051b7201d2?d=identicon)[Rockylars](/maintainers/Rockylars)

---

Top Contributors

[![Rockylars](https://avatars.githubusercontent.com/u/21218585?v=4)](https://github.com/Rockylars "Rockylars (50 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (36 commits)")

---

Tags

composercomposer-packagepackagephptests

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/rockylars-package-files/health.svg)

```
[![Health](https://phpackages.com/badges/rockylars-package-files/health.svg)](https://phpackages.com/packages/rockylars-package-files)
```

###  Alternatives

[grumpydictator/firefly-iii

Firefly III: a personal finances manager.

22.8k69.3k](/packages/grumpydictator-firefly-iii)[laragraph/utils

Utilities for using GraphQL with Laravel

2113.8M7](/packages/laragraph-utils)[thenextweb/passgenerator

A Laravel package to create Apple Wallet (old Passbook) compatible tickets.

297435.6k](/packages/thenextweb-passgenerator)[firefly-iii/data-importer

Firefly III Data Import Tool.

7545.8k](/packages/firefly-iii-data-importer)[wyrihaximus/html-compress

Compress/minify your HTML

841.6M31](/packages/wyrihaximus-html-compress)[keepsuit/laravel-temporal

Laravel temporal.io

4875.0k](/packages/keepsuit-laravel-temporal)

PHPackages © 2026

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