{"id":19310943,"url":"https://github.com/sr2ds/laravel-api-stubs","last_synced_at":"2026-03-02T05:30:54.931Z","repository":{"id":127378514,"uuid":"487076882","full_name":"sr2ds/laravel-api-stubs","owner":"sr2ds","description":"Stubs to Good API RestFull with Laravel -Resource + Tests + Swagger","archived":false,"fork":false,"pushed_at":"2022-04-29T18:45:00.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-24T03:31:37.455Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sr2ds.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}},"created_at":"2022-04-29T18:41:33.000Z","updated_at":"2022-04-29T18:45:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"54b23256-baa8-4070-977a-9267be0c0381","html_url":"https://github.com/sr2ds/laravel-api-stubs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sr2ds/laravel-api-stubs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sr2ds%2Flaravel-api-stubs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sr2ds%2Flaravel-api-stubs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sr2ds%2Flaravel-api-stubs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sr2ds%2Flaravel-api-stubs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sr2ds","download_url":"https://codeload.github.com/sr2ds/laravel-api-stubs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sr2ds%2Flaravel-api-stubs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29993376,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-02T01:47:34.672Z","status":"online","status_checked_at":"2026-03-02T02:00:07.342Z","response_time":60,"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":[],"created_at":"2024-11-10T00:27:03.292Z","updated_at":"2026-03-02T05:30:54.901Z","avatar_url":"https://github.com/sr2ds.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Laravel Stubs\n\nThis repository contains some stubs to simplify your life with Laravel.\n\nIs required that your application has L5-Swagger setuped to correct run. If necessary, you can check this repository with all configuration, fully works and video demonstrations:\n\nhttps://github.com/sr2ds/laravel-9-tutorial\n\n# How to usage\n\n## Download this files to your laravel application \n\n```\nmkdir stubs\ncd stubs\ngit clone https://github.com/sr2ds/laravel-api-stubs .\n```\n\n## To generate resource api\n\n```\nphp artisan make:model -c -f -m --api -R --test Product\n```\n\n## Additional configuration - After files generated\n\n1. Is necessary change 3 `//@todo` lines in your tests files generated;\n2. Write your attributes in `migrations` and `Model`(fillable and on swagger block) and `Requests`;\n3. Create the route on `routes/api.php`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsr2ds%2Flaravel-api-stubs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsr2ds%2Flaravel-api-stubs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsr2ds%2Flaravel-api-stubs/lists"}