divengine / functions
Div PHP Functions
1.0.1
2024-08-06 03:39 UTC
Requires
- php: >=8.0.0
Requires (Dev)
- phpstan/phpstan: ^1.11
- phpunit/phpunit: ^11.2
README
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.
PHP
Install
composer require divengine/functions
Upgrade
composer update
Usage
<?php use divengine\string; echo string(1);
JavaScript
Install
npm install @divengine/functions
Upgrade
npm update
Usage
import { string } from '@divengine/functions'; console.log(string(1));
Documentation
For more information visit Divengine Open Source