PHPackages                             michaeljennings/laravel-make - 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. michaeljennings/laravel-make

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

michaeljennings/laravel-make
============================

An application to make the laravel 'make' commands globally available.

v2.0.0(3y ago)042[1 issues](https://github.com/michaeljennings/laravel-make/issues)MITPHPPHP &gt;=8.0

Since May 31Pushed 3y ago2 watchersCompare

[ Source](https://github.com/michaeljennings/laravel-make)[ Packagist](https://packagist.org/packages/michaeljennings/laravel-make)[ RSS](/packages/michaeljennings-laravel-make/feed)WikiDiscussions master Synced yesterday

READMEChangelog (4)Dependencies (1)Versions (6)Used By (0)

Laravel Make
============

[](#laravel-make)

This package allows you to use the laravel make commands outside of a laravel application, this can be very useful for package development.

Installing Globally
-------------------

[](#installing-globally)

To install the package globally run `composer global require michaeljennings/laravel-make`.

When composer has finished installing you should be able to `laravel-make` in your command line and it should list all of the available commands.

If you are on windows and it says `laravel-make` is not a function then make sure your global composer .bin directory is in the $PATH environment variable.

Installing Per Project
----------------------

[](#installing-per-project)

To install on a per project basis run `composer require michaeljennings/laravel-make`.

Or add the package to you `composer.json` file.

```
{
  ...
  "require-dev": {
    "michaeljennings/laravel-make": "~1.0",
  },
  ...
}
```

Then run `composer update` to install the package.

Once installed run `vendor/bin/laravel-make` and you should see a list of all of the available commands.

Configuration
-------------

[](#configuration)

By default the laravel commands try to place the new files within the `app` directory and in the `App` namespace, however this is very rarely how a package is setup.

To get around this you can create a `.laravel-make` file in the root of your package and define your package specific configuration in it. This file works like a `.env` file, a sample file is below, and then there is a description of each configuration option underneath.

```
BASE_PATH=/src
BASE_NAMESPACE=Example\Package
USER_MODEL=Example\Package\Models\User

```

### Base Path

[](#base-path)

The base path that will be prepended to all files, excluding migrations and seeders.

Defaults to `/app`

```
BASE_PATH=/src

```

### Base Namespace

[](#base-namespace)

This is the root namespace that will be prepended to each class.

Defaults to 'App'

```
BASE_NAMESPACE=Example\Package

```

### User Model

[](#user-model)

This option is a little strange. Some of the stubs need to the path to the user model for the application, by default laravel tries to find this from the auth config file. As we don't have the auth config file available to us we have to specify it in the `.laravel-make` file.

Defaults to 'App\\User'

```
USER_MODEL=Example\Auth\Models\User

```

### Console Command Path

[](#console-command-path)

The path the command files should be stored in. By default this will prepend the base path.

Defaults to '{BASE\_PATH}/Console/Commands'

```
CONSOLE_COMMAND_PATH=src/Commands

```

### Console Command Namespace

[](#console-command-namespace)

The namespace that will be prepended to all console commands.

Defaults to '{BASE\_NAMESPACE}\\Console\\Commands'

```
CONSOLE_NAMESPACE=Example\Package\Commands

```

### Controller Path

[](#controller-path)

The path the controller files should be stored in. By default this will prepend the base path.

Defaults to '{BASE\_PATH}/Http/Controllers'

```
CONTROLLER_PATH=src/Controllers

```

### Controller Namespace

[](#controller-namespace)

The namespace that will be prepended to all controllers.

Defaults to '{BASE\_NAMESPACE}\\Http\\Controllers'

```
CONTROLLER_NAMESPACE=Example\Package\Controllers

```

### Event Path

[](#event-path)

The path the event files should be stored in. By default this will prepend the base path.

Defaults to '{BASE\_PATH}/Events'

```
EVENT_PATH=src/Events

```

### Event Namespace

[](#event-namespace)

The namespace that will be prepended to all events.

Defaults to '{BASE\_NAMESPACE}\\Events'

```
EVENT_NAMESPACE=Example\Package\Events

```

### Listener Path

[](#listener-path)

The path the listener files should be stored in. By default this will prepend the base path.

Defaults to '{BASE\_PATH}/Listeners'

```
LISTENER_PATH=src/Listeners

```

### Listener Namespace

[](#listener-namespace)

The namespace that will be prepended to all listeners.

Defaults to '{BASE\_NAMESPACE}\\Listeners'

```
LISTENER_NAMESPACE=Example\Package\Listeners

```

### Mail Path

[](#mail-path)

The path the mail files should be stored in. By default this will prepend the base path.

Defaults to '{BASE\_PATH}/Mail'

```
MAIL_PATH=src/Mail

```

### Mail Namespace

[](#mail-namespace)

The namespace that will be prepended to all mail classes.

Defaults to '{BASE\_NAMESPACE}\\Mail'

```
MAIL_NAMESPACE=Example\Package\Mail

```

### Middleware Path

[](#middleware-path)

The path the middleware files should be stored in. By default this will prepend the base path.

Defaults to '{BASE\_PATH}/Middleware'

```
MIDDLWARE_PATH=src/Middleware

```

### Middleware Namespace

[](#middleware-namespace)

The namespace that will be prepended to all middleware classes.

Defaults to '{BASE\_NAMESPACE}\\Middleware'

```
MIDDLWARE_NAMESPACE=Example\Package\Middleware

```

### Migration Path

[](#migration-path)

The path the migration files should be stored in. By default this will prepend the base path.

Defaults to 'database/migrations'

```
MIGRATION_PATH=migrations

```

### Model Path

[](#model-path)

The path the model files should be stored in. By default this will prepend the base path.

Defaults to '{BASE\_PATH}'

```
MODEL_PATH=src/Models

```

### Model Namespace

[](#model-namespace)

The namespace that will be prepended to all models.

Defaults to '{BASE\_NAMESPACE}\\Models'

```
MODEL_NAMESPACE=Example\Package\Models

```

### Notification Path

[](#notification-path)

The path the notification files should be stored in. By default this will prepend the base path.

Defaults to '{BASE\_PATH}/Notifications'

```
NOTIFICATION_PATH=src/Notifications

```

### Notification Namespace

[](#notification-namespace)

The namespace that will be prepended to all notifications.

Defaults to '{BASE\_NAMESPACE}\\Notifications'

```
NOTIFICATION_NAMESPACE=Example\Package\Notifications

```

### Policy Path

[](#policy-path)

The path the policy files should be stored in. By default this will prepend the base path.

Defaults to '{BASE\_PATH}/Policies'

```
POLICY_PATH=src/Policies

```

### Policy Namespace

[](#policy-namespace)

The namespace that will be prepended to all policies.

Defaults to '{BASE\_NAMESPACE}\\Policies'

```
POLICY_NAMESPACE=Example\Package\Policies

```

### Provider Path

[](#provider-path)

The path the provider files should be stored in. By default this will prepend the base path.

Defaults to '{BASE\_PATH}/Providers'

```
PROVIDER_PATH=src/Providers

```

### Provider Namespace

[](#provider-namespace)

The namespace that will be prepended to all providers.

Defaults to '{BASE\_NAMESPACE}\\Providers'

```
PROVIDER_NAMESPACE=Example\Package\Providers

```

### Request Path

[](#request-path)

The path the request files should be stored in. By default this will prepend the base path.

Defaults to '{BASE\_PATH}/Requests'

```
REQUEST_PATH=src/Requests

```

### Request Namespace

[](#request-namespace)

The namespace that will be prepended to all requests.

Defaults to '{BASE\_NAMESPACE}\\Requests'

```
REQUEST_NAMESPACE=Example\Package\Requests

```

### Seeder Path

[](#seeder-path)

The path the seeder files should be stored in. By default this will prepend the base path.

Defaults to 'database/seeds'

```
SEEDER_PATH=seeds

```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor1

Top contributor holds 83.3% 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 ~583 days

Total

4

Last Release

1153d ago

Major Versions

v1.0.2 → v2.0.02023-03-16

### Community

Maintainers

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

---

Top Contributors

[![michaeljennings](https://avatars.githubusercontent.com/u/5189701?v=4)](https://github.com/michaeljennings "michaeljennings (5 commits)")[![georgehanson](https://avatars.githubusercontent.com/u/23167178?v=4)](https://github.com/georgehanson "georgehanson (1 commits)")

---

Tags

laravel

### Embed Badge

![Health badge](/badges/michaeljennings-laravel-make/health.svg)

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

###  Alternatives

[livewire/volt

An elegantly crafted functional API for Laravel Livewire.

4195.3M84](/packages/livewire-volt)[gehrisandro/tailwind-merge-laravel

TailwindMerge for Laravel merges multiple Tailwind CSS classes by automatically resolving conflicts between them

341682.2k18](/packages/gehrisandro-tailwind-merge-laravel)[nickurt/laravel-akismet

Akismet for Laravel 11.x/12.x/13.x

97139.6k2](/packages/nickurt-laravel-akismet)[whitecube/laravel-timezones

Store UTC dates in the database and work with custom timezones in the application.

106106.2k](/packages/whitecube-laravel-timezones)[sbine/route-viewer

A Laravel Nova tool to view your registered routes.

57215.9k](/packages/sbine-route-viewer)[forxer/laravel-gravatar

A library providing easy gravatar integration in a Laravel project.

4235.6k](/packages/forxer-laravel-gravatar)

PHPackages © 2026

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