A collection of standalone functions designed to enhance PHP and JavaScript capabilities, providing common utilities without external dependencies. Part of the divengine* ecosystem, these functions offer atomic solutions that PHP & JS lacks natively.
composer require divengine/functions
composer update
<?php
use divengine\string;
echo string(1);
npm install @divengine/functions
npm update
import { string } from '@divengine/functions';
console.log(string(1));
For more information visit Divengine Open Source