PHPackages                             felixdorn/laravel-make-pivot-table - 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. felixdorn/laravel-make-pivot-table

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

felixdorn/laravel-make-pivot-table
==================================

An artisan command to create a pivot table with Laravel.

0.1.1(4y ago)119061MITPHPPHP ^8.0

Since Nov 7Pushed 4y ago1 watchersCompare

[ Source](https://github.com/felixdorn/laravel-make-pivot-table)[ Packagist](https://packagist.org/packages/felixdorn/laravel-make-pivot-table)[ RSS](/packages/felixdorn-laravel-make-pivot-table/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (2)Dependencies (5)Versions (3)Used By (0)

`make:pivot` for Laravel
========================

[](#makepivot-for-laravel)

[![Tests](https://github.com/felixdorn/laravel-make-pivot-table/actions/workflows/tests.yml/badge.svg?branch=master)](https://github.com/felixdorn/laravel-make-pivot-table/actions/workflows/tests.yml)[![Formats](https://github.com/felixdorn/laravel-make-pivot-table/actions/workflows/formats.yml/badge.svg?branch=master)](https://github.com/felixdorn/laravel-make-pivot-table/actions/workflows/formats.yml)[![Version](https://camo.githubusercontent.com/276352821a1b9260a84f331218afa34a6fefbbbe7c456aebdd30a25019648263/68747470733a2f2f706f7365722e707567782e6f72672f66656c6978646f726e2f6c61726176656c2d6d616b652d7069766f742d7461626c652f76657273696f6e)](//packagist.org/packages/felixdorn/laravel-make-pivot-table)[![Total Downloads](https://camo.githubusercontent.com/92ba6f883ebeff2abce94bd26ac6d1f4d6a73e039677b4b76cb4e22c008bdd10/68747470733a2f2f706f7365722e707567782e6f72672f66656c6978646f726e2f6c61726176656c2d6d616b652d7069766f742d7461626c652f646f776e6c6f616473)](//packagist.org/packages/felixdorn/laravel-make-pivot-table)[![License](https://camo.githubusercontent.com/55b601e33ffce469d5ca88010d6d83ece9f410eb39452b14405d896b5563f67b/68747470733a2f2f706f7365722e707567782e6f72672f66656c6978646f726e2f6c61726176656c2d6d616b652d7069766f742d7461626c652f6c6963656e7365)](//packagist.org/packages/felixdorn/laravel-make-pivot-table)

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

[](#installation)

> Requires [PHP 8.0.0+](https://php.net/releases)

You can install the package via composer:

```
composer require felixdorn/laravel-make-pivot-table
```

Usage
-----

[](#usage)

```
php artisan make:pivot [first_table] [second_table]

```

You don't have to put them in alphabetical order necessarily as we sort them anyway.

Testing
-------

[](#testing)

```
composer test
```

**laravel-make-pivot-table** was created by **[Félix Dorn](https://twitter.com/afelixdorn)** under the **[MIT license](https://opensource.org/licenses/MIT)**.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity46

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

Total

2

Last Release

1646d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/eeca3822ab1a1281e77e0c4f7bdb671c840417def9884107629952224ce42eb0?d=identicon)[felixdorn](/maintainers/felixdorn)

---

Top Contributors

[![felixdorn](https://avatars.githubusercontent.com/u/55788595?v=4)](https://github.com/felixdorn "felixdorn (12 commits)")

---

Tags

package

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/felixdorn-laravel-make-pivot-table/health.svg)

```
[![Health](https://phpackages.com/badges/felixdorn-laravel-make-pivot-table/health.svg)](https://phpackages.com/packages/felixdorn-laravel-make-pivot-table)
```

###  Alternatives

[doctrine/orm

Object-Relational-Mapper for PHP

10.2k285.3M6.2k](/packages/doctrine-orm)[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k115.1M102](/packages/jdorn-sql-formatter)[illuminate/database

The Illuminate Database package.

2.8k52.4M9.4k](/packages/illuminate-database)[mongodb/mongodb

MongoDB driver library

1.6k64.0M546](/packages/mongodb-mongodb)[ramsey/uuid-doctrine

Use ramsey/uuid as a Doctrine field type.

90340.3M211](/packages/ramsey-uuid-doctrine)[reliese/laravel

Reliese Components for Laravel Framework code generation.

1.7k3.4M16](/packages/reliese-laravel)

PHPackages © 2026

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