{"id":24488070,"url":"https://github.com/api-platform/laravel-demo","last_synced_at":"2025-03-15T00:13:29.337Z","repository":{"id":271563432,"uuid":"913784434","full_name":"api-platform/laravel-demo","owner":"api-platform","description":" Demo app for the API Platform framework using Laravel","archived":false,"fork":false,"pushed_at":"2025-02-10T06:56:33.000Z","size":295,"stargazers_count":0,"open_issues_count":4,"forks_count":0,"subscribers_count":2,"default_branch":"4.0","last_synced_at":"2025-03-10T07:37:11.433Z","etag":null,"topics":["api","api-platform","laravel","php"],"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/api-platform.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"api-platform","open_collective":"api-platform","tidelift":"packagist/api-platform/core"}},"created_at":"2025-01-08T10:50:45.000Z","updated_at":"2025-02-10T06:55:07.000Z","dependencies_parsed_at":"2025-01-08T14:56:14.111Z","dependency_job_id":"92f6e099-3219-4ad8-8348-4bc30a529b5c","html_url":"https://github.com/api-platform/laravel-demo","commit_stats":null,"previous_names":["api-platform/laravel-demo"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/api-platform%2Flaravel-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/api-platform%2Flaravel-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/api-platform%2Flaravel-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/api-platform%2Flaravel-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/api-platform","download_url":"https://codeload.github.com/api-platform/laravel-demo/tar.gz/refs/heads/4.0","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243663585,"owners_count":20327306,"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":["api","api-platform","laravel","php"],"created_at":"2025-01-21T16:18:13.211Z","updated_at":"2025-03-15T00:13:29.330Z","avatar_url":"https://github.com/api-platform.png","language":"PHP","funding_links":["https://github.com/sponsors/api-platform","https://opencollective.com/api-platform","https://tidelift.com/funding/github/packagist/api-platform/core"],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n    \u003ca href=\"https://api-platform.com\"\u003e\n        \u003cimg width=\"400\" height=\"400\" src=\"https://api-platform.com/images/zeus.svg\" alt=\"API Platform\"\u003e\n        \u003cbr /\u003eAPI Platform - Laravel Demo\n    \u003c/a\u003e\n\u003c/h1\u003e\n\nThis application is a demonstration for the [API Platform Framework](https://api-platform.com/) using Laravel.\n\n\u003e [!NOTE]\n\u003e If you use API Platform with Symfony, check out the [API Platform Symfony Demo](https://github.com/api-platform/demo).\n\n[//]: # (TODO: Try it online at \u003chttps://demo.api-platform.com\u003e.)\n\n[//]: # (TODO: add CI badges)\n\n## Install\n\n```console\ngit clone https://github.com/api-platform/laravel-demo.git\ncd laravel-demo\ncomposer install\nphp artisan api-platform:install\nphp artisan migrate\ncomposer dev\n```\n\n\u003e [!TIP]\n\u003e [Read the official \"Getting Started\" Guide for Laravel](https://api-platform.com/docs/laravel/).\n\nYour API is up and running! 🎉\n\n- Visit [http://127.0.0.1:8000/api/](http://127.0.0.1:8000/api/) to explore the fully active and documented API.\n- Check out the demo application at [http://127.0.0.1:8000/](http://127.0.0.1:8000/).\n\n[//]: # (TODO: ## What Can I Find In This Demo?)\n\n[//]: # ()\n[//]: # (This demo application contains several things you may be interested:)\n\n[//]: # ()\n[//]: # (| Feature                                                                                                                                                                                               | Usage                                                                                                                                                                                 |)\n\n[//]: # (|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|)\n\n[//]: # (| [Bringing your Own Model]\u0026#40;https://api-platform.com/docs/distribution/#bringing-your-own-model\u0026#41;                                                                                                        | [Search usage]\u0026#40;https://github.com/search?q=repo%3Aapi-platform%2Fdemo+path%3Aapi%2Fsrc+%22%23%5BApiResource%22\u0026type=code\u0026#41;                                                             |)\n\n[//]: # (| [Model Scaffolding]\u0026#40;https://api-platform.com/docs/schema-generator/getting-started/#model-scaffolding\u0026#41;                                                                                                | [Search usage]\u0026#40;https://github.com/search?q=repo%3Aapi-platform%2Fdemo+path%3Aapi%2Fsrc+%22%23%5BApiProperty%28types%3A%22\u0026type=code\u0026#41;                                                  |)\n\n[//]: # (| [Plugging the Persistence System]\u0026#40;https://api-platform.com/docs/distribution/#plugging-the-persistence-system\u0026#41;                                                                                        | [Search usage]\u0026#40;https://github.com/search?q=repo%3Aapi-platform%2Fdemo+path%3Aapi%2Fsrc+%22%23%5BORM%22\u0026type=code\u0026#41;                                                                     |)\n\n[//]: # (| [Exposing Enums with API Platform]\u0026#40;https://les-tilleuls.coop/blog/exposez-vos-enums-avec-api-platform\u0026#41;                                                                                                | [Search usage]\u0026#40;api/src/Enum\u0026#41;                                                                                                                                                          |)\n\n[//]: # (| [Validating Data]\u0026#40;https://api-platform.com/docs/distribution/#validating-data\u0026#41;                                                                                                                        | [Search usage]\u0026#40;https://github.com/search?q=repo%3Aapi-platform%2Fdemo+path%3Aapi%2Fsrc+%22%23%5BAssert%22\u0026type=code\u0026#41;                                                                  |)\n\n[//]: # (| [Configuring Operations]\u0026#40;https://api-platform.com/docs/core/operations/\u0026#41;                                                                                                                              | [Search usage]\u0026#40;https://github.com/search?q=repo%3Aapi-platform%2Fdemo+path%3Aapi%2Fsrc+%22operations%3A%22\u0026type=code\u0026#41;                                                                 |)\n\n[//]: # (| [Defining Which Operation to Use to Generate the IRI]\u0026#40;https://api-platform.com/docs/core/operations/#defining-which-operation-to-use-to-generate-the-iri\u0026#41;                                             | [Search usage]\u0026#40;https://github.com/search?q=repo%3Aapi-platform%2Fdemo+path%3Aapi%2Fsrc+%22itemUriTemplate%3A%22\u0026type=code\u0026#41;                                                            |)\n\n[//]: # (| [Subresources]\u0026#40;https://api-platform.com/docs/core/subresources/\u0026#41;                                                                                                                                      | [Search usage]\u0026#40;https://github.com/search?q=repo%3Aapi-platform%2Fdemo+path%3Aapi%2Fsrc%2FEntity+%22uriTemplate%3A+%27%2Fbooks%2F%7BbookId%7D%2Freviews%7B._format%7D%27%22\u0026type=code\u0026#41; |)\n\n[//]: # (| [Doctrine ORM Filters]\u0026#40;https://api-platform.com/docs/core/filters/\u0026#41;                                                                                                                                   | [Search usage]\u0026#40;https://github.com/search?q=repo%3Aapi-platform%2Fdemo+path%3Aapi%2Fsrc+%22%23%5BApiFilter%22\u0026type=code\u0026#41;                                                               |)\n\n[//]: # (| [Creating Custom Doctrine ORM Filters]\u0026#40;https://api-platform.com/docs/core/filters/#creating-custom-doctrine-orm-filters\u0026#41;                                                                              | [Search usage]\u0026#40;https://github.com/search?q=repo%3Aapi-platform%2Fdemo+path%3Aapi+%22NameFilter%22+OR+%22app.filter.user.admin.name%22\u0026type=code\u0026#41;                                      |)\n\n[//]: # (| [Overriding Default Order]\u0026#40;https://api-platform.com/docs/core/default-order/\u0026#41;                                                                                                                         | [Search usage]\u0026#40;https://github.com/search?q=repo%3Aapi-platform%2Fdemo+path%3Aapi%2Fsrc+%22order%3A%22\u0026type=code\u0026#41;                                                                      |)\n\n[//]: # (| [Changing the Number of Items per Page Client-side For a Specific Resource]\u0026#40;https://api-platform.com/docs/core/pagination/#changing-the-number-of-items-per-page-client-side-for-a-specific-resource\u0026#41; | [Search usage]\u0026#40;https://github.com/search?q=repo%3Aapi-platform%2Fdemo+path%3Aapi%2Fsrc+%22paginationClientItemsPerPage%22\u0026type=code\u0026#41;                                                  |)\n\n[//]: # (| [Advanced serialization]\u0026#40;https://api-platform.com/docs/core/serialization/\u0026#41;                                                                                                                           | [Search usage]\u0026#40;https://github.com/search?q=repo%3Aapi-platform%2Fdemo+path%3Aapi%2Fsrc+%22%23%5BGroups%22\u0026type=code\u0026#41;                                                                  |)\n\n[//]: # (| [User Support]\u0026#40;https://api-platform.com/docs/core/user/\u0026#41;                                                                                                                                              | [Search usage]\u0026#40;api/src/Entity/User.php\u0026#41;                                                                                                                                               |)\n\n[//]: # (| [Custom Doctrine ORM Extension]\u0026#40;https://api-platform.com/docs/core/extensions/\u0026#41;                                                                                                                       | [Search usage]\u0026#40;api/src/Doctrine/Orm/Extension\u0026#41;                                                                                                                                        |)\n\n[//]: # (| [Custom State Processor]\u0026#40;https://api-platform.com/docs/core/state-processors/\u0026#41;                                                                                                                        | [Search usage]\u0026#40;api/src/State/Processor\u0026#41;                                                                                                                                               |)\n\n[//]: # (| [Creating Async APIs using the Mercure Protocol]\u0026#40;https://api-platform.com/docs/core/mercure/\u0026#41;                                                                                                         | [Search usage]\u0026#40;https://github.com/search?q=repo%3Aapi-platform%2Fdemo+path%3Aapi%2Fsrc%2FEntity+%22mercure%3A%22\u0026type=code\u0026#41;                                                           |)\n\n[//]: # (| [Advanced Authentication and Authorization Rules]\u0026#40;https://api-platform.com/docs/core/security/\u0026#41;                                                                                                       | [Search usage]\u0026#40;https://github.com/search?q=repo%3Aapi-platform%2Fdemo+path%3Aapi%2Fsrc%2FEntity+%22security%3A%22+OR+%22securityPostDenormalize%3A%22\u0026type=code\u0026#41;                      |)\n\n[//]: # (| [API Testing]\u0026#40;https://api-platform.com/docs/core/testing/\u0026#41;                                                                                                                                            | [Search usage]\u0026#40;api/tests\u0026#41;                                                                                                                                                             |)\n\n[//]: # (| [The Admin]\u0026#40;https://api-platform.com/docs/distribution/#the-admin\u0026#41;                                                                                                                                    | [Search usage]\u0026#40;pwa/pages/admin\u0026#41;                                                                                                                                                       |)\n\n[//]: # (| [A Next.js Web App]\u0026#40;https://api-platform.com/docs/distribution/#a-nextjs-web-app\u0026#41;                                                                                                                     | [Search usage]\u0026#40;pwa\u0026#41;                                                                                                                                                                   |)\n\n[//]: # (| [Deploying to a Kubernetes Cluster]\u0026#40;https://api-platform.com/docs/deployment/kubernetes\u0026#41;                                                                                                              | [Search usage]\u0026#40;helm/api-platform\u0026#41;                                                                                                                                                     |)\n\n## Contributing\n\n[Read the contributing guide](.github/CONTRIBUTING.md)\n\n## Credits\n\nCreated by [Vincent Amstoutz](https://github.com/vinceAmstoutz). Commercial support available\nat [Les-Tilleuls.coop](https://les-tilleuls.coop/).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapi-platform%2Flaravel-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapi-platform%2Flaravel-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapi-platform%2Flaravel-demo/lists"}