{"id":21571074,"url":"https://github.com/treblle/laravel-api-boilerplate","last_synced_at":"2025-10-06T04:58:20.168Z","repository":{"id":39743720,"uuid":"459511852","full_name":"Treblle/laravel-api-boilerplate","owner":"Treblle","description":"Experience the power of Treblle API Boilerplate for Laravel. Explore our latest enhancements and join a vibrant community of developers committed to optimizing API development. 🚀","archived":false,"fork":false,"pushed_at":"2022-11-02T13:25:11.000Z","size":315,"stargazers_count":177,"open_issues_count":4,"forks_count":20,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-08-21T15:58:20.635Z","etag":null,"topics":["api","backend","boilerplate","larave-rest-api","laravel","laravel-api","laravel-api-boilerplate","laravel-boilerplate","php","rest-api","restful-api"],"latest_commit_sha":null,"homepage":"https://www.treblle.com/","language":"PHP","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/Treblle.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}},"created_at":"2022-02-15T09:31:08.000Z","updated_at":"2025-08-05T04:41:41.000Z","dependencies_parsed_at":"2023-01-23T02:45:14.761Z","dependency_job_id":null,"html_url":"https://github.com/Treblle/laravel-api-boilerplate","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/Treblle/laravel-api-boilerplate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Treblle%2Flaravel-api-boilerplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Treblle%2Flaravel-api-boilerplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Treblle%2Flaravel-api-boilerplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Treblle%2Flaravel-api-boilerplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Treblle","download_url":"https://codeload.github.com/Treblle/laravel-api-boilerplate/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Treblle%2Flaravel-api-boilerplate/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278561279,"owners_count":26006954,"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-10-06T02:00:05.630Z","response_time":65,"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","backend","boilerplate","larave-rest-api","laravel","laravel-api","laravel-api-boilerplate","laravel-boilerplate","php","rest-api","restful-api"],"created_at":"2024-11-24T11:14:50.112Z","updated_at":"2025-10-06T04:58:20.141Z","avatar_url":"https://github.com/Treblle.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg src=\"https://treblle-assets.s3.amazonaws.com/laravel-api-boilerplate.png\" alt=\"Laravel API Boilerplate\" align=\"center\"\u003e\n\n# Laravel API boilerplate 🚀\n\nAn awesome boilerplate for your next Laravel 9 based API. It's only goal is to simply **kick-start your API development** and provide you with some of the best practices when building amazing and scalable REST APIs 🔥\n\n## Features 🍭\n\n### REST API Best Practices\nWe baked in all the best REST API practices in terms of structuring your API, naming conversations, HTTP methods, responses and optimizations\n\t\n### Concrete examples\nWe all like to learn by examples and that's why  the boilerplate comes with a concrete example that include everything from folder structure, routes to naming controllers\n\n### Scaffolding Artisan command\nTired of manually creating controllers, resources, test and form requests each time for new API endpoints. We were too. That's why we added a command that does all of that for you. Just run `php artisan treblle:make` and you get everything you need in a second\u003c/dd\u003e\n\n### Built-in versioning\nBuilding a versioning system that scales is always hard and that's why we built in a robust versioning system that is easy to use and can grow with the project\u003c/dd\u003e\n\n### Single responsibility controllers\nThe boilerplate uses single responsibility controllers that make it painfully obvious what's going on and can be used with different versions\n\n### Models, migrations and factories\nWe built two tables Users and Posts and defined everything you might need on a database and model level\n\n### Sanctum authentication\nBuilt in Laravel Sanctum authentication included in the boilerplate.\n\n### Magical UUID trait\nWant to use UUIDs but find it to much work just use our built in `InteractsWithUuid` trait and have fun with UUIDs\n\n### Spawn a new user quickly\nEasily create a new user without messing around with database clients or CRUD systems by using our custom command `php artisan user:create`\n\n### Treblle built-in\nWe added an awesome Laravel package called Treblle. Out of the box Treblle gives you: real-time API monitoring, automatically generated and updated documentation, error tracking and logging, API analytics, quality scoring and much more. To get started with Treblle just run `php artisan treblle:start` and follow the instructions or visit [treblle.com](https://treblle.com) for more information\n\n\n## Requirements\n* PHP 8.1+\n* Laravel 9+\n\n## Dependencies\n\n- [composer/semver](https://github.com/composer/semver)\n- [guzzlehttp/guzzle](https://github.com/guzzle/guzzle)\n- [laravel/framework](https://github.com/laravel/framework)\n- [laravel/sanctum](https://github.com/laravel/sanctum)\n- [treblle/treblle-laravel](https://github.com/treblle/treblle-laravel)\n\n## Getting started\n\nPress the `Use this template` button at the top of this repository to create a new API with this boilerplate and 🎉.\n\n## Thank you\n\nThe boilerplate was built by [Maurizio](https://github.com/leMaur), with some help from [cindreta](https://github.com/cindreta) and sponsored by [Treblle](https://treblle.com). We would love to have you as our contributor so please feel free to make pull requests and help us make the best API boilerplate on Github 💪🏻\n\n## The 10 REST Commandments E-book\n\n![# The 10 REST Commandments](https://treblle-assets.s3.amazonaws.com/api-book.jpg)Grab a free copy of The 10 REST Commandments e-book and learn how to build great REST APIs that scale in any language 👉 [https://treblle.com/ebooks/the-10-rest-commandments](https://treblle.com/ebooks/the-10-rest-commandments) \n\n\n## Support\n\nIf you have problems of any kind feel free to reach out via \u003chttps://treblle.com\u003e or email vedran@treblle.com, and we'll\ndo our best to help you out.\n\n## License\n\nCopyright 2022, Treblle Limited. Licensed under the MIT license:\nhttp://www.opensource.org/licenses/mit-license.php\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftreblle%2Flaravel-api-boilerplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftreblle%2Flaravel-api-boilerplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftreblle%2Flaravel-api-boilerplate/lists"}