Download the PHP package tamedevelopers/support without Composer

On this page you can find all versions of the php package tamedevelopers/support. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package support

Support Package

Support Package For PHP and Laravel

Total Downloads Latest Stable Version License

Documentation

Requirements

Installation

Prior to installing support package get the Composer dependency manager for PHP because it'll simplify installation.

All Paths

function name Description
base_path() Get absolute base directory path. Accepts a param string if given, and append to path
directory() Thesame as base_path()
public_path() Root/public path. Accepts a param string if given, and append to path
storage_path() Root/storage path. Accepts a param string if given, and append to path
app_path() Root/app path. Accepts a param string if given, and append to path
config_path() Root/config path. Accepts a param string if given, and append to path
lang_path() Root/lang path. Accepts a param string if given, and append to path
domain() Returns domain URI. Accepts a param string if given, and append to path

Number to Words

Sample Units

iso (country iso3) cents number
NGA \| GBR \| USA true \| false int\|float\|string
If iso is given and found, it'll automatically converts the text into a currency format If you want the decimals to be translated to text as well. numeric figures: 299 \| '42,982' \| 3200.98

ISO

Cents

Value

toText

toNumber

Tame

byteToUnit

Params Description
bytes The size in bytes to be converted
format Whether to preserve case (default: lowercase)
gb Custom label for GB (default: 'GB')
mb Custom label for MB (default: 'MB')
kb Custom label for KB (default: 'KB')

unitToByte

fileTime

exists

unlink

mask

Params Description
$str The string to be masked.
$length The number of characters to mask (default is 4).
$position The position to apply the mask: 'left', 'center', or 'right' (default is 'right').
$mask The character used for masking (default is *).

Example:

imageToBase64

emailValidator

Params Description
email The email address to validate.
use_internet By default is set to false. If true, checks the domain using DNS (checkdnsrr() and getmxrr()) for validity. If false, skips domain validation (default: false).
server_verify Verifies the mail server by checking MX records (default: false). Only used if use_internet is true.

platformIcon

Params Description
$platform Platform name windows \| linux \| android \| mobile \| phone \| unknown \| mac \| macintosh \| ios \| iphone \| c \| os x
$os_name OS name 'macos', 'os x', 'ios'

Example

paymentIcon

Params Description
$payment add-money \| alipay \| bank \| cc \| credit-card \| discover \| faster-pay \| groupbuy \| maestro \| mastercard \| pay \| payme \| payment-card \| payment-wallet \| paypal \| stripe-circle \| tripe-sqaure \| stripe \| visa

Example

calPercentageBetweenNumbers

formatNumberToNearestThousand

Str

Mail

to

attach

subject

body

send

Zip

Unzip

Zip Download

PDF

options Description
content string HTML Content
paper_size string Default is A4 --- letter \| legal
paper_type string Default is portrait --- landscape
destination string Full path to where file has to be save public_path(invoice/file.pdf)
By default it saves the pdf generated by timename to your project root [dir]
output string Default is view --- save \| download
isRemoteEnabled bool Default is false --- true If the content of html contains file/image link
title string If the html content of PDF has no title, file name will automatically become the title
delete bool Default is true --- false If output is view you can choose to delete file after preview

Read PDF

Time

time-data

function name Description
sec() \| getSec() Get seconds from time
min() \| getMin() Get minutes
hour() \| getHour() Get hour
day() \| getDay() Get days
week() \| getWeek() Get weeks
month() \| getMonth() Get months
year() \| getYear() Get years
time() \| getTime() Get time as int

now

date

today

yesterday

timestamp

toJsTimer

diff

mode
year \| month \| hour \| mins \| sec \| days \| weeks

diffBetween

ago

mode
full \| short \| duration \| time \| date \| date_time \| time_stamp

range

get output

addSeconds

subSeconds

allTimezone

setTimeZone

getTimeZone

UrlHelper

Cookie

function name Description
set() Used to set cookie
get() Used to get cookie
forget() Used to expire cookie
expire() Same as forget method
all() Get all available cookie
has() Cookie exists

Set

Get

Forget

Has

Hash

Password verify

Asset

Asset Config

params Description
base_path PAth to file
cache By Default is false. Tell method to include cache for each file
path_type By Default is false, which uses absolute path for all files. While true will use relative path

Asset Cache

ENV

ENV Create

ENV Load

ENV Update

Params Description
key ENV key
value ENV value
allow_quote true \| false - Default is true (Allow quotes within value)
allow_space true \| false - Default is false (Allow space between key and value)

Server

Get Servers

Create Custom Config

Params Description
key File array key
default Default value if no data is found from the key
folder Folder to search from and Default folder is config

Autoload Register

Helpers Functions

function name Description
env() env method To get environment variable
server() Return instance of (new Server) class
to_array() array Convert value to array
to_object() object Convert value to object
to_json() string Convert value to json

Error Dump

function Description
dump Dump Data
dd Dump and Die

Useful Links


All versions of support with dependencies

PHP Build Version
Package Version
Requires php Version >=8.0
ext-ctype Version *
ext-mbstring Version *
symfony/var-dumper Version *
symfony/console Version ^6.2
cocur/slugify Version ^4.2.0
vlucas/phpdotenv Version ^5.4.1
phpmailer/phpmailer Version ^6.9
filp/whoops Version ^2.15
dompdf/dompdf Version ^3.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package tamedevelopers/support contains the following files

Loading the files please wait ....