PHPackages                             sebastienheyd/boilerplate-packager - 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. sebastienheyd/boilerplate-packager

ActiveLibrary

sebastienheyd/boilerplate-packager
==================================

Generate and manage packages for sebastienheyd/boilerplate

1.6.0(1y ago)14411MITPHPPHP &gt;=8.1

Since Sep 11Pushed 1y ago1 watchersCompare

[ Source](https://github.com/sebastienheyd/boilerplate-packager)[ Packagist](https://packagist.org/packages/sebastienheyd/boilerplate-packager)[ Docs](https://github.com/sebastienheyd/boilerplate-packager)[ RSS](/packages/sebastienheyd-boilerplate-packager/feed)WikiDiscussions master Synced yesterday

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

Package manager for [sebastienheyd/boilerplate](https://github.com/sebastienheyd/boilerplate).
==============================================================================================

[](#package-manager-for-sebastienheydboilerplate)

[![Version](https://camo.githubusercontent.com/51cba96c7da4976c61b35f8d26057cc3b6f5f3f46e08994db79ad6866d63e5f0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73656261737469656e686579642f626f696c6572706c6174652d7061636b616765722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/sebastienheyd/boilerplate-packager)[![Downloads](https://camo.githubusercontent.com/ca45e0496ec039cdfd574177bca544736d9525563a68c708978e6213f79bbb86/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f73656261737469656e686579642f626f696c6572706c6174652d7061636b616765722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/sebastienheyd/boilerplate-packager)[![StyleCI](https://camo.githubusercontent.com/c51db08f2ddeac63d8cf1a2e3d9dfb39ee2546608f2b885d4bfee6ffece4741e/68747470733a2f2f7374796c6563692e696f2f7265706f732f3239323631343038392f736869656c64)](https://styleci.io/repos/292614089)[![Scrutinizer](https://camo.githubusercontent.com/f5e8cb60dedcfa70bcc5fe84b4c283c8b7b5fa1f605445c6665931f69352914c/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f73656261737469656e686579642f626f696c6572706c6174652d7061636b616765722f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572267374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/sebastienheyd/boilerplate-packager/?branch=master)[![License](https://camo.githubusercontent.com/9be2a731bd6b222ed0af6745756912a78dd40cc369269c5ba38c7c79489ae5fe/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f73656261737469656e686579642f626f696c6572706c6174652d7061636b616765722e737667)](license.md)

This package will allow you to easily create and manage your own local packages for [sebastienheyd/boilerplate](https://github.com/sebastienheyd/boilerplate).

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

[](#installation)

Via Composer

```
composer require sebastienheyd/boilerplate-packager --dev
```

**Optionnal**: publish configuration file

```
php artisan vendor:publish --tag=boilerplate-packager
```

Usage
-----

[](#usage)

By default, a help is displayed when calling `boilerplate:packager` without any argument.

```
php artisan boilerplate:packager
```

Create a new package
--------------------

[](#create-a-new-package)

By default, every package will be generated using [sebastienheyd/boilerplate-package-skeleton](https://github.com/sebastienheyd/boilerplate-package-skeleton). Note that you can use a local path instead by setting the `skeleton` value in the [configuration file](src/config/packager.php).

You can also modify the default creation data (author, e-mail, description, license) by modifying the values in the [configuration file](src/config/packager.php)

```
php artisan boilerplate:packager create
```

Or you can define the package name directly in the command line:

```
php artisan boilerplate:packager create my-vendor/my-package

```

In this example, after asking some questions about author, email, description, license and resource, the command will load the skeleton package in a `packages/my-vendor/my-package` directory. Then, it will require the local package in your project, a symlink is created in the `vendor` directory pointing to the local package. All you have to do after that is to code in you freshly installed package.

**Options**

You can create a package with the option `--dev` to add the package to the `require-dev` section in `composer.json`

Require a package
-----------------

[](#require-a-package)

You can require a package from packagist or by giving a git repository url.

```
php artisan boilerplate:packager require my-vendor/my-package
php artisan boilerplate:packager require https://github.com/my-vendor/my-package
php artisan boilerplate:packager require git@github.com/my-vendor/my-package
```

This will clone the package in the `packages` folder and require it via composer.

**Options**

You can require a package with the option `--dev` to add the package to the `require-dev` section in `composer.json`

Remove a local package
----------------------

[](#remove-a-local-package)

You can remove a local package by using the `remove` command. If you called the command without a package name you will be asked to chose the package to remove :

```
php artisan boilerplate:packager remove
```

You can also define directly the package name:

```
php artisan boilerplate:packager remove my-vendor/my-package

```

This will remove the local package from your project. The command will ask to confirm the deletion of the local folder.

List local package
------------------

[](#list-local-package)

```
php artisan boilerplate:packager list
```

This will display a table with all local packages, installed or not.

Generate files for crud
-----------------------

[](#generate-files-for-crud)

This command will generate templates, controllers, views, menus, translations for the tables generated by the package.

To do this, after creating your package with the `create` command, create the migrations in the package and then run them to generate the tables in the database. After that, run the `crud` command indicating the package in which the migrations are located.

```
php artisan boilerplate:packager crud
```

You can also define directly the package name:

```
php artisan boilerplate:packager crud my-vendor/my-package

```

It is possible that the foreign keys point to a model that is not in the package. The command will then ask you to enter the namespace related to the model needed for the relationship.

Be careful, if files already exist in the package they will be overwritten.

You can generate specified resources by using the option `--only` and one or many of the following keywords : `model`, `routes`, `lang`, `permissions`, `controller`, `menu`, `views`

```
php artisan boilerplate:packager crud my-vendor/my-package --only=views --only=routes

```

Sometimes your package will use prefixed tables, to avoid generating files with the prefix you can remove it by using the option `--prefix`

```
php artisan boilerplate:packager crud my-vendor/my-package --prefix=myprefix__

```

Test and coding standard
------------------------

[](#test-and-coding-standard)

This package is delivered with tests, to launch tests just launch:

```
make test
```

Coding standard can also be checked by using `phpcs`:

```
make cs
```

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

[](#contributing)

Please see [contributing.md](contributing.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email author email instead of using the issue tracker.

Credits
-------

[](#credits)

- [Sébastien HEYD](https://github.com/sebastienheyd)
- [All Contributors](../../contributors)

License
-------

[](#license)

MIT license. Please see the [license file](license.md) for more information.

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance39

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity72

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

Recently: every ~274 days

Total

15

Last Release

528d ago

PHP version history (2 changes)1.1.2PHP &gt;=7.3

1.6.0PHP &gt;=8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/9734baf9cf5aaf3f2243aa8a57e23e59f95b70f0bb30c2628f9e88bc76dc3c1a?d=identicon)[sebastienheyd](/maintainers/sebastienheyd)

---

Top Contributors

[![sebastienheyd](https://avatars.githubusercontent.com/u/5470423?v=4)](https://github.com/sebastienheyd "sebastienheyd (79 commits)")

---

Tags

laravelboilerplatepackager

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/sebastienheyd-boilerplate-packager/health.svg)

```
[![Health](https://phpackages.com/badges/sebastienheyd-boilerplate-packager/health.svg)](https://phpackages.com/packages/sebastienheyd-boilerplate-packager)
```

###  Alternatives

[spatie/laravel-health

Monitor the health of a Laravel application

85810.0M83](/packages/spatie-laravel-health)[s-ichikawa/laravel-sendgrid-driver

This library adds a 'sendgrid' mail driver to Laravel.

4139.3M1](/packages/s-ichikawa-laravel-sendgrid-driver)[laravel-notification-channels/discord

Laravel notification driver for Discord.

2371.3M11](/packages/laravel-notification-channels-discord)[tzsk/sms

A robust and unified SMS gateway integration package for Laravel, supporting multiple providers.

320244.3k6](/packages/tzsk-sms)[erag/laravel-disposable-email

A Laravel package to detect and block disposable email addresses.

226102.4k](/packages/erag-laravel-disposable-email)[truckersmp/steam-socialite

Laravel Socialite provider for Steam OpenID.

1516.7k](/packages/truckersmp-steam-socialite)

PHPackages © 2026

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