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

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

kallbuloso/laravel-packager
===========================

A cli tool for creating Laravel packages.

v1.6.4(6y ago)03EUPL-1.1PHP

Since Nov 28Pushed 6y ago1 watchersCompare

[ Source](https://github.com/kallbuloso/laravel-packager)[ Packagist](https://packagist.org/packages/kallbuloso/laravel-packager)[ Docs](https://github.com/kallbuloso/laravel-packager)[ RSS](/packages/kallbuloso-laravel-packager/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (4)Versions (6)Used By (0)

Laravel Packager
================

[](#laravel-packager)

[![Latest Version on Packagist](https://camo.githubusercontent.com/746597e052d12499bbaf160da88fa4b49e6f7c11df307d899ab2bf3105627c30/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6b616c6c62756c6f736f2f6c61726176656c2d7061636b616765722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/kallbuloso/laravel-packager)[![Total Downloads](https://camo.githubusercontent.com/dff6ecf9dcf81ce2ca9544c86fb75b5532405ea03c06c6c53c7c3e1264e72679/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6b616c6c62756c6f736f2f6c61726176656c2d7061636b616765722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/kallbuloso/laravel-packager)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](license.md)

Informação muito importante!
============================

[](#informação-muito-importante)

`kallbuloso/laravel-packager` é um pacote do Laravel que foi criado para gerar e gerenciar pacotes `(Packages)` e reutilizálos em sua aplicação Laravel. O `laravel-packager` é um pacote suportado e testado no `Laravel ^6.*`.

O `laravel-packager` é na verdade uma versão ligeiramente modificada de [Jeroen-G/laravel-packager](https://github.com/Jeroen-G/laravel-packager). Eu criei a minha própria versão do `laravel-packager` porque queria ter controle total sobre como os comandos são gerenciados, e também tenho minhas próprias necessidades quanto ao que preciso que o pacote faça.

Se você achar que `Jeroen-G/laravel-packager` atende às suas necessidades melhor do que `kallbuloso/laravel-packager`, por qualquer motivo, use essa. Minha versão do pacote é destinada principalmente para as minhas próprias necessidades e não pretende ser um substituto ou concorrente para o outro pacote.

Segue daqui...
==============

[](#segue-daqui)

This package provides you with a simple tool to set up a new package and it will let you focus on the development of the package instead of the boilerplate.

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

[](#installation)

Via Composer

```
$ composer require kallbuloso/laravel-packager --dev
```

If you do not run Laravel 5.5 (or higher), then add the service provider in `config/app.php`:

```
kallbuloso\Packager\PackagerServiceProvider::class,
```

If you do run the package on Laravel 5.5+, [package auto-discovery](https://medium.com/@taylorotwell/package-auto-discovery-in-laravel-5-5-ea9e3ab20518) takes care of the magic of adding the service provider. Be aware that the auto-discovery also means that this package is loaded in your production environment. Therefore you may [disable auto-discovery](https://laravel.com/docs/5.5/packages#package-discovery) and instead put in your `AppServiceProvider` something like this:

```
if ($this->app->environment('local')) {
    $this->app->register('kallbuloso\Packager\PackagerServiceProvider');
}
```

Optional you can publish the configuration to provide a different service provider stub. The default is [here](https://github.com/jeroen-g/packager-skeleton).

```
$ php artisan vendor:publish --provider="kallbuloso\Packager\PackagerServiceProvider"
```

Available commands
------------------

[](#available-commands)

### New

[](#new)

**Command:**

```
$ php artisan packager:new MyVendor MyPackage
```

**Result:**

O comando irá lidar com praticamente tudo para você. Ele criará um diretório de pacotes, cria o fornecedor e o diretório de pacotes, puxa um pacote básico, configura o composer.json e cria um provedor de serviços.

*Nota*

- após instalar, em `composer.json/repositories` acerte o caminho de onde está repositório em `url`,
- abra o terminal no diretório do package criado e digite o seguinte comando;

```
$ composer dump
```

- em seguida com o terminal aberto no diretório raíz do projeto digite;

```
$ composer require MyVendor/MyPackage

```

**Options:**

```
$ php artisan packager:new MyVendor MyPackage --i
$ php artisan packager:new --i
```

The package will be created interactively, allowing to configure everything in the package's `composer.json`, such as the license and package description.

**Remarks:**The new package will be based on [this custom skeleton](https://github.com/jeroen-g/packager-skeleton).

### Get &amp; Git

[](#get--git)

**Command:**

```
$ php artisan packager:get https://github.com/author/repository
$ php artisan packager:git https://github.com/author/repository
```

**Result:**This will register the package in the app's `composer.json` file. If the `packager:git` command is used, the entire Git repository is cloned. If `packager:get` is used, the package will be downloaded, without a repository. This also works with Bitbucket repositories, but you have to provide the flag `--host=bitbucket` for the `packager:get` command.

**Options:**

```
$ php artisan packager:get https://github.com/author/repository --branch=develop
$ php artisan packager:get https://github.com/author/repository MyVendor MyPackage
$ php artisan packager:git https://github.com/author/repository MyVendor MyPackage
```

It is possible to specify a branch with the `--branch` option. If you specify a vendor and name directly after the url, those will be used instead of the pieces of the url.

### Tests

[](#tests)

**Command:**

```
$ php artisan packager:tests
```

**Result:**Packager will go through all maintaining packages (in `packages/`) and publish their tests to `tests/packages`. Add the following to phpunit.xml (under the other testsuites) in order to run the tests from the packages:

```

    ./tests/packages

```

**Options:**

```
$ php artisan packager:tests MyVendor MyPackage
```

**Remarks:**If a tests folder exists, the files will be copied to a dedicated folder in the Laravel App tests folder. This allows you to use all of Laravel's own testing functions without any hassle.

### List

[](#list)

**Command:**

```
$ php artisan packager:list
```

**Result:**An overview of all packages in the `/packages` directory.

### Remove

[](#remove)

**Command:**

```
$ php artisan packager:remove MyVendor MyPackage
```

**Result:**The `MyVendor\MyPackage` package is deleted, including its references in `composer.json` and `config/app.php`.

### Publish

[](#publish)

**Command:**

```
$ php artisan packager:publish MyVendor MyPackage https://github.com/myvendor/mypackage
```

**Result:**The `MyVendor\MyPackage` package will be published to Github using the provided url.

### Check

[](#check)

**Command:**

```
$ php artisan packager:check MyVendor MyPackage
```

**Result:**The `MyVendor\MyPackage` package will be checked for security vulnerabilities using SensioLabs security checker.

**Remarks**You first need to run

```
$ composer require sensiolabs/security-checker
```

Issues with cURL SSL certificate
--------------------------------

[](#issues-with-curl-ssl-certificate)

It turns out that, especially on Windows, there might arise some problems with the downloading of the skeleton, due to a file regarding SSL certificates missing on the OS. This can be solved by opening up your .env file and putting this in it:

```
CURL_VERIFY=false

```

Of course this means it will be less secure, but then again you are not supposed to run this package anywhere near a production environment.

Extensions
----------

[](#extensions)

DelveFore started to work on a cool project to use various Artisan `make:` commands for the packages, [check it out](https://github.com/DelveFore/laravel-packager-hermes)!

Changelog
---------

[](#changelog)

Please see [changelog.md](changelog.md) for what has changed recently.

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

[](#contributing)

Please see [contributing.md](contributing.md) for details and a todolist.

Credits
-------

[](#credits)

- [JeroenG](https://github.com/Jeroen-G)
- [kallbuloso](https://github.com/kallbuloso)
- [All Contributors](../../contributors%5D)

License
-------

[](#license)

- MIT. Por favor leia o [arquivo de licença](license.md) para mais informações.
- The EU Public License. Please see [license.md](license.md) for more information.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

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

Total

5

Last Release

2305d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9ba8924923a531838253a388934fc8aa9d94b2b540a599bd9836562d1b71868e?d=identicon)[amaralkarl](/maintainers/amaralkarl)

---

Top Contributors

[![kallbuloso](https://avatars.githubusercontent.com/u/4968546?v=4)](https://github.com/kallbuloso "kallbuloso (9 commits)")

---

Tags

laravelpackageSkeletonpackager

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/kallbuloso-laravel-packager/health.svg)

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

###  Alternatives

[jeroen-g/laravel-packager

A cli tool for creating Laravel packages.

1.4k707.3k18](/packages/jeroen-g-laravel-packager)[bensampo/laravel-embed

Painless responsive embeds for videos, slideshows and more.

142146.8k](/packages/bensampo-laravel-embed)[gmsantos/inspiring

Alternative inspiring quotes for Laravel

188.5k](/packages/gmsantos-inspiring)[sunaoka/laravel-facade-generator

Provide command line generation of facade layer files.

171.9k](/packages/sunaoka-laravel-facade-generator)

PHPackages © 2026

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