raviyatechnical/laravel-pivot-table-generator

Quickly generate pivot tables for your projects

dev-master 2023-02-11 09:34 UTC

This package is auto-updated.

Last update: 2024-05-11 12:21:14 UTC


README


Logo

Laravel Pivot Table Generator

Quickly generate pivot tables for your projects!



Table of Contents

  1. Installation
  2. Usage
  3. More generator packages
  4. Contributing
  5. License

Installation

Install the package with composer.

composer require raviyatechnical/laravel-pivot-table-generator

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

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

The MIT License (MIT). Please see License File for more information.