This twig plugin for the Craft CMS brings convenient path & url manipulation functions & filters to your Twig templates.
Related: PathTools for Craft 2.x
This plugin requires Craft CMS 3.0.0 or later.
To install PathTools, follow these steps:
- Install with Composer via
composer require nystudio107/craft-pathtools
from your project directory - Install the plugin via
./craft install/plugin path-tools
via the CLI, or in the Control Panel, go to Settings → Plugins and click the “Install” button for Path Tools.
You can also install PathTools via the Plugin Store in the Craft AdminCP.
PathTools works on Craft 3.x.
Click here -> Path Tools Documentation
Brought to you by nystudio107