The preferred way to install this extension is through composer.
Either run
composer require --prefer-dist php-forge/helpers:"^0.1"
or add
"php-forge/helpers": "^0.1"
The repository contains a collection of utility functions designed to simplify common programming tasks in PHP.
Whether you're working on web development, data processing, or other projects, these helper functions can save you time and effort.
<?php
declare(strict_types=1);
use PHPForge\Helper\WordFormatter;
$word = WordFormatter::camelCaseToSnakeCase('date_birth');
<?php
declare(strict_types=1);
use PHPForge\Helper\WordFormatter;
$word = WordFormatter::snakeCaseToCamelCase('date_birth');
<?php
declare(strict_types=1);
use PHPForge\Helper\WordFormatter;
$word = WordFormatter::capitalizeToWords('Date Birth');
<?php
declare(strict_types=1);
use PHPForge\Helper\Password;
$password = Password::generate(8);
<?php
declare(strict_types=1);
use PHPForge\Helper\Timezone;
$timezones = Timezone::getAll();
Check the documentation testing to learn about testing.
The MIT License (MIT). Please see License File for more information.