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.9k↓92.9%[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 today

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 57% 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

2017d ago

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

1.1.0PHP ^7.3.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/9012901?v=4)[eelcol](/maintainers/eelcol)[@eelcol](https://github.com/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

[spatie/laravel-medialibrary

Associate files with Eloquent models

6.1k43.2M631](/packages/spatie-laravel-medialibrary)[mongodb/laravel-mongodb

A MongoDB based Eloquent model and Query builder for Laravel

7.1k8.4M96](/packages/mongodb-laravel-mongodb)[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[yajra/laravel-oci8

Oracle DB driver for Laravel via OCI8

8793.2M25](/packages/yajra-laravel-oci8)[kirschbaum-development/eloquent-power-joins

The Laravel magic applied to joins.

1.6k32.6M46](/packages/kirschbaum-development-eloquent-power-joins)[glushkovds/phpclickhouse-laravel

Adapter of the most popular library https://github.com/smi2/phpClickHouse to Laravel

2051.5M2](/packages/glushkovds-phpclickhouse-laravel)

PHPackages © 2026

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