{"id":22836615,"url":"https://github.com/prantomollick/profile-assignment-2-app","last_synced_at":"2026-05-03T16:31:55.550Z","repository":{"id":267773263,"uuid":"902232660","full_name":"prantomollick/profile-assignment-2-app","owner":"prantomollick","description":"This Laravel project sets up a GET route `/my-profile/{id}` linked to `ProfileController`. It stores profile info (`id`, `name`, `age`) in an associative array and creates an `access_token` cookie. The response includes this data and cookie, demonstrating routing, controllers, data handling, and response management.","archived":false,"fork":false,"pushed_at":"2024-12-12T10:39:07.000Z","size":77,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-31T03:29:00.501Z","etag":null,"topics":["laravel","php8"],"latest_commit_sha":null,"homepage":"","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/prantomollick.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":"2024-12-12T07:03:05.000Z","updated_at":"2024-12-12T10:39:12.000Z","dependencies_parsed_at":"2024-12-12T11:25:12.429Z","dependency_job_id":"aff9d372-51c4-46d0-b975-0c7ec9e127f5","html_url":"https://github.com/prantomollick/profile-assignment-2-app","commit_stats":null,"previous_names":["prantomollick/profile-assignment-2-app"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/prantomollick/profile-assignment-2-app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prantomollick%2Fprofile-assignment-2-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prantomollick%2Fprofile-assignment-2-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prantomollick%2Fprofile-assignment-2-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prantomollick%2Fprofile-assignment-2-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/prantomollick","download_url":"https://codeload.github.com/prantomollick/profile-assignment-2-app/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prantomollick%2Fprofile-assignment-2-app/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32577120,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["laravel","php8"],"created_at":"2024-12-12T23:11:58.045Z","updated_at":"2026-05-03T16:31:55.526Z","avatar_url":"https://github.com/prantomollick.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\u003ca href=\"https://laravel.com\" target=\"_blank\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/laravel/art/master/logo-lockup/5%20SVG/2%20CMYK/1%20Full%20Color/laravel-logolockup-cmyk-red.svg\" width=\"400\" alt=\"Laravel Logo\"\u003e\u003c/a\u003e\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://github.com/laravel/framework/actions\"\u003e\u003cimg src=\"https://github.com/laravel/framework/workflows/tests/badge.svg\" alt=\"Build Status\"\u003e\u003c/a\u003e\n\u003ca href=\"https://packagist.org/packages/laravel/framework\"\u003e\u003cimg src=\"https://img.shields.io/packagist/dt/laravel/framework\" alt=\"Total Downloads\"\u003e\u003c/a\u003e\n\u003ca href=\"https://packagist.org/packages/laravel/framework\"\u003e\u003cimg src=\"https://img.shields.io/packagist/v/laravel/framework\" alt=\"Latest Stable Version\"\u003e\u003c/a\u003e\n\u003ca href=\"https://packagist.org/packages/laravel/framework\"\u003e\u003cimg src=\"https://img.shields.io/packagist/l/laravel/framework\" alt=\"License\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n## Laravel Profile Assignment Project\n\nThis Laravel project focuses on creating a simple profile data handler. It sets up a GET route `/my-profile/{id}` that connects to `ProfileController`. The controller has one method, `index`, which receives an `id` parameter and sets the variables `$name` to `\"Donald Trump\"` and `$age` to `\"75\"`. It then stores these values in an associative array `$data` along with the `id`.\n\nAdditionally, the method creates a cookie named `access_token` with the value `123-XYZ`, sets its lifespan to 1 minute, and specifies other attributes. The response returns the `$data` array with a status code of 200 and includes the created cookie.\n\n### Features\n\n-   Laravel framework setup\n-   Route and controller for profile data\n-   Associative array for data handling\n-   Cookie creation and management\n-   Response handling with status codes\n\n### Submission Guidelines\n\n-   Submit a GitHub link with a fresh repository containing only Laravel's folders and files.\n-   Follow the demo structure before submission.\n\nHappy coding! 🚀\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprantomollick%2Fprofile-assignment-2-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprantomollick%2Fprofile-assignment-2-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprantomollick%2Fprofile-assignment-2-app/lists"}