{"id":22276180,"url":"https://github.com/noud/laravel-api-platform","last_synced_at":"2025-10-05T20:07:20.918Z","repository":{"id":57028608,"uuid":"290554483","full_name":"noud/laravel-api-platform","owner":"noud","description":"REST conform OpenAPI back end in SaaS Laravel with code generation from ER model.","archived":false,"fork":false,"pushed_at":"2021-01-07T16:52:57.000Z","size":47,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-01-30T15:28:19.699Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/noud.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-08-26T16:54:47.000Z","updated_at":"2024-10-07T23:12:27.000Z","dependencies_parsed_at":"2022-08-23T17:40:49.172Z","dependency_job_id":null,"html_url":"https://github.com/noud/laravel-api-platform","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noud%2Flaravel-api-platform","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noud%2Flaravel-api-platform/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noud%2Flaravel-api-platform/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noud%2Flaravel-api-platform/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/noud","download_url":"https://codeload.github.com/noud/laravel-api-platform/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245509661,"owners_count":20627027,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-03T14:13:53.698Z","updated_at":"2025-10-05T20:07:15.886Z","avatar_url":"https://github.com/noud.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Generate [API-Platform](http://api-platform.com) compatible [front end](http://en.wikipedia.org/wiki/Front_end_and_back_end)s from [ER model](http://en.wikipedia.org/wiki/Entity%E2%80%93relationship_model)\n\nThis Laravel PHP package is [automatic programming](http://en.wikipedia.org/wiki/Automatic_programming) from ER model to [API](http://en.wikipedia.org/wiki/API) [CRUD](http://en.wikipedia.org/wiki/Create,_read,_update_and_delete) [back end](http://en.wikipedia.org/wiki/Front_end_and_back_end).\n\nThe resulting back end is partly API-Platform compatible so there front end [client generator component](http://api-platform.com/docs/client-generator) works.\n\n* [RESTful](http://en.wikipedia.org/wiki/Representational_state_transfer) [REST](http://en.wikipedia.org/wiki/REST)\n    * [JSON](http://en.wikipedia.org/wiki/JSON)\n        * [Swagger](http://swagger.io)\n            * [React](http://reactjs.org)\n                * [CRA](http://create-react-app.dev)\n                    \u003c!-- - [React-Admin](http://marmelab.com/react-admin) [example](http://github.com/noud/react-admin-openapi/blob/master/README.md) --\u003e\n                    - [Redux](http://redux.js.org) [PWA](http://en.wikipedia.org/wiki/Progressive_web_applications) [demo](http://github.com/noud/react-swagger-laravel-api-platform-demo)\n                \u003c!-- - [Next.js](http://nextjs.org) [Express](http://expressjs.com) [front end example](http://github.com/noud/react-next-express-openapi/blob/master/README.md) --\u003e\n            \u003c!-- - [Vue.js](http://vuejs.org) [Single-page application (SPA)](http://en.wikipedia.org/wiki/Single-page_application), [web application or site example](http://github.com/noud/vue-openapi/blob/master/README.md) --\u003e\n\n## Workflow\n\n```\ncomposer install noud/laravel-api-platform\n```\n\nUse [erd-js](https://github.com/noud/erd-js) to transform the .er to React.js Entity-relationship diagram front end .json.\n```\ncd ../erd-js \u0026\u0026 npm transform\n```\n\nImport in React.js Entity-relationship diagram front end\n\nExport Laravel databases migrations\n\n```\n# install generator\nphp artisan infyom:publish\nphp artisan vendor:publish --provider=\"Appointer\\Swaggervel\\SwaggervelServiceProvider\"\n# install swaggervel\nphp artisan vendor:publish --tag=public\nphp artisan vendor:publish --tag=config\nphp artisan vendor:publish --tag=views\n# migrate database\nphp artisan migrate\n# generate Models and Swagger API end-points\nphp artisan api-platform:generate\n# generate Entity Relationship Diagram\nphp artisan generate:erd\n```\n\n## Depends on packages\n\n* [CORS Middleware for Laravel](https://github.com/fruitcake/laravel-cors)\n* [InfyOm Laravel Generator](http://github.com/infyomlabs/laravel-generator)\n    * [Swagger Generator](http://github.com/infyomlabs/swagger-generator)\n* [Swaggervel](http://github.com/appointer/swaggervel)\n* [Laravel/Lumen schema builder](http://github.com/Agontuk/schema-builder)\n\n# [📁](http://github.com/noud)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoud%2Flaravel-api-platform","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnoud%2Flaravel-api-platform","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoud%2Flaravel-api-platform/lists"}