ajthinking/modeltables

auto detection of models and redering them into tables

Maintainers

πŸ‘ ajthinking

Package info

github.com/ajthinking/modeltables

Type:laravel

pkg:composer/ajthinking/modeltables

Statistics

Installs: 60

Dependents: 0

Suggesters: 0

Stars: 3

Open Issues: 0

v1.0 2017-09-26 07:46 UTC

Requires (Dev)

None

Suggests

None

Provides

None

Conflicts

None

Replaces

None

MIT 35aadf75c48205cce300af283c171cf209566e10

  • Anders JΓΌrisoo <jurisoo.woop@hotmail.com>

This package is auto-updated.

Last update: 2026-06-12 18:51:15 UTC


README

πŸ‘ Latest Stable Version
πŸ‘ Total Downloads
πŸ‘ License
πŸ‘ composer.lock

I found myself constantly going back to tinker or some db tool to check the data in my tables. This package detects any models on the fly and put the data into neat tables.

πŸ‘ modeltables

Enjoy!!

Quickstart

composer require ajthinking/modeltables

That's it. Now you can visit any route like

/models/{model-slug}

Notes

  • 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

Todo

  • 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.

Contributing

  • Pull requests welcome.

Licence

  • MIT