{"id":14987346,"url":"https://github.com/michalsn/codeigniter-signed-url","last_synced_at":"2025-04-11T23:53:20.556Z","repository":{"id":65130581,"uuid":"582538859","full_name":"michalsn/codeigniter-signed-url","owner":"michalsn","description":"Sign URLs in your CodeIgniter 4 application.","archived":false,"fork":false,"pushed_at":"2024-12-30T07:58:12.000Z","size":411,"stargazers_count":17,"open_issues_count":0,"forks_count":4,"subscribers_count":5,"default_branch":"develop","last_synced_at":"2025-03-25T19:50:31.906Z","etag":null,"topics":["codeigniter","codeigniter4","php","php8","signed-url"],"latest_commit_sha":null,"homepage":"https://michalsn.github.io/codeigniter-signed-url","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/michalsn.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2022-12-27T06:28:42.000Z","updated_at":"2025-02-06T03:12:08.000Z","dependencies_parsed_at":"2025-02-20T10:41:21.314Z","dependency_job_id":null,"html_url":"https://github.com/michalsn/codeigniter-signed-url","commit_stats":{"total_commits":74,"total_committers":3,"mean_commits":"24.666666666666668","dds":"0.41891891891891897","last_synced_commit":"b60b87bda5fb7a54121d2e62ad72e9846cb5d1c9"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michalsn%2Fcodeigniter-signed-url","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michalsn%2Fcodeigniter-signed-url/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michalsn%2Fcodeigniter-signed-url/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michalsn%2Fcodeigniter-signed-url/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/michalsn","download_url":"https://codeload.github.com/michalsn/codeigniter-signed-url/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248055265,"owners_count":21040157,"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","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":["codeigniter","codeigniter4","php","php8","signed-url"],"created_at":"2024-09-24T14:14:28.998Z","updated_at":"2025-04-11T23:53:20.535Z","avatar_url":"https://github.com/michalsn.png","language":"PHP","readme":"# CodeIgniter Signed URL\n\nPrevent manual URL manipulation and auto expiry URLs.\n\n[![PHPUnit](https://github.com/michalsn/codeigniter-signed-url/actions/workflows/phpunit.yml/badge.svg)](https://github.com/michalsn/codeigniter-signed-url/actions/workflows/phpunit.yml)\n[![PHPStan](https://github.com/michalsn/codeigniter-signed-url/actions/workflows/phpstan.yml/badge.svg)](https://github.com/michalsn/codeigniter-signed-url/actions/workflows/phpstan.yml)\n[![Deptrac](https://github.com/michalsn/codeigniter-signed-url/actions/workflows/deptrac.yml/badge.svg)](https://github.com/michalsn/codeigniter-signed-url/actions/workflows/deptrac.yml)\n[![Coverage Status](https://coveralls.io/repos/github/michalsn/codeigniter-signed-url/badge.svg?branch=develop)](https://coveralls.io/github/michalsn/codeigniter-signed-url?branch=develop)\n\n\n## Installation\n\n    composer require michalsn/codeigniter-signed-url\n\n## Overview\n\nWe can sign URLs very easy with two main methods that act similar to the helper functions known from CodeIgniter's URL helper.\n\n```php\necho signedurl()-\u003esiteUrl('controller/method?query=string');\n// https://example.com/controller/method?query=string\u0026signature=signature-goes-here\n```\n\n```php\necho signedurl()-\u003esetExpiration(DAY * 2)-\u003eurlTo('namedRoute', 12);\n// https://example.com/route/name/12?expiration=1671980371\u0026signature=signature-goes-here\n```\n\n## Versions\n\nVersions are not compatible - URLs generated in one version of Signed URL will not work with another version.\n\n| CodeIgniter version | Signed URL version |\n|---------------------|--------------------|\n| `\u003e= 4.4`            | `2.*`              |\n| `\u003c 4.4`             | `1.*`              |\n\n## Docs\n\nhttps://michalsn.github.io/codeigniter-signed-url\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichalsn%2Fcodeigniter-signed-url","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmichalsn%2Fcodeigniter-signed-url","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichalsn%2Fcodeigniter-signed-url/lists"}