{"id":32802284,"url":"https://github.com/sahanpasindu/laravel-project-management-api","last_synced_at":"2026-05-09T02:02:44.843Z","repository":{"id":322571565,"uuid":"1090026657","full_name":"sahanpasindu/laravel-project-management-api","owner":"sahanpasindu","description":"Modern Laravel 12 REST API for project and task management, featuring Sanctum authentication, versioned routes, validation, resources, and clean JSON error handling.","archived":false,"fork":false,"pushed_at":"2025-11-05T07:11:55.000Z","size":483,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-11-05T08:13:07.054Z","etag":null,"topics":["api-development","backend","laravel","laravel12","php","postman","rest-api","sanctum"],"latest_commit_sha":null,"homepage":"","language":"Blade","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/sahanpasindu.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-11-05T05:58:28.000Z","updated_at":"2025-11-05T07:11:59.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/sahanpasindu/laravel-project-management-api","commit_stats":null,"previous_names":["sahanpasindu/laravel-project-management-api"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/sahanpasindu/laravel-project-management-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sahanpasindu%2Flaravel-project-management-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sahanpasindu%2Flaravel-project-management-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sahanpasindu%2Flaravel-project-management-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sahanpasindu%2Flaravel-project-management-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sahanpasindu","download_url":"https://codeload.github.com/sahanpasindu/laravel-project-management-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sahanpasindu%2Flaravel-project-management-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32804630,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"online","status_checked_at":"2026-05-09T02:00:06.633Z","response_time":123,"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-development","backend","laravel","laravel12","php","postman","rest-api","sanctum"],"created_at":"2025-11-06T07:00:52.214Z","updated_at":"2026-05-09T02:02:44.837Z","avatar_url":"https://github.com/sahanpasindu.png","language":"Blade","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Laravel Project Management API\n\n![Laravel](https://img.shields.io/badge/framework-Laravel-red)\n![License](https://img.shields.io/badge/license-MIT-blue)\n\nA fully featured **Project \u0026 Task Management REST API** built with **Laravel 12** and **Sanctum** authentication.\nThis API demonstrates modern Laravel best practices including versioned routes (`/api/v1`),\nForm Request validation, Resource-driven JSON responses, and a unified custom exception handler for\nclean error output.\n\nDesigned as a portfolio-level backend project, it provides a simple foundation to manage projects,\ntasks, and user authentication in a clean, scalable architecture.\n\n## 🔥 Key Highlights\n\n-   Laravel 12 (API Architecture)\n-   Sanctum Authentication (token-based)\n-   Project \u0026 Task CRUD Operations\n-   Versioned API (`/api/v1`)\n-   Custom Exception Handling (no HTML errors)\n-   Form Request validation \u0026 Resource Transformers\n-   Postman Collection for testing\n-   Git workflow with feature branches and pull requests\n\n## 🚀 Tech Stack\n\n-   Laravel 12 (API mode)\n-   Sanctum Authentication\n-   PostgreSQL/MySQL\n-   RESTful Architecture\n-   Form Requests \u0026 API Resources\n-   Custom Exception Handling (`withExceptions`)\n-   Versioned API structure (`/api/v1`)\n\n## ⚙️ Features\n\n-   User authentication (register/login/logout)\n-   Project CRUD (with owner-based access control)\n-   Task management (coming soon)\n-   JSON responses with Laravel Resource classes\n-   Robust validation \u0026 error handling\n-   Pagination-ready endpoints\n\n## 🧠 Highlights\n\n-   Modern Laravel 12 exception handling without `Handler.php`\n-   Proper folder versioning and clean architecture\n-   Built using good Git and REST API best practices\n\n## 🔗 API Examples\n\nPOST /api/register\nPOST /api/login\nGET /api/me\n\n-   Projects v1/projects\n-   Tasks v1/tasks\n\n## 🧑💻 Setup\n\n```bash\ngit clone https://github.com/sahanpasindu/laravel-project-management-api.git\ncd laravel-project-management-api\ncomposer install\ncp .env.example .env\nphp artisan migrate\nphp artisan serve\n```\n\n## 🧪 API Testing\n\nYou can test the API quickly using our ready‑made Postman collection.\n\n1. Open Postman → File → Import → Link File or Upload File\n2. Choose this file: [`api-tests/postman_collection.json`](./api-tests/postman_collection.json)\n3. Set the variable `{{base_url}}` to your running Laravel endpoint (`http://127.0.0.1:8000/`)\n\nIncludes:\n\n-   Auth (register/login)\n-   Project CRUD\n-   Task CRUD\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsahanpasindu%2Flaravel-project-management-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsahanpasindu%2Flaravel-project-management-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsahanpasindu%2Flaravel-project-management-api/lists"}