npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@rakaya07/larafast

v0.1.0

Published

CLI tool to quickly bootstrap Laravel projects.

Readme

Larafast

CLI tool to scaffold Laravel projects instantly with a guided setup wizard.

npm version Downloads Node.js License: MIT Platform GitHub stars


Installation

Install globally:

npm install -g larafast

Or run directly with npx:

npx larafast new my-project

Usage

Create a new Laravel project:

larafast new blog

Run environment diagnostics:

larafast doctor

Features

  • Interactive project wizard
  • Laravel installer automation
  • Database configuration (MySQL, PostgreSQL, SQLite)
  • Auth system setup (Breeze / Jetstream)
  • Admin panels (Filament / Voyager)
  • Docker setup
  • Git initialization
  • Cross-platform (Windows, macOS, Linux)

Example

larafast new saas-app
Creating Laravel project: saas-app

? Auth system:        › Breeze
? Frontend stack:     › React
? Database:           › MySQL
? Admin panel:        › None
? Docker setup?       › No
? Initialize Git?     › Yes

Pipeline steps:
  1. laravel-install   — Install Laravel project using composer
  2. database-mysql    — Configure MySQL database
  3. auth-breeze       — Install Laravel Breeze
  4. frontend-react    — Set up React with Vite
  5. git-init          — Initialize Git repository

✔ Install Laravel project using composer
✔ Configure MySQL database
✔ Install Laravel Breeze
✔ Set up React with Vite
✔ Initialize Git repository

Demo

Add a terminal demo GIF here later.

Larafast demo


Prerequisites

Check your environment before running:

larafast doctor

| Tool | Required | Notes | |------|----------|-------| | Node.js | ✅ v18+ | Runtime for the CLI | | npm | ✅ | Package management | | Composer | ✅ | Laravel installation | | PHP | ✅ 8.2+ | Laravel runtime | | Git | ✅ | Version control | | Docker | Optional | Only if using --docker | | MySQL / PostgreSQL | Optional | Depends on DB choice |


Commands

larafast new <project-name>

Creates a new Laravel project with the selected configuration.

# Interactive wizard
larafast new blog

# With flags — skips matching prompts
larafast new blog --breeze --react --mysql --git

# Using a preset
larafast new blog --preset saas

larafast doctor

Checks your environment for all required tools.

larafast doctor
Checking environment...

✔ Node.js
✔ npm
✔ Composer
✔ Git
✔ Git identity
✔ Docker
✔ Docker Compose
✔ npm spawn test
✔ composer spawn test

CLI Flags

Skip the wizard by passing flags directly. Mix and match — only unanswered questions will be prompted.

Auth

| Flag | Description | |------|-------------| | --breeze | Install Laravel Breeze (lightweight auth scaffold) | | --jetstream | Install Laravel Jetstream (full-featured auth + teams) |

Breeze and Jetstream are mutually exclusive.

Frontend

| Flag | Description | |------|-------------| | --blade | Blade templating (Laravel default) | | --react | React with Vite | | --vue | Vue 3 with Vite |

Database

| Flag | Description | |------|-------------| | --mysql | MySQL (localhost:3306) | | --postgres | PostgreSQL (localhost:5432) | | --sqlite | SQLite (file-based, zero config) |

Admin Panel

| Flag | Description | Laravel Version | |------|-------------|-----------------| | --filament | Filament v3 admin panel | 10, 11, 12 | | --voyager | Voyager admin panel | 10 only |

Extras

| Flag | Description | |------|-------------| | --docker | Generate docker-compose.yml, Dockerfile, Nginx config | | --git | Initialize Git repo with initial commit | | --preset <name> | Load a pre-defined configuration (basic, saas, api) |


Presets

larafast new blog --preset basic    # Prompts: auth, frontend, database, admin
larafast new blog --preset saas    # No prompts — fully configured
larafast new blog --preset api     # Prompts: frontend, admin

saas preset:

{
  "auth": "Breeze",
  "frontend": "React",
  "database": "MySQL",
  "admin": "Filament",
  "docker": false,
  "git": true
}

Architecture

bin/larafast.js
    │
    ├── src/commands/new.js
    │       ├── Wizard (projectWizard.js)
    │       ├── Compatibility checker
    │       ├── Config resolver (Laravel version)
    │       └── Pipeline builder
    │               │
    │               └── Pipeline engine (ora spinner)
    │                       │
    │                       └── Modules
    │                           laravel │ database │ auth │ frontend │ admin │ docker │ git
    │
    └── src/commands/doctor.js

Project Structure

larafast/
├── bin/
│   └── larafast.js
├── src/
│   ├── commands/
│   │   ├── new.js
│   │   └── doctor.js
│   ├── core/
│   │   ├── engine/pipelineEngine.js
│   │   ├── pipeline/
│   │   │   ├── pipelineBuilder.js
│   │   │   ├── compatibilityChecker.js
│   │   │   └── configResolver.js
│   │   └── wizard/projectWizard.js
│   ├── modules/
│   │   ├── core/laravelInstall.js
│   │   ├── auth/
│   │   ├── database/
│   │   ├── frontend/
│   │   ├── admin/
│   │   ├── docker/
│   │   ├── git/
│   │   └── utils/spawnAsync.js
│   └── presets/
│       ├── basic.json
│       ├── saas.json
│       └── api.json
└── package.json

Dependencies

| Package | Version | Purpose | |---------|---------|---------| | commander | ^14.0.0 | CLI argument parsing | | @inquirer/prompts | ^7.5.1 | Interactive wizard prompts | | ora | ^5.4.1 | Terminal spinner | | mysql2 | ^3.19.1 | MySQL connection testing | | pg | ^8.20.0 | PostgreSQL connection testing |


Contributing

  1. Fork the repository
  2. Create a feature branch: git checkout -b feature/my-feature
  3. Commit your changes: git commit -m "Add my feature"
  4. Push and open a Pull Request

Repository

https://github.com/rakaya07/larafast


License

MIT — see LICENSE for details.


Built with ❤️ for the Laravel community

Back to top