PHPackages                             ministrysites/cornerstone-devtools - 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. ministrysites/cornerstone-devtools

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

ministrysites/cornerstone-devtools
==================================

Custom Artisan command toolkit for Laravel applications.

v0.2(3mo ago)08↓50%1MITPHP ^8.3

Since Apr 14Compare

[ Source](https://github.com/ministrysites/cornerstone-devtools)[ Packagist](https://packagist.org/packages/ministrysites/cornerstone-devtools)[ RSS](/packages/ministrysites-cornerstone-devtools/feed)WikiDiscussions Synced 3w ago

READMEChangelog (2)Dependencies (11)Versions (3)Used By (1)

Cornerstone Devtools
====================

[](#cornerstone-devtools)

`cornerstone-devtools` is a Laravel package that provides opinionated Artisan installers for optional dependencies used by the Cornerstone starter kit.

It exists to make common starter-kit setup steps fast, repeatable, and consistent across new projects.

Important Note
--------------

[](#important-note)

This package is built for the Cornerstone starter kit and reflects that workflow on purpose.

The commands in this package encode specific opinions about:

- which packages get installed
- which follow-up commands should run
- which files may be scaffolded or replaced during setup

If you are not building on the Cornerstone starter kit, this package is probably not the right fit. If you need similar behavior with different conventions, forking this package is the intended path.

Requirements
------------

[](#requirements)

- PHP `^8.3`
- Laravel `^13.0`

What It Does
------------

[](#what-it-does)

This package exposes two public entrypoints:

- `cornerstone:install`
- `cornerstone:cleanup`

`cornerstone:install` can:

- install one supported package
- install multiple supported packages sequentially
- prompt interactively for package selection when no package arguments are provided
- delegate follow-up setup to package-specific installers

Supported installers:

- `flux`
- `filament`

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

[](#installation)

Install the package as a development dependency:

```
composer require --dev ministrysites/cornerstone-devtools
```

Installing it as a dev dependency is strongly recommended so these commands are not available in production.

Laravel package discovery will register the service provider automatically.

Usage
-----

[](#usage)

Run a single installer:

```
php artisan cornerstone:install flux
php artisan cornerstone:install filament
```

Run multiple installers sequentially:

```
php artisan cornerstone:install flux filament
```

Run interactively and choose packages from a multi-select prompt:

```
php artisan cornerstone:install
```

Package-specific flags can be combined in a single multi-package command. Each installer only receives the flags it understands.

```
php artisan cornerstone:install flux filament --pro --flux-email=jane@example.com --flux-license-key=your-key --replace-user-model --no-interaction
```

If one installer fails, the command stops immediately and returns a failure exit code.

### Cleanup

[](#cleanup)

`cornerstone:cleanup` removes Cornerstone demo files listed in `.cornerstone/demo-manifest.txt` so you can start building your own app.

Usage:

```
php artisan cornerstone:cleanup
```

Behavior:

- reads `./.cornerstone/demo-manifest.txt` (one path per line, relative to the Laravel app root)
- prints every path it will delete and requires confirmation before making changes
- shows a progress bar while deleting the listed files
- removes the `.cornerstone` directory itself as the final step
- skips paths that are already missing and reports them in the summary
- is idempotent: if the manifest is missing, it warns and exits without error
- reminds you to manually remove the `welcome` route from `routes/web.php` when done

Installers
----------

[](#installers)

### Flux

[](#flux)

The Flux installer supports both interactive and non-interactive use.

Interactive usage:

```
php artisan cornerstone:install flux
```

In interactive mode, the installer prompts for either the `free` or `pro` edition.

Non-interactive usage:

```
php artisan cornerstone:install flux --free --no-interaction
php artisan cornerstone:install flux --pro --flux-email=jane@example.com --flux-license-key=your-key --no-interaction
```

Behavior:

- installs `livewire/flux`
- if `pro` is selected, runs `php artisan flux:activate`

### Filament

[](#filament)

The Filament installer:

- installs `filament/filament`
- runs `php artisan filament:install --panels`
- can optionally replace `app/Models/User.php` with a stub that implements the `FilamentUser` contract

Interactive usage:

```
php artisan cornerstone:install filament
```

Non-interactive usage:

```
php artisan cornerstone:install filament --replace-user-model --no-interaction
```

The replacement user model is intentionally a starter stub. It satisfies Filament's contract, but you are expected to adapt its access logic to your application's needs.

Opinionated By Design
---------------------

[](#opinionated-by-design)

This package is intentionally narrow in scope.

Its goal is not to be a universal Laravel installer framework. Its goal is to support the Cornerstone starter kit with predictable setup behavior.

Because of that:

- pull requests that fix bugs, improve reliability, or clarify behavior are welcome
- pull requests that broaden scope or weaken the package's opinions are unlikely to be merged

If you need materially different installation behavior, the better path is usually to fork this package or build one that matches your own conventions.

Development
-----------

[](#development)

Install dependencies:

```
composer install
```

Run the test suite:

```
composer test
```

Run Pint formatting:

```
composer format
```

Run Pint in check-only mode:

```
composer format -- --test
```

Run PHPStan:

```
composer stan
```

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

[](#contributing)

Issues and pull requests are welcome, but read this entire README before opening a change proposal.

The fastest way to get a contribution accepted is to keep it aligned with the package's purpose:

- support the Cornerstone starter kit
- preserve the package's current opinions
- improve correctness, maintainability, or developer ergonomics without broadening scope

License
-------

[](#license)

This package is open-sourced software licensed under the `MIT` license.

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance82

Actively maintained with recent releases

Popularity4

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

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

Total

2

Last Release

95d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/113777203?v=4)[MinistrySites](/maintainers/ministrysites)[@ministrysites](https://github.com/ministrysites)

---

Tags

laravelpackageartisancommands

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

![Health badge](/badges/ministrysites-cornerstone-devtools/health.svg)

```
[![Health](https://phpackages.com/badges/ministrysites-cornerstone-devtools/health.svg)](https://phpackages.com/packages/ministrysites-cornerstone-devtools)
```

###  Alternatives

[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M246](/packages/laravel-ai)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9762.4M133](/packages/roots-acorn)[laravel/boost

Laravel Boost accelerates AI-assisted development by providing the essential context and structure that AI needs to generate high-quality, Laravel-specific code.

3.5k21.5M673](/packages/laravel-boost)[illuminate/queue

The Illuminate Queue package.

20432.6M1.7k](/packages/illuminate-queue)[moonshine/moonshine

Laravel administration panel

1.3k253.1k86](/packages/moonshine-moonshine)[illuminate/console

The Illuminate Console package.

13046.0M6.8k](/packages/illuminate-console)

PHPackages © 2026

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