Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/peterfox/custom-make-model-command
A demo for customising the Laravel make model command to use singular table names.
https://github.com/peterfox/custom-make-model-command
Last synced: 19 days ago
JSON representation
A demo for customising the Laravel make model command to use singular table names.
- Host: GitHub
- URL: https://github.com/peterfox/custom-make-model-command
- Owner: peterfox
- Created: 2019-03-02T22:31:57.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-02-26T13:43:59.000Z (over 2 years ago)
- Last Synced: 2024-10-12T11:34:37.580Z (about 1 month ago)
- Language: PHP
- Homepage: https://medium.com/@SlyFireFox/laravel-modding-generating-models-with-singular-table-names-8c8f28589d6b
- Size: 521 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 18
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Custom Make Model Command Demo
This repo is the code example for adding a modified make Model command
for a project so that it makes migrations with singular tables e.g. Team
model will be the team table instead of teams.You can read the [article on medium](https://medium.com/@SlyFireFox/laravel-modding-generating-models-with-singular-table-names-8c8f28589d6b)
by [Peter Fox](https://www.peterfox.me/)