{"id":18627164,"url":"https://github.com/markshust/magento2-module-specialrouter","last_synced_at":"2025-04-11T05:31:27.134Z","repository":{"id":64871348,"uuid":"579125143","full_name":"markshust/magento2-module-specialrouter","owner":"markshust","description":"The SpecialRouter module adds the ability to use special characters in URLs.","archived":false,"fork":false,"pushed_at":"2024-04-13T14:38:50.000Z","size":22,"stargazers_count":10,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-05-02T00:45:51.509Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/markshust.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","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-16T18:14:24.000Z","updated_at":"2024-01-19T13:15:16.000Z","dependencies_parsed_at":"2024-11-07T04:51:41.915Z","dependency_job_id":null,"html_url":"https://github.com/markshust/magento2-module-specialrouter","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markshust%2Fmagento2-module-specialrouter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markshust%2Fmagento2-module-specialrouter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markshust%2Fmagento2-module-specialrouter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markshust%2Fmagento2-module-specialrouter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/markshust","download_url":"https://codeload.github.com/markshust/magento2-module-specialrouter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248347434,"owners_count":21088653,"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":[],"created_at":"2024-11-07T04:40:45.892Z","updated_at":"2025-04-11T05:31:26.854Z","avatar_url":"https://github.com/markshust.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eMarkShust_SpecialRouter\u003c/h1\u003e \n\n\u003cdiv align=\"center\"\u003e\n  \u003cp\u003eAdds the ability to use special characters in URLs.\u003c/p\u003e\n  \u003cimg src=\"https://img.shields.io/badge/magento-^2.4.5-brightgreen.svg?logo=magento\u0026longCache=true\u0026style=flat-square\" alt=\"Supported Magento Versions\" /\u003e\n  \u003ca href=\"https://packagist.org/packages/markshust/magento2-module-specialrouter\" target=\"_blank\"\u003e\u003cimg src=\"https://img.shields.io/packagist/v/markshust/magento2-module-specialrouter.svg?style=flat-square\" alt=\"Latest Stable Version\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://packagist.org/packages/markshust/magento2-module-specialrouter\" target=\"_blank\"\u003e\u003cimg src=\"https://poser.pugx.org/markshust/magento2-module-specialrouter/downloads\" alt=\"Composer Downloads\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://GitHub.com/Naereen/StrapDown.js/graphs/commit-activity\" target=\"_blank\"\u003e\u003cimg src=\"https://img.shields.io/badge/maintained%3F-yes-brightgreen.svg?style=flat-square\" alt=\"Maintained - Yes\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://opensource.org/licenses/MIT\" target=\"_blank\"\u003e\u003cimg src=\"https://img.shields.io/badge/license-MIT-blue.svg\" /\u003e\u003c/a\u003e\n\u003c/div\u003e\n\n## Table of contents\n\n- [Summary](#summary)\n- [Installation](#installation)\n- [Usage](#usage)\n- [Credits](#credits)\n- [License](#license)\n\n## Summary\n\nMagento does not provide the ability to set special characters on controller or action names. This module fixes that by providing the ability to use `-`, `.`, `~`, `_` within a URL.\n\n## Installation\n\n```\ncomposer require markshust/magento2-module-specialrouter\nbin/magento module:enable MarkShust_SpecialRouter\nbin/magento setup:upgrade\n```\n\n## Usage\n\nThis module is really simple to use. All you need to do is use the appropriate \"name\" that matches the symbol you'd like to use in the URL.\n\n- Symbol: `-`, Name: `Dash`\n- Symbol: `.`, Name: `Period`\n- Symbol: `~`, Name: `Tilda`\n- Symbol: `_`, Name: `Underscore`\n\nFor example, to respond to a request with a `frontName` of `foo` at the following location:\n\n```\n/foo/alpha-beta/charlie-delta\n```\n\nUse a PHP class named:\n\n```\nController/AlphaDashBeta/CharlieDashDelta.php\n```\n\nThe `-` in the URL will be translated to `dash` in the actionPath and actionName, so if we create files using `Dash` in the controller and action name, they will respond to these requests.\n\n## Credits\n\n### M.academy\n\nThis course is sponsored by \u003ca href=\"https://m.academy\" target=\"_blank\"\u003eM.academy\u003c/a\u003e, the simplest way to learn Magento.\n\n\u003ca href=\"https://m.academy\" target=\"_blank\"\u003e\u003cimg src=\"docs/macademy-logo.png\" alt=\"M.academy\"\u003e\u003c/a\u003e\n\n### Mark Shust\n\nMy name is Mark Shust and I'm the creator of this repo. I'm a \u003ca href=\"https://www.credly.com/users/mark-shust/badges\" target=\"_blank\"\u003e6X Adobe Commerce Certified Developer\u003c/a\u003e and have been involved with Magento since the early days (v0.8!). I create technical education courses full-time for my company, \u003ca href=\"https://m.academy\" target=\"_blank\"\u003eM.academy\u003c/a\u003e.\n\n- \u003ca href=\"https://m.academy/courses\" target=\"_blank\"\u003e🖥️ See my Magento lessons \u0026 courses\u003c/a\u003e\n- \u003ca href=\"https://m.academy/articles\" target=\"_blank\"\u003e📖 Read my technical articles\u003c/a\u003e\n- \u003ca href=\"https://youtube.com/markshust\" target=\"_blank\"\u003e🎥 Watch my YouTube videos\u003c/a\u003e\n- \u003ca href=\"https://www.linkedin.com/in/MarkShust/\" target=\"_blank\"\u003e🔗 Connect on LinkedIn\u003c/a\u003e\n- \u003ca href=\"https://twitter.com/MarkShust\" target=\"_blank\"\u003e🐦 Follow me on X\u003c/a\u003e\n- \u003ca href=\"mailto:mark@m.academy\"\u003e💌 Contact me\u003c/a\u003e\n\n## License\n\n[MIT](https://opensource.org/licenses/MIT)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkshust%2Fmagento2-module-specialrouter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarkshust%2Fmagento2-module-specialrouter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkshust%2Fmagento2-module-specialrouter/lists"}