PHPackages                             pack-php/pack - 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. [CLI &amp; Console](/categories/cli)
4. /
5. pack-php/pack

ActiveLibrary[CLI &amp; Console](/categories/cli)

pack-php/pack
=============

A Laravel Artisan command to search, preview, and install PHP packages from Packagist.

1.0.0(1y ago)013MITPHP

Since Feb 3Pushed 1y agoCompare

[ Source](https://github.com/pack-php/pack)[ Packagist](https://packagist.org/packages/pack-php/pack)[ RSS](/packages/pack-php-pack/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

Laravel Packagist Explorer
==========================

[](#laravel-packagist-explorer)

A Laravel Artisan command to search, preview, and install PHP packages from Packagist.

🚀 Features
----------

[](#-features)

- Search for PHP packages directly from your terminal.
- Preview package details before installing.
- Open the package page in your browser.
- Install selected packages with Composer.

📦 Installation
--------------

[](#-installation)

You can install the package via Composer:

```
composer require pack-php/pack
```

⚡ Usage
-------

[](#-usage)

### **Search and Install a Package**

[](#search-and-install-a-package)

Run the following command:

```
php artisan pack:install
```

1. **Enter a package name**: The command will ask you to enter a package name.
2. **Browse results**: A list of matching packages from Packagist will be displayed.
3. **Select a package**: Use arrow keys or enter the number to choose a package.
4. **Open the package page** *(Optional)*: You can open the package's Packagist URL in your browser.
5. **Confirm installation**: The command will ask if you want to install the package.
6. **Installation starts**: If confirmed, Composer will install the package.

### **Example Usage:**

[](#example-usage)

```
php artisan pack:install
```

```
What is your package name? laravel-uuid
1. ramsey/uuid
   A PHP library for generating and working with universally unique identifiers (UUIDs).
2. spatie/laravel-uuid
   A simple Laravel package for handling UUIDs.
Show more results? (yes/no) no
Select a package: spatie/laravel-uuid - A simple Laravel package for handling UUIDs.
You selected: spatie/laravel-uuid
Do you want to open https://packagist.org/packages/spatie/laravel-uuid? (yes/no) yes
Opening URL...
Do you want to install spatie/laravel-uuid? (yes/no) yes
Installing spatie/laravel-uuid...
Package spatie/laravel-uuid installed successfully.

```

🧪 Testing
---------

[](#-testing)

You can run tests using PHPUnit:

```
vendor/bin/phpunit
```

📝 License
---------

[](#-license)

This package is open-source and available under the [MIT License](LICENSE).

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance42

Moderate activity, may be stable

Popularity5

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 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

Unknown

Total

1

Last Release

469d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9e2e845e4fa14f5692f4d65680353de4d355658b749c70aa6823c567935437cf?d=identicon)[Kamal-Abouzayed](/maintainers/Kamal-Abouzayed)

---

Top Contributors

[![Kamal-Abouzayed](https://avatars.githubusercontent.com/u/62436884?v=4)](https://github.com/Kamal-Abouzayed "Kamal-Abouzayed (4 commits)")

### Embed Badge

![Health badge](/badges/pack-php-pack/health.svg)

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

###  Alternatives

[wp-cli/wp-cli

WP-CLI framework

5.1k17.2M320](/packages/wp-cli-wp-cli)[consolidation/annotated-command

Initialize Symfony Console commands from annotated command class methods.

22569.8M19](/packages/consolidation-annotated-command)[seld/cli-prompt

Allows you to prompt for user input on the command line, and optionally hide the characters they type

24725.8M17](/packages/seld-cli-prompt)[illuminate/console

The Illuminate Console package.

12944.1M5.1k](/packages/illuminate-console)[php-tui/php-tui

Comprehensive TUI library heavily influenced by Ratatui

589747.0k6](/packages/php-tui-php-tui)[codedungeon/php-cli-colors

Liven up you PHP Console Apps with standard colors

10210.1M26](/packages/codedungeon-php-cli-colors)

PHPackages © 2026

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