PHPackages                             eelcol/laravel-blueprint-group - 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. [Database &amp; ORM](/categories/database)
4. /
5. eelcol/laravel-blueprint-group

ActiveLibrary[Database &amp; ORM](/categories/database)

eelcol/laravel-blueprint-group
==============================

Laravel Blueprint group extension

1.1.0(5y ago)06.8k↓50%[1 issues](https://github.com/eelcol/laravel-blueprint-group/issues)[3 PRs](https://github.com/eelcol/laravel-blueprint-group/pulls)MITPHPPHP ^7.3.0

Since Sep 4Pushed 3y ago1 watchersCompare

[ Source](https://github.com/eelcol/laravel-blueprint-group)[ Packagist](https://packagist.org/packages/eelcol/laravel-blueprint-group)[ RSS](/packages/eelcol-laravel-blueprint-group/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (4)Versions (8)Used By (0)

Laravel Blueprint Group
=======================

[](#laravel-blueprint-group)

Sometimes, you want to group statements in your migration files. For example, when you want to add 3 new columns to a table and don't want to specify an `->after('...')` on every statement. Now you can use the group method!

Example
=======

[](#example)

Lets take the following migration as example:

```
Schema::table('table', function (Blueprint $table) {

	$table->string('new_column_a')->nullable()->after('some_old_column');
	$table->string('new_column_b')->nullable()->after('new_column_a');
	$table->string('new_column_c')->nullable()->after('new_column_b');

});

```

This can be grouped as follows:

```
Schema::table('table', function (Blueprint $table) {

	$table->group(function($group) {

		$group->string('new_column_a');
		$group->string('new_column_b');
		$group->string('new_column_c');

	})->nullable()->after('some_old_column');

});

```

Installation
============

[](#installation)

Require this package with composer.

```
composer require eelcol/laravel-blueprint-group

```

Laravel 5.5 uses Package Auto-Discovery, so doesn't require you to manually add the ServiceProvider.

If you don't use auto-discovery, add the ServiceProvider to the providers array in config/app.php

```
Eelcol\LaravelBlueprintGroup\BlueprintGroupServiceProvider::class,

```

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

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

Total

3

Last Release

1965d ago

PHP version history (2 changes)1.0.2PHP &gt;=7.0.0

1.1.0PHP ^7.3.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/5c875ab5f996be5678de7da1bc0b5fb35d6e9aa87d512afb07df6e4db846d513?d=identicon)[eelcol](/maintainers/eelcol)

---

Top Contributors

[![eelcol](https://avatars.githubusercontent.com/u/9012901?v=4)](https://github.com/eelcol "eelcol (15 commits)")

---

Tags

laravelmigrationgroupblueprint

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/eelcol-laravel-blueprint-group/health.svg)

```
[![Health](https://phpackages.com/badges/eelcol-laravel-blueprint-group/health.svg)](https://phpackages.com/packages/eelcol-laravel-blueprint-group)
```

###  Alternatives

[watson/validating

Eloquent model validating trait.

9723.3M47](/packages/watson-validating)[cybercog/laravel-love

Make Laravel Eloquent models reactable with any type of emotions in a minutes!

1.2k302.7k1](/packages/cybercog-laravel-love)[cviebrock/eloquent-taggable

Easy ability to tag your Eloquent models in Laravel.

567694.8k3](/packages/cviebrock-eloquent-taggable)[clickbar/laravel-magellan

This package provides functionality for working with the postgis extension in Laravel.

423715.4k1](/packages/clickbar-laravel-magellan)[reedware/laravel-relation-joins

Adds the ability to join on a relationship by name.

2121.2M13](/packages/reedware-laravel-relation-joins)[cybercog/laravel-clickhouse

ClickHouse migrations for Laravel

163166.8k](/packages/cybercog-laravel-clickhouse)

PHPackages © 2026

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