{"id":20300676,"url":"https://github.com/luka-lta/luka-lta-api","last_synced_at":"2026-02-20T22:11:54.617Z","repository":{"id":262488886,"uuid":"887389658","full_name":"luka-lta/luka-lta-api","owner":"luka-lta","description":"API for Frontend with LinkTree","archived":false,"fork":false,"pushed_at":"2026-02-08T21:09:23.000Z","size":628,"stargazers_count":2,"open_issues_count":8,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-02-09T03:14:03.631Z","etag":null,"topics":["api","composer","docker-compose","factory-pattern","mvc-architecture","mysql","nginx","php","php-fpm","phpcs","phpmd","redis","slimframework"],"latest_commit_sha":null,"homepage":"https://luka-lta.dev","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/luka-lta.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2024-11-12T16:55:25.000Z","updated_at":"2026-02-08T21:09:02.000Z","dependencies_parsed_at":"2025-01-04T16:19:56.694Z","dependency_job_id":"fc6b8e88-37d2-47ee-985e-a4cdaa9f93fb","html_url":"https://github.com/luka-lta/luka-lta-api","commit_stats":null,"previous_names":["luka-lta/luka-lta-api"],"tags_count":20,"template":false,"template_full_name":null,"purl":"pkg:github/luka-lta/luka-lta-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luka-lta%2Fluka-lta-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luka-lta%2Fluka-lta-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luka-lta%2Fluka-lta-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luka-lta%2Fluka-lta-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/luka-lta","download_url":"https://codeload.github.com/luka-lta/luka-lta-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luka-lta%2Fluka-lta-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29666675,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-20T19:49:36.704Z","status":"ssl_error","status_checked_at":"2026-02-20T19:44:05.372Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["api","composer","docker-compose","factory-pattern","mvc-architecture","mysql","nginx","php","php-fpm","phpcs","phpmd","redis","slimframework"],"created_at":"2024-11-14T16:20:08.425Z","updated_at":"2026-02-20T22:11:54.600Z","avatar_url":"https://github.com/luka-lta.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# luka-lta-api\n\n[![Contributors][contributors-shield]][contributors-url]\n[![Forks][forks-shield]][forks-url]\n[![Stargazers][stars-shield]][stars-url]\n[![Issues][issues-shield]][issues-url]\n[![License][license-shield]][license-url]\n[![LinkedIn][linkedin-shield]][linkedin-url]\n\n\u003c!-- PROJECT LOGO --\u003e\n\u003cbr /\u003e\n\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://github.com/luka-lta/luka-lta-api\"\u003e\n    \u003cimg src=\"images/logo.webp\" alt=\"Logo\" width=\"80\" height=\"80\"\u003e\n  \u003c/a\u003e\n\n\u003ch3 align=\"center\"\u003eluka-lta-api\u003c/h3\u003e\n\n  \u003cp align=\"center\"\u003e\n    Backend API for managing links and clicks in my system.\n    \u003cbr /\u003e\n    \u003ca href=\"https://github.com/luka-lta/luka-lta-api\"\u003e\u003cstrong\u003eExplore the docs »\u003c/strong\u003e\u003c/a\u003e\n    \u003cbr /\u003e\n    \u003cbr /\u003e\n    \u003ca href=\"https://luka-lta.dev/\"\u003eView Demo\u003c/a\u003e\n    \u0026middot;\n    \u003ca href=\"https://github.com/luka-lta/luka-lta-api/issues/new?labels=bug\u0026template=bug-report---.md\"\u003eReport Bug\u003c/a\u003e\n    \u0026middot;\n    \u003ca href=\"https://github.com/luka-lta/luka-lta-api/issues/new?labels=enhancement\u0026template=feature-request---.md\"\u003eRequest Feature\u003c/a\u003e\n  \u003c/p\u003e\n\u003c/div\u003e\n\n---\n\n## About The Project\n\nThis backend API is built with PHP and the Slim framework. It manages link collections, tracks click events, and supports API key authentication for secure access.\n\n### Built With\n\n- ![PHP][php]\n- [Slim Framework](https://www.slimframework.com/)\n- Docker\n- MySQL\n\n## Getting Started\n\n### Prerequisites\n\nEnsure you have the following installed:\n\n- PHP 8.3 or higher\n- Docker\n- PHP Redis extension 8.3 or higher\n\n### Installation\n\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/luka-lta/luka-lta-api.git\n   cd luka-lta-api\n   ```\n\n2. Install dependencies using Composer:\n   ```bash\n   composer install\n   ```\n\n3. Start the application using Docker:\n   ```bash\n   docker-compose up -d\n   ```\n\n4. Run database migrations:\n   ```bash\n   php artisan migrate\n   ```\n\n### Testing the API\n\nUse tools like [Postman](https://www.postman.com/) or [cURL](https://curl.se/) to test the endpoints.\n\n---\n\n## API Endpoints\n\n### Authentication\n- `POST /auth` – Authenticate user and retrieve an access token\n\n### API Keys\n- `POST /key/create` – Generate a new API key (requires authentication)\n\n### Link Collection\n- `GET /linkCollection/links` – Get all available links (requires authentication)\n- `POST /linkCollection/create` – Create a new link (requires authentication)\n- `PUT /linkCollection/{linkId}` – Edit an existing link (requires authentication)\n- `DELETE /linkCollection/{linkId}` – Disable an existing link (requires authentication)\n\n### Click Tracking\n- `GET /click/track` – Track a click event\n- `GET /click/all` – Get all click events (requires authentication)\n\n### User Management\n- `POST /user/create` – Create a new user\n- `POST /user/{userId}` – Update an existing user (requires authentication)\n\n---\n\n## Roadmap\n\nSee the [open issues](https://github.com/luka-lta/luka-lta-api/issues) for a list of proposed features and known issues.\n\n---\n\n## Contributing\n\nContributions are what make the open-source community amazing! Any contributions you make are **greatly appreciated**.\n\n1. Fork the project\n2. Create your feature branch (`git checkout -b feature/AmazingFeature`)\n3. Commit your changes (`git commit -m 'Add some AmazingFeature'`)\n4. Push to the branch (`git push origin feature/AmazingFeature`)\n5. Open a pull request\n\n### Top Contributors\n\n\u003ca href=\"https://github.com/luka-lta/luka-lta-api/graphs/contributors\"\u003e\n  \u003cimg src=\"https://contrib.rocks/image?repo=luka-lta/luka-lta-api\" alt=\"Contributors\" /\u003e\n\u003c/a\u003e\n\n---\n\n## License\n\nDistributed under the MIT License. See `LICENSE.txt` for more information.\n\n---\n\n## Contact\n\n**luka-lta** – [info@luka-lta.dev](mailto:info@luka-lta.dev)\n\nProject Link: [https://github.com/luka-lta/luka-lta-api](https://github.com/luka-lta/luka-lta-api/)\n\n---\n\n## Acknowledgments\n\n- [Slim Framework](https://www.slimframework.com/)\n- [PHP](https://www.php.net/)\n- [Docker](https://www.docker.com/)\n\n---\n\n[contributors-shield]: https://img.shields.io/github/contributors/luka-lta/luka-lta-api.svg?style=for-the-badge\n[contributors-url]: https://github.com/luka-lta/luka-lta-api/graphs/contributors\n[forks-shield]: https://img.shields.io/github/forks/luka-lta/luka-lta-api.svg?style=for-the-badge\n[forks-url]: https://github.com/luka-lta/luka-lta-api/network/members\n[stars-shield]: https://img.shields.io/github/stars/luka-lta/luka-lta-api.svg?style=for-the-badge\n[stars-url]: https://github.com/luka-lta/luka-lta-api/stargazers\n[issues-shield]: https://img.shields.io/github/issues/luka-lta/luka-lta-api.svg?style=for-the-badge\n[issues-url]: https://github.com/luka-lta/luka-lta-api/issues\n[license-shield]: https://img.shields.io/github/license/luka-lta/luka-lta-api.svg?style=for-the-badge\n[license-url]: https://github.com/luka-lta/luka-lta-api/blob/master/LICENSE.txt\n[linkedin-shield]: https://img.shields.io/badge/-LinkedIn-black.svg?style=for-the-badge\u0026logo=linkedin\u0026colorB=555\n[linkedin-url]: https://linkedin.com/in/linkedin_username\n[php]: https://img.shields.io/badge/php-000000?style=for-the-badge\u0026logo=php\u0026logoColor=white\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluka-lta%2Fluka-lta-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fluka-lta%2Fluka-lta-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluka-lta%2Fluka-lta-api/lists"}