PHPackages                             maimake/largen - 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. maimake/largen

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

maimake/largen
==============

laravel generators

v5.7.7(7y ago)170MITPHPPHP ^7.1.3

Since Nov 10Pushed 7y ago1 watchersCompare

[ Source](https://github.com/maimake/largen)[ Packagist](https://packagist.org/packages/maimake/largen)[ RSS](/packages/maimake-largen/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (5)Versions (10)Used By (0)

largen
======

[](#largen)

Laravel framework is too flexible, while has too simple file generators.

Since that, it leaves so many things/configs to developers to use the file generated by laravel, and our poor developers can not remember all of the points.

Now, I make more further: Generate files with templates and enable it automatically BTW

> You should use this package in new project. Because it will change some config/env/script files. **Strongly recommend that using git for checking what files will be changed.**

Feature
-------

[](#feature)

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

[](#requirements)

1. Linux / MacOS
2. php 7.1.3+
3. ruby
4. laravel 5.7.\*

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

[](#installation)

Create an empty laravel project:

```
composer create-project --prefer-dist laravel/laravel blog 5.7.*
cd blog
composer require maimake/largen
./artisan largen:install
```

Now, you can setup some environments with following command

```
# Setup DB configurations first please
>  ./artisan largen:env

# Will create Admin User(admin@admin.com, password)
>  ./artisan migrate --seed

# Run server
>  ./artisan serve              ./artisan largen:vhost user.test       ./artisan largen:env APP_URL http://user.test     yarn start

# Setup Directories for IDEA IDE (Please open project in IDE first.)
>  ./artisan largen:idea
```

One line install and setup

```
name=blog && \
composer create-project --prefer-dist laravel/laravel $name 5.7.* && \
cd $name && \
composer require maimake/largen && \
./artisan largen:install -q && \
./artisan largen:env && \
./artisan migrate --seed && \
./artisan largen:vhost && \
yarn start
```

Memo
====

[](#memo)

Optimize For Production
-----------------------

[](#optimize-for-production)

optimize autoloader

```
composer install --optimize-autoloader --no-dev
```

optimize bootstrap

```
./artisan optimize
```

use redis, change your .env file

```
BROADCAST_DRIVER=redis
CACHE_DRIVER=redis
QUEUE_CONNECTION=redis
SESSION_DRIVER=redis
```

use cache

```
# merge all config file to one , and env
php artisan config:cache

# merge all routes to one function. Except closure-route
php artisan route:cache

# Compile all of the application's Blade templates
php artisan view:cache
```

clear optimize

```
./artisan optimize:clear
./artisan clear-compiled
./artisan config:clear
./artisan route:clear
./artisan view:clear
```

clear cache data

```
./artisan cache:clear
./artisan auth:clear-resets
./artisan queue:flush
```

Maintain Mode
-------------

[](#maintain-mode)

```
# maintain mode and will show with 503.blade.php
php artisan down --allow=127.0.0.1 --allow=192.168.0.0/16
```

How to contribute?
==================

[](#how-to-contribute)

1. fork from this [repository](https://github.com/maimake/largen)
2. clone your repository to a local path (ie. pakcages/largen)
3. create an empty laravel project
4. add following config to the composer.json，change the url where your repository locates.

    ```
        "repositories": [
            { "type": "path", "url": "../packages/*" }
        ]
    ```
5. require the package. And then it will automatically create a Symlinking from your repository path.

    ```
    composer require "maimake/largen":"dev-master"
    ```
6. change some code in path `vendor/maimake/largen`, and finally make a PR to me.

Here is one line command. Replace the path of `packages` as you like:

```
git clone git@github.com:maimake/largen.git packages/largen && \
name=Demo && \
composer create-project --prefer-dist laravel/laravel $name 5.7.* && \
cd $name && \
sed -i '' -e '/"type": "project"/s/$/\' -e '"repositories": [{ "type": "path", "url": "..\/packages\/*" }],/' composer.json && \
composer require "maimake/largen":"dev-master"
```

and then you can do something with many commands in this package

```
./artisan largen:install -q && \
./artisan largen:env && \
./artisan migrate --seed && \
./artisan largen:vhost && \
yarn start
```

License
-------

[](#license)

[MIT](http://opensource.org/licenses/MIT)

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity62

Established project with proven stability

 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.

###  Release Activity

Cadence

Every ~22 days

Recently: every ~36 days

Total

9

Last Release

2565d ago

Major Versions

v0.0.6 → v5.7.72019-03-21

### Community

Maintainers

![](https://www.gravatar.com/avatar/7f99a9e30c68b40bf9c8e8ee6967de47b9c917fcd5fcf1a4976cf1114cb97924?d=identicon)[maimake](/maintainers/maimake)

---

Top Contributors

[![maimake](https://avatars.githubusercontent.com/u/492028?v=4)](https://github.com/maimake "maimake (35 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/maimake-largen/health.svg)

```
[![Health](https://phpackages.com/badges/maimake-largen/health.svg)](https://phpackages.com/packages/maimake-largen)
```

###  Alternatives

[blair2004/nexopos

The Free Modern Point Of Sale System build with Laravel, TailwindCSS and Vue.js.

1.2k2.3k](/packages/blair2004-nexopos)[shlinkio/shlink

A self-hosted and PHP-based URL shortener application with CLI and REST interfaces

4.8k4.3k](/packages/shlinkio-shlink)[gehrisandro/tailwind-merge-laravel

TailwindMerge for Laravel merges multiple Tailwind CSS classes by automatically resolving conflicts between them

341682.2k18](/packages/gehrisandro-tailwind-merge-laravel)[backpack/basset

Dead-simple way to load CSS or JS assets only once per page, when using Laravel 10+.

202832.4k6](/packages/backpack-basset)[firefly-iii/data-importer

Firefly III Data Import Tool.

7545.8k](/packages/firefly-iii-data-importer)[nickurt/laravel-akismet

Akismet for Laravel 11.x/12.x/13.x

97139.6k2](/packages/nickurt-laravel-akismet)

PHPackages © 2026

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