aminnairi / string-extra
Extra utilities for working with strings in PHP.
0.1.0
2022-09-03 20:54 UTC
Requires
- php: >=8.0.0
Requires (Dev)
- pestphp/pest: ^1.22
This package is not auto-updated.
Last update: 2024-11-11 05:29:33 UTC
README
Extra utilities for working with strings in PHP.
Usage
Requirements
Installation
composer require aminnairi/string-extra
Example
touch main.php
<?php require_once __DIR__ . "/vendor/autoload.php" use Aminnairi\StringExtra\StringExtra; echo StringExtra::toSentenceCase("toString");
php main.php To String
Development
Requirements
Docker Compose services build
docker-compose build
PHP vendor installation
docker-compose run --rm composer install
Unit tests run
docker-compose run --rm php vendor/bin/pest