{"id":19692179,"url":"https://github.com/getgrav/grav-plugin-filter-strings","last_synced_at":"2025-07-21T08:03:36.113Z","repository":{"id":68062835,"uuid":"44355188","full_name":"getgrav/grav-plugin-filter-strings","owner":"getgrav","description":"Grav Filter Strings Plugin","archived":false,"fork":false,"pushed_at":"2016-09-19T20:12:29.000Z","size":77,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"develop","last_synced_at":"2025-07-07T11:25:52.506Z","etag":null,"topics":["grav","grav-plugin","string-manipulation","stringy","twig","twig-extension"],"latest_commit_sha":null,"homepage":"https://getgrav.org","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/getgrav.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}},"created_at":"2015-10-16T01:31:05.000Z","updated_at":"2021-03-31T04:42:36.000Z","dependencies_parsed_at":"2023-07-17T05:46:44.866Z","dependency_job_id":null,"html_url":"https://github.com/getgrav/grav-plugin-filter-strings","commit_stats":{"total_commits":18,"total_committers":4,"mean_commits":4.5,"dds":0.2777777777777778,"last_synced_commit":"e99df4eb110d82cba3e85f73cbad6877d5c9e3d5"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/getgrav/grav-plugin-filter-strings","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getgrav%2Fgrav-plugin-filter-strings","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getgrav%2Fgrav-plugin-filter-strings/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getgrav%2Fgrav-plugin-filter-strings/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getgrav%2Fgrav-plugin-filter-strings/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/getgrav","download_url":"https://codeload.github.com/getgrav/grav-plugin-filter-strings/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getgrav%2Fgrav-plugin-filter-strings/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265499056,"owners_count":23777253,"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":["grav","grav-plugin","string-manipulation","stringy","twig","twig-extension"],"created_at":"2024-11-11T19:12:31.252Z","updated_at":"2025-07-21T08:03:36.082Z","avatar_url":"https://github.com/getgrav.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Grav Filter Strings Plugin\n\n**Filter Strings** is a [Grav](http://github.com/getgrav/grav) plugin that utilizes [Stringy](https://github.com/danielstjules/Stringy) to manipulate strings in twig templates. \n\n# Installation\n\n**Filter Strings** can be installed in two different ways; Our Grav Package Manager (GPM) install method is the easiest and most reliable method. However, the plugin can also be installed via a zip file.\n\n## GPM Installation (Preferred)\n\nUtilizing the system terminal the plugin can be installed from root.\nIn the system terminal navigate (change directories) to the root of the Grav project. Type in the following command:\n\n    bin/gpm install filter-strings\n\nThe command will install the plugin under the `/user/plugins` directory in Grav.\n\n## Manual Installation\n\nTo install this plugin, just download the zip version of this repository and unzip it under `/your/site/grav/user/plugins`. Then, rename the folder to `filter-strings`. You can find these files either on [GitHub](https://github.com/getgrav/grav-plugin-filter-strings) or via [GetGrav.org](http://getgrav.org/downloads/plugins#extras).\n\nYou should now have all the plugin files under\n\n    /your/site/grav/user/plugins/filter-strings\n\n\n# Usage\n\nIn order to use the **Filter Strings** plugin it needs to be enabled in the configuration files. By default **Filter Strings** is enabled. To call the plugin from twig use a pipe `|` and a function name (List of functions can be found in [Stringy](https://github.com/danielstjules/Stringy)) followed by an underscore and string (eg: `SomeStringVariable|titleize_string`)\n\n\u003e Note: Currently only Stringy functions that modify a string without arguments work. Other modifiers have not been tested.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgetgrav%2Fgrav-plugin-filter-strings","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgetgrav%2Fgrav-plugin-filter-strings","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgetgrav%2Fgrav-plugin-filter-strings/lists"}