Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pafelin/laravel4-german-slug
Laravel 4 slug maker for German/Austrian strings
https://github.com/pafelin/laravel4-german-slug
Last synced: 28 days ago
JSON representation
Laravel 4 slug maker for German/Austrian strings
- Host: GitHub
- URL: https://github.com/pafelin/laravel4-german-slug
- Owner: pafelin
- Created: 2014-04-01T15:26:50.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-04-01T17:25:43.000Z (over 10 years ago)
- Last Synced: 2024-09-28T20:04:44.303Z (about 1 month ago)
- Language: PHP
- Size: 121 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Laravel 4.1 German Slug
========[![Build Status](https://travis-ci.org/pafelin/laravel4-german-slug.svg?branch=master)](https://travis-ci.org/pafelin/laravel4-german-slug)
Installation
-------
You should install this package through Composer.Edit your project's `composer.json` file to require `pafelin/laravel4-german-slug`.
"require": {
"laravel/framework": "4.1.*",
"pafelin/laravel4-german-slug": "dev-master"
},
"minimum-stability" : "dev"Next, update Composer from the Terminal:
`composer update`Once this operation completes, the final step is to add the service provider. Open `app/config/app.php`, and add a new item to the providers array.
`'Pafelin\Laravel4GermanSlug\SlugServiceProvider',`
And add a new item to the aliases array.
`'Slug' => 'Pafelin\Laravel4GermanSlug\Facades\Slug',`
Usage
-------
Call of the method: `Slug::make($text)`Call of the method with specific separator: `Slug::make($text, '_')`.
License
-------The MIT License (MIT)
Copyright (c) 2013 Pavel Genov