PHPackages                             iturgeon/fuelfilter - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Templating &amp; Views](/categories/templating)
4. /
5. iturgeon/fuelfilter

ActiveLibrary[Templating &amp; Views](/categories/templating)

iturgeon/fuelfilter
===================

Allows View Filtering with custom filters in FuelPHP framework

1.0.0(12y ago)021MITPHPPHP &gt;=5.3.0

Since Feb 22Pushed 12y ago1 watchersCompare

[ Source](https://github.com/iturgeon/Fuel-Filter)[ Packagist](https://packagist.org/packages/iturgeon/fuelfilter)[ Docs](https://github.com/iturgeon/Fuel-Filter)[ RSS](/packages/iturgeon-fuelfilter/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (2)Used By (0)

Fuel Filter Views
=================

[](#fuel-filter-views)

This little add-on lets you create new FuelPHP View Filters that process the strings generated by a rendered View.

No Follow Filter
================

[](#no-follow-filter)

Included in the code is a sample No Follow Filter. This filter injects rel="nofollow" into html links.

Usage:

```
	// create a new view (these extend FuelPHP's View Class)
	$view = \Filter\View::forge('myView');
	$view->add_filters(\Filter\NoFollow::forge());
	echo($view);
```

Creating Custom Filters
=======================

[](#creating-custom-filters)

Create a new Filter class that extends our Filter class.

For example: this class named /fuel/app/classes/reversefilter.php

```
