[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-8904":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":16,"stars30d":16,"stars90d":16,"forks30d":16,"starsTrendScore":16,"compositeScore":17,"rankGlobal":10,"rankLanguage":10,"license":18,"archived":19,"fork":19,"defaultBranch":20,"hasWiki":21,"hasPages":19,"topics":22,"createdAt":10,"pushedAt":10,"updatedAt":29,"readmeContent":30,"aiSummary":31,"trendingCount":16,"starSnapshotCount":16,"syncStatus":32,"lastSyncTime":33,"discoverSource":34},8904,"laravel-schematics","mtolhuys\u002Flaravel-schematics","mtolhuys","A Laravel package making a diagram of your models, relations and the ability to build them with it","",null,"Vue",1487,132,31,19,0,54.37,"MIT License",false,"master",true,[23,24,25,26,27,28],"diagrams","drag","drop","explanation","laravel","schematics","2026-06-12 04:00:41","\u003Ch1>\n    \u003Cimg align=\"left\" align=\"bottom\" width=\"40\" height=\"40\" src=\"resources\u002Fimages\u002Ficons\u002Ficon.png\" \u002F>\n    Laravel Schematics\n\u003C\u002Fh1>\n\n[![Latest Version on Packagist](https:\u002F\u002Fimg.shields.io\u002Fpackagist\u002Fv\u002Fmtolhuys\u002Flaravel-schematics.svg?style=flat-square)](https:\u002F\u002Fpackagist.org\u002Fpackages\u002Fmtolhuys\u002Flaravel-schematics)\n[![Build Status](https:\u002F\u002Fimg.shields.io\u002Ftravis\u002Fmtolhuys\u002Flaravel-schematics\u002Fmaster.svg?style=flat-square)](https:\u002F\u002Ftravis-ci.org\u002Fmtolhuys\u002Flaravel-schematics)\n[![Quality Score](https:\u002F\u002Fimg.shields.io\u002Fscrutinizer\u002Fg\u002Fmtolhuys\u002Flaravel-schematics.svg?style=flat-square)](https:\u002F\u002Fscrutinizer-ci.com\u002Fg\u002Fmtolhuys\u002Flaravel-schematics)\n[![Total Downloads](https:\u002F\u002Fimg.shields.io\u002Fpackagist\u002Fdt\u002Fmtolhuys\u002Flaravel-schematics.svg?style=flat-square)](https:\u002F\u002Fpackagist.org\u002Fpackages\u002Fmtolhuys\u002Flaravel-schematics)\n\nThis package allows you to make multiple **diagrams** of your Eloquent **models** and their **relations**.\nIt will help building them providing drag and drop relations, forms to **create** and **edit** your models and many options like\nadding **resource controllers**, **form requests** and running **migrations** by the click of a button or (configurable) automatically.\nIt also will give you insights in the migrations you ran and the ones specified in your migrations folder.  \n\n![Schematics Example](resources\u002Fimages\u002Freadme\u002Fintro.png)\n\nIts aim is to help you (and your team) get more grip on the models from a code perspective, \nthe status of your migrations and build \u002F edit them faster.\n\n---\n    \n## Installation\n\nYou can install the package via composer:\n\n```bash\ncomposer require mtolhuys\u002Flaravel-schematics --dev\n```\n\nRun `php artisan schematics:install` which will do the route caching, create vendor assets in your public folder and\nsetup the configuration file.\n\nOr...\n\n```php\nphp artisan vendor:publish --provider=\"Mtolhuys\\LaravelSchematics\\LaravelSchematicsServiceProvider\"\n```\n\nand visit `{your-app}\u002Fschematics`\n\n---\n\n## Usage\n\n#### Starting out \u002F Searching\nIf you already have a lot of models I recommend you use the search bar to narrow down the diagrams into \nspecific sections f.e:\n\n![Schematics Example](resources\u002Fimages\u002Freadme\u002Fsearch-example.png)\n\nThese searches are saved across your diagrams.\n\n\u003Cimg width=\"800\" src=\"resources\u002Fimages\u002Freadme\u002Fsearch-example.gif\" \u002F>\n\n#### Relations\nWhen you drag and drop the arrow to another model you'll get a form to specify the relation you want to build f.e:\n\n\u003Cimg width=\"800\" src=\"resources\u002Fimages\u002Freadme\u002Frelation-example.gif\" \u002F>\n\nClicking on them will show something like:\n\n![Relation Example](resources\u002Fimages\u002Freadme\u002Frelation-example.png)\n\n#### Building \u002F Editing Models\n\nTo specify the types of your columns I've chosen the form request rule syntax. \nTo see what's available you can click the little help icon below the fields in the model form:\n\n![Fields Explanation](resources\u002Fimages\u002Freadme\u002Ffields-explanation.png)\n\nThe package is flexible enough to differentiate between renaming and changing column types. \nIt will create migrations according the need to change or create a table and setup your `$fillables`.\nI do **strongly** suggest you check the migrations before running them if the stakes are high.\n\nYou don't have to worry about existing migrations though, the package will only look for migrations it created itself\nby checking the value of the `@tag` in the comment it adds. It looks like this:\n\n```php\n\u002F**\n * Laravel Schematics\n *\n * WARNING: removing @tag value will disable automated removal\n *\n * @package Laravel-schematics\n * @author  Maarten Tolhuijs \u003Cmtolhuys@protonmail.com>\n * @url     https:\u002F\u002Fgithub.com\u002Fmtolhuys\u002Flaravel-schematics\n * @tag     laravel-schematics-foobar-model\n *\u002F\n```\n\n#### Changing Diagram Style\n\nThere are 4 diagram styles. Bezier, Straight, Flowchart and State Machine:\n\n\u003Cimg width=\"800\" src=\"resources\u002Fimages\u002Freadme\u002Fstyles-example.gif\" \u002F>\n\n#### Importing \u002F Exporting Diagrams\n\nTo save and \u002F or share the diagrams you created you can use the export and import settings feature:\n\n\u003Cimg width=\"800\" src=\"resources\u002Fimages\u002Freadme\u002Fexport-import-example.gif\" \u002F>\n\n---\n\n### Testing\n\nYou can run the tests with:\n\n```bash\ncomposer test\n```\n\nOr, optionally, with coverage information:\n\n```bash\ncomposer test-coverage\n```\n\n### Changelog\n\nPlease see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.\n\n## Credits\n\nThis package is possible because of the effort and time of these people! ✨\n\n\u003C!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->\n\u003C!-- prettier-ignore-start -->\n\u003C!-- markdownlint-disable -->\n\u003Ctable>\n    \u003Ctr>\n        \u003Ctd align=\"center\">\n            \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fmtolhuys\">\n                \u003Cimg src=\"https:\u002F\u002Favatars1.githubusercontent.com\u002Fu\u002F10849136?s=400&v=4\" width=\"100px;\" alt=\"\"\u002F>\u003Cbr\u002F>\n                \u003Csub>\u003Cb>Maarten Tolhuijs\u003C\u002Fb>\u003C\u002Fsub>\n            \u003C\u002Fa>\n            \u003Cbr\u002F>\n                \u003Ca>Creator️\u003C\u002Fa>\n        \u003C\u002Ftd>\n        \u003Ctd align=\"center\">\n            \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fdtolhuijs\">\n                \u003Cimg src=\"https:\u002F\u002Favatars0.githubusercontent.com\u002Fu\u002F16704769?s=400&v=4\" width=\"100px;\" alt=\"\"\u002F>\u003Cbr\u002F>\n                \u003Csub>\u003Cb>Deisi Tolhuijs\u003C\u002Fb>\u003C\u002Fsub>\n            \u003C\u002Fa>\n            \u003Cbr\u002F>\n            \u003Ca>Design\u003C\u002Fa>\n            \u003Cbr\u002F>\n        \u003C\u002Ftd>\n        \u003Ctd align=\"center\">\n            \u003Ca href=\"https:\u002F\u002Fgithub.com\u002FDennis-Mwea\">\n                \u003Cimg src=\"https:\u002F\u002Favatars0.githubusercontent.com\u002Fu\u002F22258295?s=400&v=4\" width=\"100px;\" alt=\"\"\u002F>\u003Cbr\u002F>\n                \u003Csub>\u003Cb>Dennis Mwea\u003C\u002Fb>\u003C\u002Fsub>\n            \u003C\u002Fa>\n            \u003Cbr\u002F>\n            \u003Ca>Contributor\u003C\u002Fa>\n            \u003Cbr\u002F>\n        \u003C\u002Ftd>\n        \u003Ctd align=\"center\">\n            \u003Ca href=\"https:\u002F\u002Fgithub.com\u002FRoboroads\">\n                \u003Cimg src=\"https:\u002F\u002Favatars3.githubusercontent.com\u002Fu\u002F4398301?s=400&v=4\" width=\"100px;\" alt=\"\"\u002F>\u003Cbr\u002F>\n                \u003Csub>\u003Cb>Robbin Schepers\u003C\u002Fb>\u003C\u002Fsub>\n            \u003C\u002Fa>\n            \u003Cbr\u002F>\n            \u003Ca>Contributor\u003C\u002Fa>\n            \u003Cbr\u002F>\n        \u003C\u002Ftd>\n        \u003Ctd align=\"center\">\n            \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fbramvanrijswijk\">\n                \u003Cimg src=\"https:\u002F\u002Favatars1.githubusercontent.com\u002Fu\u002F26224522?s=400&v=4\" width=\"100px;\" alt=\"\"\u002F>\u003Cbr\u002F>\n                \u003Csub>\u003Cb>Bram van Rijswijk\u003C\u002Fb>\u003C\u002Fsub>\n            \u003C\u002Fa>\n            \u003Cbr\u002F>\n            \u003Ca>Support\u003C\u002Fa>\n            \u003Cbr\u002F>\n        \u003C\u002Ftd>\n        \u003Ctd align=\"center\">\n            \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Felbojoloco\">\n                \u003Cimg src=\"https:\u002F\u002Favatars2.githubusercontent.com\u002Fu\u002F7912315?s=400&v=4\" width=\"100px;\" alt=\"\"\u002F>\u003Cbr\u002F>\n                \u003Csub>\u003Cb>Lucas Snel\u003C\u002Fb>\u003C\u002Fsub>\n            \u003C\u002Fa>\n            \u003Cbr\u002F>\n            \u003Ca>Contributor\u003C\u002Fa>\n            \u003Cbr\u002F>\n        \u003C\u002Ftd>\n    \u003C\u002Ftr>\n\u003C\u002Ftable>\n\n\u003C!-- markdownlint-enable -->\n\u003C!-- prettier-ignore-end -->\n\u003C!-- ALL-CONTRIBUTORS-LIST:END -->\n\n## Contributing\n\nSince I'm getting some questions about this I want these things to be perfectly clear:\n\n- This is a **safe** haven for contributions, every (positive) contributon matters!\n- You are free (and encouraged) to use **anything** of this package for your own ideas.\n- You can **always** ask for help or email me directly for any questions.\n\nPlease see [CONTRIBUTING](CONTRIBUTING.md) for further details.\n\n### Security\n\nIf you discover any security related issues, please email mtolhuys@protonmail.com instead of using the issue tracker.\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.\n","mtolhuys\u002Flaravel-schematics 是一个 Laravel 扩展包，用于生成模型及其关系的图表，并提供构建和编辑这些模型的功能。它支持拖放操作来创建和管理模型间的关系，同时提供表单来创建、编辑模型以及资源控制器、表单请求等选项，甚至可以一键运行迁移。此外，该工具还能够展示已执行的迁移与迁移文件夹中定义的迁移状态对比。适合需要可视化 Laravel 项目中 Eloquent 模型结构及其相互关系的开发者或团队使用，有助于提高开发效率和代码理解度。",2,"2026-06-11 03:20:14","top_language"]