Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Hold on, we're currently generating a fresh version of this report
Generated on May 10, 2024 via composer

voku/portable-ascii 2.0.1

Portable ASCII library - performance optimized (ascii) string functions for php.
Package summary
Share
0
issues
1
license
1
MIT
Package created
5 Sep 2019
Version published
8 Mar 2022
Maintainers
1
Total deps
1
Direct deps
0
License
MIT

Issues

0
This package has no issues

Licenses

MIT License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
Cannot
hold-liable
Must
include-copyright
include-license
1 Packages, Including:
voku/portable-ascii@2.0.1
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

0
All Dependencies CSV
ⓘ This is a list of voku/portable-ascii 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities

Visualizations

Frequently Asked Questions

What does voku/portable-ascii do?

The voku/portable-ascii is a performance-optimized package offering a suite of ASCII string handling functionalities for PHP. It works even without "mbstring", "iconv", or any other substantive encoding PHP-extension on your server. This library lightens the burden of writing code for string handling as it is easy to use and bundle.

How do you use voku/portable-ascii?

You can get started with voku/portable-ascii by installing the package using composer, a popular dependency manager for PHP. Run the following command in your terminal:

composer require voku/portable-ascii

After installation, you can easily utilize the library's functionalities. For example:

use voku\helper\ASCII;
echo ASCII::to_ascii('�Düsseldorf�', 'de');
// Output will be: Duesseldorf

In the above example, the ASCII::to_ascii function is used to convert a string to ASCII format.

Another example is for string sanitization:

use voku\helper\ASCII;
$result = ASCII::clean($str, $normalize_whitespace, $keep_non_breaking_space, $normalize_msword, $remove_invisible_characters);

Where $str is the input string and the rest are optional boolean parameters.

Where are the voku/portable-ascii docs?

The comprehensive documentation for the voku/portable-ascii library, including descriptions of all available classes and methods, can be directly accessed from the README files in the GitHub repository. For a deep dive into using the library, consult the class methods section, which provides detailed specifications for each available function.