PHP code example of elleyeayeme / case-converter

1. Go to this page and download the library: Download elleyeayeme/case-converter library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

elleyeayeme / case-converter example snippets




use CaseConverter\CaseConverter;

$converter = new CaseConverter;

// Outputs a_string_with_99_numbers
echo $converter->convert('aStringWith99Numbers')
    ->from('camel')
    ->to('snake');