PHPackages                             bakgul/laravel-package-generator - 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. bakgul/laravel-package-generator

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

bakgul/laravel-package-generator
================================

This package aims to generate packages to increase productivity. It offers a flexible package structure thanks to settings that can be found in the 'structures' array on 'config/packagify.php'. The detailed explanations can be found in that array's comment block.

v4.0.1(3y ago)21192MITPHPPHP ^8.1

Since May 17Pushed 3y ago1 watchersCompare

[ Source](https://github.com/bulentAkgul/laravel-package-generator)[ Packagist](https://packagist.org/packages/bakgul/laravel-package-generator)[ RSS](/packages/bakgul-laravel-package-generator/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (7)Versions (42)Used By (2)

Laravel Package Generator
=========================

[](#laravel-package-generator)

This package aims to generate packages to increase productivity. It offers a flexible package structure thanks to settings that can be found in the **structures** array on *config/packagify.php*. The detailed explanations can be found in that array's comment block.

#### DISCLAIMER

[](#disclaimer)

It should be production-ready but hasn't been tested enough. You should use it carefully since this package will manipulate your files and folders. Always use a version-control, and make sure you have [**File History**](https://github.com/bulentAkgul/file-history) to be able to roll back the changes.

### v3 Update guide

[](#v3-update-guide)

- Go to `vendor/bakgul/kernel/config/apps.php` file and see the changes. We have a new key named `routes` under each app. Bring that new structure to your packagify.php file in your config folder.
- Add `'bundler' => 'vite' or 'mix'` to the main array under 'Main from Kernel' section in your packagify.php file in your config folder.

### Installation

[](#installation)

If you installed [**Packagified Laravel**](https://github.com/bulentAkgul/packagified-laravel), you should have this package already. So skip installation.

```
composer require bakgul/laravel-package-generator

```

Next, you need to publish the settings by executing the following command. By doing so, you will have a new file named *packagify.php* on the config folder. If you check the "**files**" array, you can see the file types that can be created. Quite deep explanations are provided in the comment block of the files array.

```
sail artisan packagify:publish-config

```

### Signature

[](#signature)

```
create:package {package} {root} {--d|dev}

```

### Arguments

[](#arguments)

- **package**: It's required and must be unique.
- **root**: It's required and must be one of the predefined roots in the "**roots**" array on *config/packagify.php.* The roots' keys or folders can be used here.

### Options

[](#options)

- **dev**: If you create a dev-dependency, add "**-d**" or "**--dev**" to the command.

Credit
------

[](#credit)

I copied the service provider's boilerplate from the package generated on [**BeyondCode Boilerplate Generator**](https://laravelpackageboilerplate.com/)

Packagified Laravel
-------------------

[](#packagified-laravel)

The main package that includes this one can be found here: [**Packagified Laravel**](https://github.com/bulentAkgul/packagified-laravel)

The Packages That Will Be Installed By This Package
---------------------------------------------------

[](#the-packages-that-will-be-installed-by-this-package)

- [**Command Evaluator**](https://github.com/bulentAkgul/command-evaluator)
- [**File Content**](https://github.com/bulentAkgul/file-content)
- [**File History**](https://github.com/bulentAkgul/file-history)
- [**Kernel**](https://github.com/bulentAkgul/kernel)

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity69

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

Recently: every ~1 days

Total

41

Last Release

1175d ago

Major Versions

v1.1.26 → v2.0.02023-01-02

v2.0.3 → v3.0.02023-01-25

v3.0.7 → v4.0.02023-02-21

PHP version history (2 changes)v1.1.0PHP ^8.0.2

v3.0.7PHP ^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/dc3c26b9029d2705ffcd2baebee543db52c24b1fb5cb29c5557436de853d42c1?d=identicon)[bulentAkgul](/maintainers/bulentAkgul)

---

Top Contributors

[![bulentAkgul](https://avatars.githubusercontent.com/u/12589023?v=4)](https://github.com/bulentAkgul "bulentAkgul (130 commits)")

### Embed Badge

![Health badge](/badges/bakgul-laravel-package-generator/health.svg)

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

PHPackages © 2026

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