PHPackages                             vipnytt/cleanparam-url-filter - 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. [Search &amp; Filtering](/categories/search)
4. /
5. vipnytt/cleanparam-url-filter

ActiveLibrary[Search &amp; Filtering](/categories/search)

vipnytt/cleanparam-url-filter
=============================

Clean-Param URL filtering class - Find and remove any duplicate URL

0.1(10y ago)2741MITPHPPHP &gt;=5.4.0

Since Jan 30Pushed 10y ago1 watchersCompare

[ Source](https://github.com/VIPnytt/CleanParam-URL-filter)[ Packagist](https://packagist.org/packages/vipnytt/cleanparam-url-filter)[ Docs](https://github.com/VIPnytt/CleanParam-URL-filter)[ RSS](/packages/vipnytt-cleanparam-url-filter/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (3)Dependencies (2)Versions (4)Used By (0)

[![Build Status](https://camo.githubusercontent.com/567490633dea71dcfd4880517026237fcc490c5522a6288aa8c78fa6282cb8dc/68747470733a2f2f7472617669732d63692e6f72672f5649506e7974742f436c65616e506172616d2d55524c2d66696c7465722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/VIPnytt/CleanParam-URL-filter)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/c778716da3085065828635f3eac9b52e8e03a547aadccdca63578d2ca3a45340/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f5649506e7974742f436c65616e506172616d2d55524c2d66696c7465722f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/VIPnytt/CleanParam-URL-filter/?branch=master)[![Code Climate](https://camo.githubusercontent.com/14f64b894d1ba0d721b3e6df02fe516248e48bbe974dc01a2f6d15f250fea799/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f5649506e7974742f436c65616e506172616d2d55524c2d66696c7465722f6261646765732f6770612e737667)](https://codeclimate.com/github/VIPnytt/CleanParam-URL-filter)[![Test Coverage](https://camo.githubusercontent.com/cbead4bae9fc43c0ffb2759b34c75ec39f243e79aa27d382cb980f684e8240ac/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f5649506e7974742f436c65616e506172616d2d55524c2d66696c7465722f6261646765732f636f7665726167652e737667)](https://codeclimate.com/github/VIPnytt/CleanParam-URL-filter/coverage)[![License](https://camo.githubusercontent.com/57f04103c4cb308653c33287938733fbfe9890bbf9b511db3dc8375931578d37/68747470733a2f2f706f7365722e707567782e6f72672f5649506e7974742f436c65616e506172616d2d55524c2d66696c7465722f6c6963656e7365)](https://github.com/VIPnytt/CleanParam-URL-filter/blob/master/LICENSE)[![Packagist](https://camo.githubusercontent.com/3a89a011b935a35fff3ba05fe4b0667a50d0c7399f130c62dfbcdcc7831c18e7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7669706e7974742f636c65616e706172616d2d75726c2d66696c7465722e737667)](https://packagist.org/packages/vipnytt/cleanparam-url-filter)[![Join the chat at https://gitter.im/VIPnytt/CleanParam-URL-filter](https://camo.githubusercontent.com/1b07e4b78b20275ef540782a5e061608c5b312f7030ebfa80de3c297462b85e2/68747470733a2f2f6261646765732e6769747465722e696d2f5649506e7974742f436c65616e506172616d2d55524c2d66696c7465722e737667)](https://gitter.im/VIPnytt/CleanParam-URL-filter)

Clean-Param URL filtering class
===============================

[](#clean-param-url-filtering-class)

PHP class to filter URL duplicates, with integrated support for [Yandex Clean-Param specifications](https://yandex.com/support/webmaster/controlling-robot/robots-txt.xml#clean-param).

[![SensioLabsInsight](https://camo.githubusercontent.com/10243a6bd47d5332a3f2d90dd7a42b60373d03299435ab8c9896dd0cc3224aed/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f39336638303337652d643362332d346362352d386434612d3564343166613733363335352f6269672e706e67)](https://insight.sensiolabs.com/projects/93f8037e-d3b3-4cb5-8d4a-5d41fa736355)

FAQ:
----

[](#faq)

**What does it do?**

It filters your URL lists so that any duplicate pages are removed.

**What to expect if I'll filter my URLs?**

- You'll never have to reload duplicate information again.
- More efficient web crawling.
- Server load will decrease.

**What is Clean-Param?**

It's a robots.txt directive witch describes dynamic parameters that do not affect the page content (e.g. identifiers of sessions, users, referrers etc.). When added, it has an significant impact on the number of URLs considered as duplicates. [Learn more.](https://yandex.com/support/webmaster/controlling-robot/robots-txt.xml#clean-param)

Installation
------------

[](#installation)

The library is available for install via Composer package. To install via Composer, please add the requirement to your `composer.json` file, like this:

```
{
	"require": {
		"VIPnytt/CleanParam-URL-Filter": "dev-master"
	}
}
```

and then use composer to load the lib:

```
