PHPackages                             cba85/laravel-init - 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. cba85/laravel-init

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

cba85/laravel-init
==================

Quickly initialize a Laravel/Lumen projet using terminal.

14PHP

Since Jun 30Pushed 4y ago1 watchersCompare

[ Source](https://github.com/cba85/laravel-init)[ Packagist](https://packagist.org/packages/cba85/laravel-init)[ RSS](/packages/cba85-laravel-init/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel (quick) init
====================

[](#laravel-quick-init)

Quickly initialize a Laravel/Lumen project using terminal.

This package:

1. Clean vendor and node\_modules folder if provided
2. ⚠️ Reset your local MySQL `laravel` or `homestead` database or create it
3. Install Composer/NPM dependencies
4. Create `.env` file based on `.env.example` file and generate `APP_KEY`
5. Clear Laravel caches (route, config, cache)
6. Migrate and seed database

Why creating this package?
--------------------------

[](#why-creating-this-package)

I work as a web development teacher and frequently give assignments to my students. I teach them how to use Laravel, and then, they have to create many different Laravel projects for educational purpose.

That's why I need to quickly set up their Laravel project to be able to test and mark their projects.

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

[](#requirements)

### Composer

[](#composer)

Make sure [Composer](https://getcomposer.org/download/) is installed globally.

Install
-------

[](#install)

```
$ composer global require cba85/laravel-init
```

Then make sure you have the global Composer binaries directory in your PATH.

This directory is platform-dependent, see [Composer documentation](https://getcomposer.org/doc/03-cli.md#composer-home) for details.

### Update

[](#update)

```
$ composer global update cba85/laravel-init
```

Usage
-----

[](#usage)

Go inside a Laravel project folder.

```
$ laravel-init
```

Options
-------

[](#options)

### --lumen

[](#--lumen)

Initialize a Lumen project.

```
$ laravel-init --lumen
```

### --npm

[](#--npm)

Initialize a laravel project using npm.

```
$ laravel-init --npm
```

Dependencies
------------

[](#dependencies)

- [Symfony console](https://symfony.com/doc/current/components/console.html)

Tests
-----

[](#tests)

No test yet.

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity29

Early-stage or recently created project

 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/6f8dae5dac31d448b3ae83800c9c084dd576e2c5ef16b6313710048b2904c5db?d=identicon)[cba85](/maintainers/cba85)

---

Top Contributors

[![cba85](https://avatars.githubusercontent.com/u/720547?v=4)](https://github.com/cba85 "cba85 (6 commits)")

---

Tags

initializerlaravelsetup

### Embed Badge

![Health badge](/badges/cba85-laravel-init/health.svg)

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

###  Alternatives

[wp-cli/wp-cli

WP-CLI framework

5.0k17.2M320](/packages/wp-cli-wp-cli)[consolidation/annotated-command

Initialize Symfony Console commands from annotated command class methods.

22569.8M19](/packages/consolidation-annotated-command)[chi-teck/drupal-code-generator

Drupal code generator

26947.8M5](/packages/chi-teck-drupal-code-generator)[seld/cli-prompt

Allows you to prompt for user input on the command line, and optionally hide the characters they type

24725.8M17](/packages/seld-cli-prompt)[illuminate/console

The Illuminate Console package.

12944.1M5.1k](/packages/illuminate-console)[php-tui/php-tui

Comprehensive TUI library heavily influenced by Ratatui

589747.0k6](/packages/php-tui-php-tui)

PHPackages © 2026

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