binaryk / laravel-restify
Laravel REST API 辅助工具
9.3.1
2024-08-20 11:41 UTC
Requires
- php: ^8.2
- illuminate/contracts: ^11.0
- laravel/pint: ^1.0
- spatie/laravel-data: ^4.4
- spatie/laravel-package-tools: ^1.12
- spatie/once: ^3.0
Requires (Dev)
- brianium/paratest: ^7.0.6
- doctrine/dbal: ^3.0|^4.0
- nunomaduro/collision: ^8.1
- openai-php/laravel: ^0.8.1
- orchestra/testbench: ^9.0
- phpstan/extension-installer: ^1.1
- phpstan/phpstan-deprecation-rules: ^1.0
- phpstan/phpstan-phpunit: ^1.0
- phpunit/phpunit: ^10.0|^11.0
- spatie/laravel-ray: ^1.9
- vimeo/psalm: ^6.0@dev
- 9.x-dev
- 9.3.1
- 9.3.0
- 9.2.0
- 9.1.0
- 9.0.0
- 8.x-dev
- 8.4.0
- 8.3.2
- 8.3.1
- 8.3.0
- 8.2.0
- 8.1.5
- 8.1.4.x-dev
- 8.1.3
- 8.1.2.x-dev
- 8.1.2
- 8.1.1
- 8.1.0
- 8.0.1
- 8.0.0
- 7.x-dev
- 7.11.0
- 7.10.11
- 7.10.4
- 7.10.3
- 7.10.2
- 7.10.1
- 7.10.0
- 7.9.0
- 7.8.0
- 7.7.2
- 7.7.1
- 7.7.0
- 7.6.3
- 7.6.2
- 7.6.1
- 7.6.0
- 7.5.4
- 7.5.3
- 7.5.2
- 7.5.1
- 7.5.0
- 7.4.0
- 7.3.1
- 7.3.0
- 7.2.1
- 7.2.0
- 7.1.0
- 7.0.0
- 6.x-dev
- 6.12.2
- 6.12.1
- 6.12.0
- 6.11.1
- 6.11.0
- 6.10.0
- 6.9.3
- 6.9.2
- 6.9.1
- 6.9.0
- 6.8.2
- 6.8.1
- 6.8.0
- 6.7.1
- 6.7.0
- 6.6.0
- 6.5.0
- 6.4.1
- 6.4.0
- 6.3.0
- 6.2.1
- 6.2.0
- 6.1.0
- 6.0.2
- 6.0.0
- 5.x-dev
- 5.12.0
- 5.11.0
- 5.10.1
- 5.10.0
- 5.5.9
- 5.5.8
- 5.5.7
- 5.5.6
- 5.5.5
- 5.4.4
- 5.4.3
- 5.4.2
- 5.4.1
- 5.4.0
- 5.3.4
- 5.3.3
- 5.3.2
- 5.3.1
- 5.3.0
- 5.2.5
- 5.2.4
- 5.2.3
- 5.2.2
- 5.2.1
- 5.2.0
- 5.1.7
- 5.1.6
- 5.1.5
- 5.1.4
- 5.1.3
- 5.1.2
- 5.1.1
- 5.1.0
- 5.0.2
- 5.0.1
- 5.0.0
- 4.x-dev
- 4.12.4
- 4.12.3
- 4.12.1
- 4.12.0
- 4.11.0
- 4.10.5
- 4.10.4
- 4.10.3
- 4.10.2
- 4.10.1
- 4.10.0
- 4.9.2
- 4.9.1
- 4.9.0
- 4.8.0
- 4.7.0
- 4.6.3
- 4.6.2
- 4.6.1
- 4.6.0
- 4.5.4
- 4.5.3
- 4.5.2
- 4.5.1
- 4.5.0
- 4.4.0
- 4.3.0
- 4.2.0
- 4.1.1
- 4.1.0
- 4.0.1
- 4.0.0
- 3.x-dev
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.2
- 3.12.1
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.1
- 3.5.0
- 3.4.1
- 3.4.0
- 3.3.0
- 3.2.0
- 3.1.0
- 3.0.1
- 3.0.0
- 2.4.0
- 2.3.0
- 2.2.0
- 2.1.2
- 2.1.1
- 2.1.0
- 2.0.2
- 2.0.1
- 2.0.0
- 1.1.4
- 1.1.3
- 1.1.2
- 1.1.1
- 1.1.0
- 1.0.0
- dev-fix-loading-nested
- dev-larastan-support
- dev-fixes
- dev-improvement
- dev-master
- dev-routes-fixes
- dev-association-fix
- dev-recursive-related
- dev-related-fix
- dev-custom-serializer
- dev-elastic-fix
- dev-incase-search
- dev-stuff
- dev-getters
- dev-routes-api
- dev-sort-has-one
- dev-sync-5
- dev-docs-test-vuepress
- dev-policies
- dev-standaone_actions
- dev-match-array-date
- dev-match-feature
This package is auto-updated.
Last update: 2024-09-20 11:52:10 UTC
README
第一个完全可定制的 Laravel JSON:API 构建器。使用 0 (零) 行额外代码实现“CRUD”并保护您的资源。
安装
您可以通过 composer 安装此包
composer require binaryk/laravel-restify
游乐场
您可以在 Restify Demo GitHub 仓库 中找到一个游乐场。
视频
如果您是视觉学习者,请查看我们关于 Laravel Restify 的 视频课程。
快速开始
设置包
php artisan restify:setup
生成仓库
php artisan restify:repository Dream --all
现在您已经拥有了关于梦境和这个美丽仓库的 REST CRUD
现在您可以去 Postman 检查它
GET: http://laravel.test/api/restify/dreams
POST: http://laravel.test/api/restify/dreams
GET: http://laravel.test/api/restify/dreams/1
PUT: http://laravel.test/api/restify/dreams/1
DELETE: http://laravel.test/api/restify/dreams/1
用法
查看 官方文档。
测试
composer test
更新日志
请参阅 更新日志 了解最近的变化。
贡献
请参阅 贡献指南 了解详细信息。
安全
如果您发现任何安全问题,请通过电子邮件 eduard.lupacescu@binarcode.com 或 在推特上联系我,而不是使用问题跟踪器。
致谢
许可证
MIT 许可证 (MIT)。请参阅 许可证文件 了解更多信息。