Skip to content

aminnairi/php-string-extra

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aminnairi/string-extra

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