{"id":21186945,"url":"https://github.com/bump-sh-examples/laravel-code-first","last_synced_at":"2025-07-25T03:13:13.379Z","repository":{"id":218086817,"uuid":"745575612","full_name":"bump-sh-examples/laravel-code-first","owner":"bump-sh-examples","description":"Add OpenAPI powered documentation to your Laravel application with Swagger-PHP.","archived":false,"fork":false,"pushed_at":"2024-03-11T16:05:14.000Z","size":103,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-03T20:59:20.777Z","etag":null,"topics":["api","api-code-first","api-documentation","api-documentation-tool","api-rest","code-first","laravel","laravel-framework","laravel10","oas3","openapi","swagger"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bump-sh-examples.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE_CC-BY-NC-SA-4.0","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}},"created_at":"2024-01-19T16:27:22.000Z","updated_at":"2025-03-12T20:31:42.000Z","dependencies_parsed_at":"2024-02-27T17:27:57.097Z","dependency_job_id":"e30ca751-61e8-4f80-ab4b-6dba2f4aa14b","html_url":"https://github.com/bump-sh-examples/laravel-code-first","commit_stats":null,"previous_names":["bump-sh-examples/laravel-code-first"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bump-sh-examples/laravel-code-first","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bump-sh-examples%2Flaravel-code-first","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bump-sh-examples%2Flaravel-code-first/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bump-sh-examples%2Flaravel-code-first/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bump-sh-examples%2Flaravel-code-first/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bump-sh-examples","download_url":"https://codeload.github.com/bump-sh-examples/laravel-code-first/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bump-sh-examples%2Flaravel-code-first/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266947355,"owners_count":24010711,"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","status":"online","status_checked_at":"2025-07-25T02:00:09.625Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-code-first","api-documentation","api-documentation-tool","api-rest","code-first","laravel","laravel-framework","laravel10","oas3","openapi","swagger"],"created_at":"2024-11-20T18:27:17.069Z","updated_at":"2025-07-25T03:13:13.337Z","avatar_url":"https://github.com/bump-sh-examples.png","language":"PHP","readme":"# Laravel Code First\n\nA quick \"Hello World\" Laravel application, but for generating OpenAPI, using the Laravel extension [Swagger-PHP](https://zircote.github.io/swagger-php/).\n\nThis repository was built as sample code for the Bump.sh guide on [Generating OpenAPI docs for Laravel with Swagger-PHP](https://docs.bump.sh/guides/openapi/code-first-laravel/).\n\n## Usage\n\nClone the repository down to give it a try.\n\n```\n# Set everything up\n$ composer install\n\n# Export the OpenAPI\n$ ./vendor/bin/openapi app -o openapi.yaml\n\n# Take a look at the generated OpenAPI\ncat openapi.yaml\n```\n\nPreview how the API reference docs look [on Bump.sh](https://bump.sh/bump-examples/hub/code-samples/doc/laravel-code-first).\n\n## License\n\nThe contents of this repository are licensed under [CC BY-NC-SA\n  4.0](./LICENSE_CC-BY-NC-SA-4.0).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbump-sh-examples%2Flaravel-code-first","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbump-sh-examples%2Flaravel-code-first","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbump-sh-examples%2Flaravel-code-first/lists"}