Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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/)