zero-to-prod/psr4-classname

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

Fund package maintenance!
zero-to-prod

Installs: 36

Dependents: 1

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-12-23 13:41:21 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';