PHP Classes

PHP Naming Convention Converter: Convert names between different conventions

Recommend this page to a friend!
  Info   View files Example   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 119 All time: 9,438 This week: 326Up
Version Licenses PHP version Categories
naming-converter 1.0.0BSD License, Free...5PHP 5, Text processing


This class can convert names between different conventions.

It provides several functions that can take a strings with names with multiple words using certain conventions to separate the words, and converts the strings to use other conventions.

Currently it can convert word separations between:

- camel case to underscores
- underscores to camel case
- underscores to Pascal case
- camel case to separated words
- camel case to upper case first word character
- camel case to upper case first name character

Picture of Khoa Nguyen
  Performance   Level  
Name: Khoa Nguyen <contact>
Classes: 1 package by
Country: Viet Nam Viet Nam
Age: 36
All time rank: 433227 in Viet Nam Viet Nam
Week rank: 578 Up6 in Viet Nam Viet Nam Up

  Files folder image Files  
File Role Description
Accessible without login Plain text file demo.php Example demo
Plain text file NamingConventionConverter.php Class source code class

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:9,438
This week:326Up