To · Mecha CMS

Convert from X to Y.

$to::{html,h_t_m_l}()

Decode HTML special characters.

$to::{json,j_s_o_n}()

Convert PHP array/object into JSON.

$to::{url,u_r_l}()

Convert private file path into public URL, or decode URL special characters.

$to::{yaml,y_a_m_l}()

Convert array into YAML string.

$to::anemon()

Convert encoded JSON, PHP object or array into PHP array.

$to::base64()

Encode string to Base64.

$to::camel()

Convert string input into camelCase.

$to::dec()

Convert string into their HTML decimal characters representation.

$to::file()

Sanitize string input into safe file path.

$to::{folder,files}()

Sanitize string input into safe folder path.

$to::hex()

Convert string into their HTML hexagonal characters representation.

$to::key()

Convert string input into a valid array key.

$to::pascal()

Convert string input into PascalCase.

$to::path()

Convert public URL into private file path.

$to::query()

Convert PHP array into URL query string.

$to::sentence()

Convert string input into Sentence case..

$to::serial()

Serialize data.

$to::slug()

Convert string input into slug-case.

$to::snake()

Convert string input into snake_case.

$to::snippet()

Convert string input into snippet text.

$to::text()

Convert file name or HTML string into plain text.

$to::title()

Convert file name, HTML string or plain text into Title Case.