timwassenburg/laravel-pivot-table-generator
最新稳定版本:v1.0.1
Composer 安装命令:
composer require timwassenburg/laravel-pivot-table-generator
包简介
Quickly generate pivot tables for your projects
README 文档
README
Table of Contents
Installation
Install the package with composer.
composer require timwassenburg/laravel-pivot-table-generator --dev
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
Testing
Run the tests with:
composer test
More generator packages
Looking for more ways to speed up your workflow? Make sure to check out these packages.
- Laravel Action Generator
- Laravel Pivot Table Generator
- Laravel Repository Generator
- Laravel Service Generator
- Laravel Trait Generator
The packages mentioned above are part of Laravel Artisan Extender.
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!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 19.89k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 8
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-11-14
