auto detection of models and redering them into tables
v1.0 2017-09-26 07:46 UTC
composer require ajthinking/modeltables
That's it. Now you can visit any route like
- If your using Laravel < 5.5 you need to manually add the serviceprovider
- By default the package scans /app/ and /app/Models/ and assumes all files there are models
- You might not want this package running in production exposing all your users etc. Then just install with composer require --dev
- Having other files side by side with your Models will propblably crash this package
- Model pages need to be migrated before accessed
- Move model folder paths to a config
- Add path prefix to config
- Check if model has been migrated
- Catch exceptions
- Put links in the table to any related models.
- Pull requests welcome.