PHPackages                             aheenam/laravel-package-cli - 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. aheenam/laravel-package-cli

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

aheenam/laravel-package-cli
===========================

A small CLI to scaffold packages for Laravel framework

1.3.1(7y ago)301302[1 issues](https://github.com/Aheenam/laravel-package-cli/issues)MITPHPPHP ^7.0

Since Oct 31Pushed 7y ago1 watchersCompare

[ Source](https://github.com/Aheenam/laravel-package-cli)[ Packagist](https://packagist.org/packages/aheenam/laravel-package-cli)[ RSS](/packages/aheenam-laravel-package-cli/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (9)Dependencies (8)Versions (10)Used By (0)

Laravel Package CLI
===================

[](#laravel-package-cli)

This project delivers a simple set of Console Commands to generate a directory structure for laravel package development.

For example simply create the complete directory structure for a new package by calling `laravel-package generate vendor/package-name`

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

[](#installation)

Install this command as a global composer package

```
$ composer global require aheenam/laravel-package-cli
```

Usage
-----

[](#usage)

You can then create a new repository by calling the following command:

```
$ laravel-package generate vendor/package-name
```

This command will create a directory named `package-name` and will setup a basic setup for creating a Laravel package.

The directory structure will look like following:

```
├── database/
│   ├── .gitkeep
├── config/
│   ├── package-name.php
├── src/
│   ├── PackageNameServiceProvider.php
├── tests/
│   ├── TestCase.php
├── .gitignore
├── CHANGELOG.md
├── composer.json
├── LICENSE
├── phpunit.xml
├── README.md
```

All the files and classes will have set the correct names and namespaces, but remember that the generator is just creating a starting point. You should go through the files and add stuff that is missing.

### Pass a custom path

[](#pass-a-custom-path)

You can also pass an second argument specifying the path where the packages should be generated.

```
$ laravel-package generate vendor/package-name packages/aheenam/
```

Above example would generate the package at `./packages/aheenam/packages-name`. This can be handy if you want to use this generator within an existing Laravel project.

### The `--force` option

[](#the---force-option)

By default you will get an error notice if a directory with given package name already exists. You can ignore existing directories by using the `--force` flag:

```
$ laravel-package generate vendor/package-name --force
```

### Install composer dependecies

[](#install-composer-dependecies)

Using the `--install` flag, you can enforce that, after the generation of the package is done, the command changes into the new directory and runs `composer install` to install the dependecies.

### Generate a LICENSE

[](#generate-a-license)

You can pass an option to not only create an empty LICENSE file, but also populate it with the appropriate LICENSE content.

```
$ laravel-package generate vendor/package-name --license=MIT
```

Currently there are 3 LICENSE types implemented: `MIT`, `Apache 2.0` and `GNU GPL v3`. Just pass the names and you should get your LICENSE generated.

Changelog
---------

[](#changelog)

Check [CHANGELOG](CHANGELOG.md) for the changelog

Testing
-------

[](#testing)

To run tests use

```
$ composer test
```

If you are working on a windows machine use

```
vendor\bin\phpunit
```

Contributing
------------

[](#contributing)

*Information will follow soon*

Security
--------

[](#security)

If you discover any security related issues, please email  or use the issue tracker of GitHub.

About
-----

[](#about)

Aheenam is a small company from NRW, Germany creating custom digital solutions. Visit [our website](https://aheenam.com) to find out more about us.

License
-------

[](#license)

The MIT License (MIT). Please see [License File](https://github.com/Aheenam/laravel-translatable/blob/master/LICENSE)for more information.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity64

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

Recently: every ~62 days

Total

9

Last Release

2808d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/807099f1005fca40373fe17c44b318b5574b58f851c9eb747aa2112283cc9f81?d=identicon)[rathesDot](/maintainers/rathesDot)

---

Top Contributors

[![rathesDot](https://avatars.githubusercontent.com/u/6367520?v=4)](https://github.com/rathesDot "rathesDot (43 commits)")

---

Tags

composerlaravelphp

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/aheenam-laravel-package-cli/health.svg)

```
[![Health](https://phpackages.com/badges/aheenam-laravel-package-cli/health.svg)](https://phpackages.com/packages/aheenam-laravel-package-cli)
```

###  Alternatives

[laravel/framework

The Laravel Framework.

34.6k509.9M17.0k](/packages/laravel-framework)[laravel/vapor-cli

The Laravel Vapor CLI

31310.7M8](/packages/laravel-vapor-cli)[humbug/php-scoper

Prefixes all PHP namespaces in a file or directory.

7963.0M35](/packages/humbug-php-scoper)[humbug/box

Fast, zero config application bundler with PHARs.

1.3k801.5k69](/packages/humbug-box)[laravel-zero/framework

The Laravel Zero Framework.

3371.4M369](/packages/laravel-zero-framework)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)

PHPackages © 2026

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