2017 © Pedro Peláez
 

library lettercase

A tool to convert from and to camelCase, snake_case, PascalCase and Path/Form

image

adamlc/lettercase

A tool to convert from and to camelCase, snake_case, PascalCase and Path/Form

  • Friday, September 27, 2013
  • by adamlc
  • Repository
  • 2 Watchers
  • 0 Stars
  • 11,393 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 2 Versions
  • 2 % Grown

The README.md

LetterCase Build Status

A tool to convert from and to camelCase, snake_case, PascalCase and Path/Form., (*1)

This fork has moderinized the Class structure a bit, added composer support and added PSR-2 compliance, (*2)

USAGE

<?php
$letterCase = new Adamlc\LetterCase\LetterCase();

$snake_case = $letterCase->snake("PascalCase"); // => pascal_case
$camelCase = $letterCase->camel("PascalCase"); // => pascalCase
$PascalCase = $letterCase->pascal("PascalCase"); // => PascalCase
$path_form = $letterCase->path("PascalCase"); // => Pascal/Case

The Versions

27/09 2013

dev-master

9999999-dev https://github.com/adamlc/LetterCase

A tool to convert from and to camelCase, snake_case, PascalCase and Path/Form

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

27/09 2013

0.1.0

0.1.0.0 https://github.com/adamlc/LetterCase

A tool to convert from and to camelCase, snake_case, PascalCase and Path/Form

  Sources   Download

MIT

The Requires

  • php >=5.3.0