2017 © Pedro Peláez
 

laravel modeltables

auto detection of models and redering them into tables

image

ajthinking/modeltables

auto detection of models and redering them into tables

  • Saturday, October 21, 2017
  • by ajthinking
  • Repository
  • 1 Watchers
  • 4 Stars
  • 34 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 3 Versions
  • 26 % Grown

The README.md

ModelTables for Laravel

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., (*1)

modeltables, (*2)

Enjoy!!, (*3)

Quickstart

composer require ajthinking/modeltables

That's it. Now you can visit any route like, (*4)

/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

The Versions

21/10 2017

dev-master

9999999-dev

auto detection of models and redering them into tables

  Sources   Download

MIT

The Requires

 

by Anders Jurisoo

26/09 2017

v1.0

1.0.0.0

auto detection of models and redering them into tables

  Sources   Download

MIT

The Requires

 

by Anders Jurisoo

26/09 2017

0.1

0.1.0.0

auto detection of models and redering them into tables

  Sources   Download

MIT

The Requires

 

by Anders Jurisoo