Download the PHP package juniorari/jutils without Composer

On this page you can find all versions of the php package juniorari/jutils. 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 jutils

JuniorAri Utils

Class for methods and lot of stuff utilities

Getting Started

Execute command line:

Or add on your require section of your composer.json

Prerequisities

On Windows, locate and edit php.ini file, and uncomment line:

On Linux, run command (where X is a version of your PHP):

How to use

or

Functions:

Function What
capitalizeName Capitalize a string
toUpper Convert to uppercase
toLower Convert to lowercase
removeAccents Remove accenst from string
createAlias Create an alias
searchCEP Search a brazilian CEP
dateToday Return today date
dateIsValid Check if is valide an date on specified format
dateToMysql Converts date from DD/MM/YYYY format to MYSQL format YYYY-MM-DD.
datePrintDate Prints a date in a specified format
dateHourNowMysql Imprime a data de hoje no formato do MySQL: Y-m-d H:i:s
datePortuguese Imprime a Data em Português no formato: 01 de janeiro de 2000
converteMoeda Formata um valor para o formato moeda, tanto brasileiro quanto americano
formatoMoeda Mostrar o valor em formato moeda com o R$
imprimeNome Imprime o nome de uma pessoa com a quantidade de nomes especificados, não considerando os artigos na ultima posição.
mostrarCEP Função para mostrar o CEP no formato com os pontos e traço.
mostrarCPF Função para mostrar o CNPJ no formato com os pontos
serializaDados Serializa os dados
unserializaDados Retorna os dados deserializados
simNao Retorna Sim ou Não com a fonte awesome
dateSomaDiasHoje Soma X dias a data de hoje
dateSomaData Soma X dias a data especificada
somenteNumeros Retorna somente os números de uma string
strCorta Faz o corte de uma string, com o tamanho definido
strZeros Função para colocar a quantidade de zeros a esquerda
validaCPF Valida CPF
validaEmail Verifica se um email é válido ou não
validaURL Valida uma URL, se tem a aparência válida ou não

@github: github.com:juniorari/jutils


All versions of jutils with dependencies

PHP Build Version
Package Version
Requires php Version >=7.1.0
ext-mbstring Version *
ext-curl Version *
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 juniorari/jutils contains the following files

Loading the files please wait ....