PHPackages                             harmonic/laravel-preset - 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. harmonic/laravel-preset

AbandonedArchivedLaravel-preset[Utility &amp; Helpers](/categories/utility)

harmonic/laravel-preset
=======================

Laravel preset which includes InertiaJS, Tailwind CSS and harmonic admin theme.

v1.0.8(6y ago)431134[4 issues](https://github.com/Harmonic/laravel-preset/issues)[2 PRs](https://github.com/Harmonic/laravel-preset/pulls)PHP

Since Jun 6Pushed 3y ago3 watchersCompare

[ Source](https://github.com/Harmonic/laravel-preset)[ Packagist](https://packagist.org/packages/harmonic/laravel-preset)[ RSS](/packages/harmonic-laravel-preset/feed)WikiDiscussions master Synced today

READMEChangelog (7)Dependencies (3)Versions (12)Used By (0)

Harmonic Laravel Preset
=======================

[](#harmonic-laravel-preset)

[![Latest Version on Packagist](https://camo.githubusercontent.com/09b0343b77caad93b8eda523095fed038067ed7d08b89953164b68f01b874778/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6861726d6f6e69632f6c61726176656c2d7072657365742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/harmonic/laravel-preset)[![Total Downloads](https://camo.githubusercontent.com/2214a2b8bc6b0f6d0cccffc7c0a1b92a35f0135e14e5304994f934d00d5eec6a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6861726d6f6e69632f6c61726176656c2d7072657365742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/harmonic/laravel-preset)

A Laravel preset that can create a basic Laravel install with some additional composer packages, Cypress for front end testing and an optional starting admin theme using InertiaJS and Tailwind CSS as a quick start.

[![Laravel Preset - Click for video](docs/laravel-preset-screenshot.png)](https://www.youtube.com/watch?v=K_d_RboHBbI&feature=youtu.be)

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

[](#installation)

Before you start make sure you have:

1. A new Laravel installation (this preset will overwrite laravel settings so do not use on existing projects)
2. yarn installed globally
3. DB configured in your .env and migrations run (php artisan migrate)

Then install the preset with composer.

```
$ composer require harmonic/laravel-preset --dev
```

Usage
-----

[](#usage)

```
$ php artisan preset harmonic
```

Once installed you will be prompted to remove the package (as it's no longer required).

### Creating admin pages from models

[](#creating-admin-pages-from-models)

You can easily and quickly create administration tables with the [Harmonic Inertia Table package](https://github.com/harmonic/inertia-table) that is installed as part of the theme. Simply create a migration then run the artisan command:

```
php artisan make:inertiaTable ModelName
```

Where ModelName is the name of the model to create an inertia table from, or the name of the model to create based on the name of an existing table. For further details read the docs for the [Harmonic Inertia Table package](https://github.com/harmonic/inertia-table).

### Updating the Main Menu

[](#updating-the-main-menu)

You can manually add items to the left hand side menu by editing js/Shared/MainMenu.vue

### Customisation

[](#customisation)

Once installed you are free to modify all /resources as you see fit. You can easily customise the colour scheme of the theme by editing tailwind.config.js in the project root with the [Tailwind colours](https://tailwindcss.com/docs/customizing-colors/#default-color-palette) of your choice:

```
module.exports = {
	theme: {
		extend: {
			colors: {
				primary: colors.indigo,
				secondary: colors.orange,
				// ...
			  }
		}
	}
  }
```

What's included?
----------------

[](#whats-included)

### Composer Packages

[](#composer-packages)

- [harmonic/laravel-envcoder](https://github.com/Harmonic/laravel-envcoder) (dev)
- [bensampo/laravel-enum](https://github.com/BenSampo/laravel-enum) - optional
- [silber/bouncer:v1.0.0-rc.4](https://github.com/JosephSilber/bouncer) - optional
- [dyrynda/laravel-make-user](https://github.com/michaeldyrynda/laravel-make-user) (required if theme used)
- [sempro/phpunit-pretty-print](https://github.com/sempro/phpunit-pretty-print) (dev)
- [Jorijn/laravel-security-checker](https://github.com/sJorijn/laravel-security-checker) (dev)
- [harmonic/inertia-table](https://github.com/Harmonic/inertia-table) (required if theme used)

### Frontend

[](#frontend)

- [VueJS](https://github.com/vuejs/vue)
- [InertiaJS](https://github.com/inertiajs/inertia) (required if theme used)
- [Tailwind CSS](https://github.com/tailwindcss/tailwindcss) (optional)
- [Cypress](https://github.com/cypress-io/cypress) (optional)
- [Inertia Table Vue](https://github.com/Harmonic/inertia-table-vue) (required if theme used)
- [Vue Tailwind Modal](https://github.com/Harmonic/vue-tailwind-modal) (required if theme used)

### Stubs

[](#stubs)

- .gitignore (to include compiled assets)
- Removes sass, bootstrap and jquery
- Inertia JS configuration (installed with theme)
- Tailwind config (installed with theme)
- Cypress config (placing cypress inside /tests folder)
- Authentication stubs (installed with theme)
- Tailwind admin theme based on [Ping CRM](https://github.com/inertiajs/pingcrm) interface

Credits
-------

[](#credits)

- [Craig Harman](https://github.com/harmonic)
- Laravel 6 compatibility and general clean up by [atymic](https://github.com/atymic)
- [All Contributors](../../contributors)
- Based on [sixlive laravel preset](https://github.com/sixlive/laravel-preset)
- Admin UI based on [Ping CRM](https://github.com/inertiajs/pingcrm)

License
-------

[](#license)

Copyright Harmonic New Media

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 75% 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 ~10 days

Total

9

Last Release

2449d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8861aca590339e178dcfe71ffefc138b28d3a21d0a6f98a9f3f498940382f512?d=identicon)[craigharman](/maintainers/craigharman)

---

Top Contributors

[![atymic](https://avatars.githubusercontent.com/u/50683531?v=4)](https://github.com/atymic "atymic (6 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (2 commits)")

### Embed Badge

![Health badge](/badges/harmonic-laravel-preset/health.svg)

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

###  Alternatives

[wireui/wireui

TallStack components

1.8k1.3M16](/packages/wireui-wireui)[livewire/volt

An elegantly crafted functional API for Laravel Livewire.

4195.3M84](/packages/livewire-volt)[ramonrietdijk/livewire-tables

Dynamic tables for models with Laravel Livewire

21147.4k](/packages/ramonrietdijk-livewire-tables)

PHPackages © 2026

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