The doctrine inflector is a powerful PHP library that helps you with singularization, pluralization, camel case, snake case, and more string manipulations.
Current Version: 2.0.10
Last Updated: 2024-02-18
PHP Requirement: ^7.2 || ^8.0
Dependencies: None
Package Description
The doctrine inflector is a versatile library that provides methods for transforming text to different formats such as camel case, snake case, and more. It simplifies the process of string manipulation in PHP projects, enhancing code readability and maintainability. With the doctrine inflector, you can effortlessly handle singularization, pluralization, and other string operations, boosting your development efficiency.
Make sure to include the correct namespace and class paths for proper usage.
<?php
// Example from PHPlibraries.com
require_once 'libs/doctrine/inflector/2.0.10/loader.php';
use Doctrine\Inflector\Inflector;
$obj = new Inflector();
echo '✅ Test OK: ' . get_class($obj);
?>
We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.
Community Discussion
Ask questions, share tips, or report issues below.