PHPackages                             ahuggins/open-on-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. ahuggins/open-on-make

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

ahuggins/open-on-make
=====================

Automatically open files in editor when Artisan make:\* is executed

1.0.4(5y ago)9920.0k↓50%13[6 PRs](https://github.com/ahuggins/open-on-make/pulls)MITPHPPHP ~7.4CI passing

Since Apr 13Pushed 3mo ago2 watchersCompare

[ Source](https://github.com/ahuggins/open-on-make)[ Packagist](https://packagist.org/packages/ahuggins/open-on-make)[ RSS](/packages/ahuggins-open-on-make/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (7)Versions (68)Used By (0)

Open On Make
============

[](#open-on-make)

A package that makes it easy to have the `artisan make:` commands open the newly created file in your editor of choice.

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

[](#installation)

`composer require --dev ahuggins/open-on-make`

This package defaults to VS Code using the `code` command, this can be changed by using the Artisan command:

`php artisan open:install`

It will ask you which editor you want, enter the corresponding number and hit enter. It will update your env file with the CLI command.

> You can still set this manually, this was intended to streamline the process, make it a little faster and one less thing to look up.

> Feel free to suggest or open a PR with additional editors if anything is missing.

Set env Editor manually
-----------------------

[](#set-env-editor-manually)

```
OPEN_ON_MAKE_EDITOR=nameOfCliCommandForEditor
OPEN_ON_MAKE_FLAGS='-a' // Flags you need passed to the above Command

```

> Most people will probably only need to add `OPEN_ON_MAKE_EDITOR` to their .env file.

#### Publish the config

[](#publish-the-config)

- publish the package config with

    `php artisan vendor:publish --tag=open-on-make`

#### Disable the package

[](#disable-the-package)

> Some team members may want to disable this feature.

You can explicitly disable this package by setting the `OPEN_ON_MAKE_ENABLED` environment variable:

```
OPEN_ON_MAKE_ENABLED=false

```

Example Editor values
---------------------

[](#example-editor-values)

Sublime - `OPEN_ON_MAKE_EDITOR=subl`

PHPStorm - `OPEN_ON_MAKE_EDITOR=phpstorm` Setup Instructions:

Atom - `OPEN_ON_MAKE_EDITOR=atom` Provided you have shell commands installed:

VS Code = `OPEN_ON_MAKE_EDITOR=code` Provided you have the `code` shell command installed:

License
-------

[](#license)

Licensed under the [MIT](license) license

###  Health Score

52

—

FairBetter than 96% of packages

Maintenance53

Moderate activity, may be stable

Popularity40

Moderate usage in the ecosystem

Community22

Small or concentrated contributor base

Maturity78

Established project with proven stability

 Bus Factor1

Top contributor holds 76.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 ~19 days

Recently: every ~11 days

Total

49

Last Release

2042d ago

Major Versions

0.0.43 → 47.x-dev2020-07-10

0.0.46 → 1.0.02020-08-29

PHP version history (4 changes)0.0.15PHP ~7.0

0.0.38PHP ~7.2

1.0.0PHP ~7.3

1.0.3PHP ~7.4

### Community

Maintainers

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

---

Top Contributors

[![ahuggins](https://avatars.githubusercontent.com/u/1791228?v=4)](https://github.com/ahuggins "ahuggins (164 commits)")[![ronnorthrip](https://avatars.githubusercontent.com/u/569921?v=4)](https://github.com/ronnorthrip "ronnorthrip (16 commits)")[![tobz-nz](https://avatars.githubusercontent.com/u/443054?v=4)](https://github.com/tobz-nz "tobz-nz (8 commits)")[![ctf0](https://avatars.githubusercontent.com/u/7388088?v=4)](https://github.com/ctf0 "ctf0 (5 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (5 commits)")[![misa-neopix](https://avatars.githubusercontent.com/u/42573490?v=4)](https://github.com/misa-neopix "misa-neopix (3 commits)")[![andresgcarmona](https://avatars.githubusercontent.com/u/757823?v=4)](https://github.com/andresgcarmona "andresgcarmona (3 commits)")[![stephane-monnot](https://avatars.githubusercontent.com/u/6066368?v=4)](https://github.com/stephane-monnot "stephane-monnot (2 commits)")[![paulredmond](https://avatars.githubusercontent.com/u/177773?v=4)](https://github.com/paulredmond "paulredmond (2 commits)")[![fridzema](https://avatars.githubusercontent.com/u/8180660?v=4)](https://github.com/fridzema "fridzema (2 commits)")[![fuelingtheweb](https://avatars.githubusercontent.com/u/2453656?v=4)](https://github.com/fuelingtheweb "fuelingtheweb (1 commits)")[![t1sh0o](https://avatars.githubusercontent.com/u/3911728?v=4)](https://github.com/t1sh0o "t1sh0o (1 commits)")[![AndreiTelteu](https://avatars.githubusercontent.com/u/5564199?v=4)](https://github.com/AndreiTelteu "AndreiTelteu (1 commits)")[![jny986](https://avatars.githubusercontent.com/u/37679074?v=4)](https://github.com/jny986 "jny986 (1 commits)")[![drehimself](https://avatars.githubusercontent.com/u/4316355?v=4)](https://github.com/drehimself "drehimself (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ahuggins-open-on-make/health.svg)

```
[![Health](https://phpackages.com/badges/ahuggins-open-on-make/health.svg)](https://phpackages.com/packages/ahuggins-open-on-make)
```

###  Alternatives

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M687](/packages/barryvdh-laravel-ide-helper)[wnx/laravel-stats

Get insights about your Laravel Project

1.8k1.8M7](/packages/wnx-laravel-stats)[orchestra/canvas

Code Generators for Laravel Applications and Packages

21017.2M158](/packages/orchestra-canvas)[illuminate/session

The Illuminate Session package.

9937.4M753](/packages/illuminate-session)[laragear/preload

Effortlessly make a Preload script for your Laravel application.

119363.5k](/packages/laragear-preload)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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