Download the PHP
package movescode/cropper without Composer
On this page you can find all versions of the php package
movescode/cropper. It is possible to download/install
these versions without Composer. Possible dependencies are resolved
automatically.
Vendor movescode Package cropper Short Description Official image crop and thumbnail component for MovesOS License
MIT Homepage http://www.moves.com.br
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.
Componente oficial de thumbnails, recorte e cache de imagens do MovesOS. Usa GD, valida o conteúdo da imagem e mantém cada operação de limpeza confinada ao cache configurado.
Requisitos e instalação
PHP 8.2+
GD
Fileinfo
Mbstring
Criar thumbnails
Sem altura, a proporção original é mantida. Com largura e altura, a imagem usa recorte central no formato cover.
make() retorna o caminho do cache ou null quando a origem não existe. Chamadas repetidas com a mesma origem e dimensões reutilizam o arquivo existente.
Formatos
São aceitos JPEG, PNG, GIF e WebP. Transparência é preservada quando o formato permite.
Para gerar cache diretamente em WebP:
Conversão WebP
Com unlinkImage: true, a origem é removida somente após a conversão bem-sucedida.
Limpar cache
A limpeza seletiva identifica todas as dimensões criadas para a mesma origem.
Qualidade e compressão
JPEG/WebP: qualidade entre 0 e 100.
PNG: compressão entre 0 e 9.
Valores fora do intervalo são normalizados.
Segurança e limites
A origem precisa ser uma imagem decodificável. Dimensões são limitadas a 10.000 pixels por eixo e 40 milhões de pixels de saída. O diretório raiz não pode ser usado como cache e cada exclusão é confirmada dentro do cache real.
Requiresphp Version
^8.2 ext-fileinfo Version
* ext-gd Version
* ext-mbstring 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 movescode/cropper contains the following files
Loading the files please wait ...
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.