PHPackages                             ketwaroo/package-info - 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. ketwaroo/package-info

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

ketwaroo/package-info
=====================

Sort of a reflection tool for composer packages.

07PHP

Since Oct 4Pushed 2y ago1 watchersCompare

[ Source](https://github.com/ketwaroo/package-info)[ Packagist](https://packagist.org/packages/ketwaroo/package-info)[ RSS](/packages/ketwaroo-package-info/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (0)

ketwaroo/package-info
=====================

[](#ketwaroopackage-info)

This is sort of a reflection tool for the composer package we're working in.

Most common usage would be if you need to determine the base path of your package. Or if you have a project that spans multiple sub packages.

Usage. Of sorts.
================

[](#usage-of-sorts)

```
namespace Vendor/Package;

use Ketwaroo/PackageInfo

class SomeClass{

    public function readStaticCsvData(){

        // say you need to read some data located in /vendor/package/data/mydata.csv;
        // instead of mucking about with relative paths,

        $root = PackageInfo::whereAmI($this);

        $csv = file($root.'/data/mydata.csv');

        // ..etc

    }
}
```

TODO.
=====

[](#todo)

unit tests. maybe. figure out what else this could be useful for.

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/86228d9dc33524ebf7428cec42f83de3eee352ed90a37c428f65343d4a8a21a8?d=identicon)[ketwaroo](/maintainers/ketwaroo)

---

Top Contributors

[![ketwaroo](https://avatars.githubusercontent.com/u/608793?v=4)](https://github.com/ketwaroo "ketwaroo (10 commits)")

### Embed Badge

![Health badge](/badges/ketwaroo-package-info/health.svg)

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

###  Alternatives

[davmixcool/laravel-meta-manager

Laravel Meta Manager is an SEO tool that is used to improve SEO of a website or specific page by adding recommended meta tags to your application.

15042.9k1](/packages/davmixcool-laravel-meta-manager)[volcengine/volc-sdk-php

Volcengine SDK for PHP

35129.1k5](/packages/volcengine-volc-sdk-php)[canducci/cep

CEP do Brasil Web Service ViaCep (https://viacep.com.br)

20266.6k](/packages/canducci-cep)[jurchiks/numbers2words

It spells numbers (and currencies)!

20185.6k3](/packages/jurchiks-numbers2words)[carthage-software/cel-php

A PHP Common Expression Language Implementation

653.8k](/packages/carthage-software-cel-php)

PHPackages © 2026

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