zero-to-prod/psr4-classname

Generates a valid PSR-4 Compliant Classname from a string.

Fund package maintenance!
zero-to-prod

Installs: 5

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

Language:Dockerfile

v71.0.0 2024-11-23 13:30 UTC

This package is auto-updated.

Last update: 2024-11-23 13:32:26 UTC


README

Repo GitHub Actions Workflow Status Packagist Downloads php Packagist Version License

A regular expression to check an Email string.

Installation

Install the package via Composer:

composer require zero-to-prod/psr4-classname

Usage

use Zerotoprod\Psr4Classname\Classname;

Classname::generate('weird%characters*in^name', '.php'); // 'WeirdCharactersInName.php';