PHPackages                             raviyatechnical/laravel-pivot-table-generator - 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. raviyatechnical/laravel-pivot-table-generator

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

raviyatechnical/laravel-pivot-table-generator
=============================================

Quickly generate pivot tables for your projects

02PHP

Since Feb 11Pushed 3y ago1 watchersCompare

[ Source](https://github.com/raviyatechnical/laravel-pivot-table-generator)[ Packagist](https://packagist.org/packages/raviyatechnical/laravel-pivot-table-generator)[ RSS](/packages/raviyatechnical-laravel-pivot-table-generator/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

[![Logo](https://camo.githubusercontent.com/78b2dea84560101d2fa6fb87affe4484f0f44ee388df01d5da980cee071ee77f/68747470733a2f2f7777772e72616a746563686e6f6c6f676965732e636f6d2f75692f696d616765732f72616a2d746563686e6f6c6f676965732d6c6f676f2d746f702d70616e656c2e6a7067)](https://camo.githubusercontent.com/78b2dea84560101d2fa6fb87affe4484f0f44ee388df01d5da980cee071ee77f/68747470733a2f2f7777772e72616a746563686e6f6c6f676965732e636f6d2f75692f696d616765732f72616a2d746563686e6f6c6f676965732d6c6f676f2d746f702d70616e656c2e6a7067)Laravel Pivot Table Generator
=============================

[](#laravel-pivot-table-generator)

 Quickly generate pivot tables for your projects!

Table of Contents
-----------------

[](#table-of-contents)

1. [Installation](#installation)
2. [Usage](#usage)
3. [More generator packages](#more-generator-packages)
4. [Contributing](#contributing)
5. [License](#license)

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

[](#installation)

Install the package with composer.

```
composer require raviyatechnical/laravel-pivot-table-generator
```

Usage
-----

[](#usage)

Run the following command on the command-line to generate a new migration for the pivot table.

```
php artisan make:pivot {first_table_name} {second_table_name}

```

The command will create a new migration in `database/migrations`. Run the migrations to create the table.

```
php artisan migrate

```

Contributing
------------

[](#contributing)

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

1. Fork the Project
2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`)
3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`)
4. Push to the Branch (`git push origin feature/AmazingFeature`)
5. Open a Pull Request

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

14

—

LowBetter than 2% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity23

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/484d8853ed6af9e62e0170e999ae07b1e827d31aca601953f3e0fc81286799a0?d=identicon)[raviyatechnical](/maintainers/raviyatechnical)

---

Top Contributors

[![bhargavraviya](https://avatars.githubusercontent.com/u/46953122?v=4)](https://github.com/bhargavraviya "bhargavraviya (2 commits)")

### Embed Badge

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

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

###  Alternatives

[scheb/tombstone

Dead code detection with tombstones for PHP

282578.2k2](/packages/scheb-tombstone)

PHPackages © 2026

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