New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

adamlc/lettercase

Package Overview
Dependencies
Maintainers
0
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

adamlc/lettercase

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

Source
Packagist
Version
0.1.0
Version published
Total downloads
20K
Maintainers
0
Created
Source

LetterCase Build Status

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

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

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

FAQs

Package last updated on 27 Sep 2013

Related posts