2017 © Pedro Peláez
 

package db-slug

Mass slugify existing database column

image

buchin/db-slug

Mass slugify existing database column

  • Wednesday, November 23, 2016
  • by buchin
  • Repository
  • 1 Watchers
  • 0 Stars
  • 11 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

db-slug

Mass slugify existing database column, (*1)

Installation

composer require buchin/db-slug

Usage

<?php
use Buchin\DbSlug\DbSlug;

$dsn = "mysql:unix_socket=/Applications/MAMP/tmp/mysql/mysql.sock;dbname=test";
$user = "root";
$password = "root";

$dbSlug = new DbSlug($dsn, $user, $password);

// $column can be multiple
$column = ['title'];
$table = 'post';

$dbSlug->slug($table, $column);

The Versions

23/11 2016

dev-master

9999999-dev

Mass slugify existing database column

  Sources   Download

Halal

The Requires

 

The Development Requires

by Mochammad Masbuchin