{"id":26794767,"url":"https://github.com/lutsen/property-hashid","last_synced_at":"2025-03-29T17:28:51.453Z","repository":{"id":57010663,"uuid":"79158145","full_name":"lutsen/property-hashid","owner":"lutsen","description":"Controller for the Lagan Hashid property.","archived":false,"fork":false,"pushed_at":"2018-01-29T20:58:47.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-15T02:19:04.420Z","etag":null,"topics":["hashids","lagan","php"],"latest_commit_sha":null,"homepage":"","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/lutsen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-01-16T20:49:05.000Z","updated_at":"2018-06-30T09:58:58.000Z","dependencies_parsed_at":"2022-08-21T15:10:28.385Z","dependency_job_id":null,"html_url":"https://github.com/lutsen/property-hashid","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lutsen%2Fproperty-hashid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lutsen%2Fproperty-hashid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lutsen%2Fproperty-hashid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lutsen%2Fproperty-hashid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lutsen","download_url":"https://codeload.github.com/lutsen/property-hashid/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246218656,"owners_count":20742421,"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":["hashids","lagan","php"],"created_at":"2025-03-29T17:28:50.841Z","updated_at":"2025-03-29T17:28:51.367Z","avatar_url":"https://github.com/lutsen.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"[\u003cimg src=\"https://cdn.rawgit.com/lutsen/lagan/master/lagan-logo.svg\" width=\"100\" alt=\"Lagan\"\u003e](https://github.com/lutsen/lagan)\n\nLagan Hashid Property Controller\n================================\n\nController for the Lagan Hashid property.  \nGenerate YouTube-like ids based on the conten object id's. Use it when you don't want to expose your database ids to the user. A Hashid is only set on creation of the content object and cannot be edited. Uses the [Hashids PHP library](http://hashids.org/php/). Optionally a salt, padding and alphabet for the Hasid can be set in the property array.   \nSalt will make the id's unique for that salt.  \nPadding sets the length of the id.  \nAlphabet defines the characters that can be used for the id, with a minimum of 16 characters.  \n\nExample:\n```php\n[\n\t'name' =\u003e 'uid',\n\t'description' =\u003e 'U.I.D.',\n\t'autovalue' =\u003e true,\n\t'salt' =\u003e 'some salt to make the hasid unique',\n\t'padding' =\u003e 10,\n\t'alphabet' =\u003e 'abcdefghABCDEFGH',\n\t'type' =\u003e '\\Lagan\\Property\\Hashid',\n\t'input' =\u003e 'readonly'\n]\n```\n\nTo be used with [Lagan](https://github.com/lutsen/lagan). Lagan lets you create flexible content objects with a simple class, and manage them with a web interface.\n\nLagan is a project of [Lútsen Stellingwerff](http://lutsen.net/).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flutsen%2Fproperty-hashid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flutsen%2Fproperty-hashid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flutsen%2Fproperty-hashid/lists"}