ajthinking/modeltables 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

ajthinking/modeltables

Composer 安装命令:

composer require ajthinking/modeltables

包简介

auto detection of models and redering them into tables

README 文档

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

统计信息

  • 总下载量: 60
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 1
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-09-26

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固