{"id":16836785,"url":"https://github.com/helderberto/cakephp-slugel","last_synced_at":"2025-03-18T03:20:02.614Z","repository":{"id":91008636,"uuid":"114052141","full_name":"helderberto/cakephp-slugel","owner":"helderberto","description":"🔨 CakePHP: Slug behavior using CakePHP 2.x.","archived":false,"fork":false,"pushed_at":"2017-12-13T00:18:53.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-01-24T10:28:04.893Z","etag":null,"topics":["behavior","cakephp","cakephp-plugin","cakephp2","library","plugin","slug"],"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/helderberto.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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":"2017-12-13T00:03:38.000Z","updated_at":"2018-07-31T14:58:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"e0edd2a6-a047-44b1-ac69-bd00ca0eb83b","html_url":"https://github.com/helderberto/cakephp-slugel","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helderberto%2Fcakephp-slugel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helderberto%2Fcakephp-slugel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helderberto%2Fcakephp-slugel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helderberto%2Fcakephp-slugel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/helderberto","download_url":"https://codeload.github.com/helderberto/cakephp-slugel/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244147343,"owners_count":20405942,"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":["behavior","cakephp","cakephp-plugin","cakephp2","library","plugin","slug"],"created_at":"2024-10-13T12:14:50.247Z","updated_at":"2025-03-18T03:20:02.587Z","avatar_url":"https://github.com/helderberto.png","language":"PHP","readme":"# CakePHP 2.x Slugel\n\nSimple way to create slug's to your results\n\n## Getting Started\n\nThese instructions to running this behavior in your project.\n\n### Prerequisities\n\n1. [CakePHP 2.x](https://github.com/cakephp/cakephp/tree/2.x);\n\n### Installing\n\n1. Clone the project into your Plugin folder located within your project using this `https://github.com/helderburato/cakephp-slugel`;\n\n2. Rename the folder `cakephp-slugel` to `Slugel`;\n\n## How to use\n\n1. In your model, just load in $actsAs:\n\nDefault use the field `name` and make `virtualField` like `slug` in your results.\n````\npublic $actsAs = array(\n  'Slugel.Slugel'\n);\n````\n\nIf your want to use other field and make other slug name, run like this:\n````\npublic $actsAs = array(\n  'Slugel.Slugel' =\u003e array(\n    'field' =\u003e 'otherField',\n    'slug' =\u003e 'mySlugField'\n  )\n);\n````\n\n## Contributing\n\nPlease read [CONTRIBUTING.md](CONTRIBUTING.md) for details on our code of conduct, and the process for submitting pull requests to us.\n\n## Versioning\n\nWe use [SemVer](http://semver.org/) for versioning.\n\n## Authors\n\n* **Helder Burato Berto** - *Initial work* - [helderburato](https://github.com/helderburato)\n\nSee also the list of [contributors](https://github.com/helderburato/cakephp-slugel/graphs/contributors) who participated in this project.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhelderberto%2Fcakephp-slugel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhelderberto%2Fcakephp-slugel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhelderberto%2Fcakephp-slugel/lists"}