PHPackages                             alfred-nutile-inc/setup - 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. alfred-nutile-inc/setup

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

alfred-nutile-inc/setup
=======================

Setup apps in one command for local work

01.1k1PHP

Since Mar 23Pushed 11y ago13 watchersCompare

[ Source](https://github.com/alfred-nutile-inc/setup)[ Packagist](https://packagist.org/packages/alfred-nutile-inc/setup)[ RSS](/packages/alfred-nutile-inc-setup/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

CoreApp Setup
=============

[](#coreapp-setup)

This requires some conventions noted below.

Pull it in via composer

```
composer require alfred-nutile-inc/setup

```

Then add it to your Kernel

```
	protected $commands = [
		'App\Console\Commands\Inspire',
		'AlfredNutileInc\CoreApp\SetUp\SetupCommand'
	];

```

Then

Setup
-----

[](#setup)

Git clone the repo to your homestead

The conventions for this setup is simple

Your local domain is the same as the repo name. If the repo is foo then `foo.dev`

The Command is

```
php artisan core-app:setup reponame

```

This will

- setup the db as the name of the reponame
- setup nginx and restart it as the domain name says above. **You need to udpate you machine hosts file**
- copies .env.example to .env update it as needed.
- sets up testing stub db for sqlite
- composer install and dump-autoload
- migrates
- bower install
- npm install

You can limit what to run like this

```
php artisan core-app:setup reponame --run=SetupServerConfig --run=SetupFrontEnd

```

Conventions
-----------

[](#conventions)

Your local env is named after the repo name and .dev so repo foo is foo.dev local

SSL is always default. [https://github.com/alfred-nutile-inc/internal\_practices/blob/master/ssl.md](https://github.com/alfred-nutile-inc/internal_practices/blob/master/ssl.md) for help on this.

Adding to the package
---------------------

[](#adding-to-the-package)

Just add your step to `app/SetUp/SetupCommand.php:93`

```
        SetupDeploymentScripts::fire($this);
        SetupEnv::fire($this);
        SetupDb::fire($this);
        RunMigrations::fire($this);
        SetupTesting::fire($this);
        SetupFrontEnd::fire($this);
        SetupServerConfig::fire($this);

```

RoadMap
-------

[](#roadmap)

- Flags to run only some/one of the steps `php artisan core-app:setup reponame --SetupEnv --SetupDevelopmentScripts`
- Plugin steps that are part of the project and not part of this repo.
- One command to setup Ec2, RDS etc
- S3 setup
- Setup git repo dev, prod, staging and delete master

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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.

### Community

Maintainers

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

---

Top Contributors

[![alnutile](https://avatars.githubusercontent.com/u/365385?v=4)](https://github.com/alnutile "alnutile (7 commits)")

### Embed Badge

![Health badge](/badges/alfred-nutile-inc-setup/health.svg)

```
[![Health](https://phpackages.com/badges/alfred-nutile-inc-setup/health.svg)](https://phpackages.com/packages/alfred-nutile-inc-setup)
```

###  Alternatives

[qinchen/web-utils

A web application common utils

111.4k](/packages/qinchen-web-utils)

PHPackages © 2026

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