slugify

(โ˜… 2,900)

Converts a string to a slug. Includes integrations for Symfony, Silex, Laravel, Zend Framework 2, Twig, Nette and Latte.

  • .appveyor.yml
  • .editorconfig
  • .gitattributes
  • .gitignore
  • .php-cs-fixer.php
  • .scrutinizer.yml
  • CODE_OF_CONDUCT.md
  • composer.json
  • LICENSE
  • phpunit.xml.dist
  • README.md

# Installation Guide

1. Get the code
git clone https://github.com/cocur/slugify

Downloads the entire project code from GitHub to your computer.

cd slugify

Moves into the project folder you just downloaded.

2. PHP (Composer)

Easy Recommended
Prerequisites
  • Git Needed to download the project code from GitHub.
  • PHP A PHP runtime is required.
  • Composer The package manager used to install PHP libraries.
composer require cocur/slugify

Type this command into your terminal and run it.

โœ… Run it with a built-in server like php -S localhost:8000, then open http://localhost:8000 in your browser.

Pulled directly from this repo's README.

// repository documentation