2017 © Pedro Peláez
 

laravel-library laravel-sanitize

Laravel package to sanatize a string for use as URL's. It uses the PHP Normalizer class and fills whitespace with dashes.

image

webpatser/laravel-sanitize

Laravel package to sanatize a string for use as URL's. It uses the PHP Normalizer class and fills whitespace with dashes.

  • Friday, November 1, 2013
  • by webpatser
  • Repository
  • 1 Watchers
  • 4 Stars
  • 22,499 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 2 Open issues
  • 3 Versions
  • 6 % Grown

The README.md

Laravel Sanitize Build Status

Laravel package to sanitize a string for use in URL's, (*1)

Installation

Add webpatser/laravel-sanitize to composer.json., (*2)

"webpatser/laravel-sanitize": "dev-master"

Run composer update to get the latest version of Sanitize., (*3)

Edit app/config/app.php and add the alias, (*4)

'aliases' => array(
    'Sanitize' => 'Webpatser\Sanitize\Sanitize',
)

Usage

Sanitize::string('Sanitize me please!'); // sanitize-me-please

Notes

It uses the PHP Normalizer class and does some extra magic, and wraps it in the Laravel 4 grand scheme of things., (*5)

The Versions

01/11 2013

dev-master

9999999-dev https://github.com/webpatser/laravel-sanitize

Laravel package to sanatize a string for use as URL's. It uses the PHP Normalizer class and fills whitespace with dashes.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

laravel sanitize url

01/11 2013

dev-develop

dev-develop https://github.com/webpatser/laravel-sanitize

Laravel package to sanatize a string for use as URL's. It uses the PHP Normalizer class and fills whitespace with dashes.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

laravel sanitize url

01/11 2013

1.0

1.0.0.0 https://github.com/webpatser/laravel-sanitize

Laravel package to sanatize a string for use as URL's. It uses the PHP Normalizer class and fills whitespace with dashes.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

laravel sanitize url