Download the PHP package crazy-max/cws-captcha without Composer

On this page you can find all versions of the php package crazy-max/cws-captcha. 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 cws-captcha

Latest Stable Version Minimum PHP Version Build Status Code Quality Become a sponsor Donate Paypal

:warning: Abandoned project

This project is not maintained anymore and is abandoned. Feel free to fork and make your own changes if needed.

Thanks to everyone for their valuable feedback and contributions.

About

PHP class to generate a captcha to avoid spam.

Installation

And download the code:

Getting started

See tests/test.php, tests/testCaptcha.php files samples to help you.

To create a captcha, copy/edit testCaptcha.php file and insert this in your HTML :

Example

Methods

process - Process the captcha generation.
check - Static method that checks the captcha code entered.

getWidth - Captcha width in px.
setWidth - Set the captcha width in px.
getHeight - Captcha height in px.
setHeight - Set the captcha height in px.
getMinLength - Captcha minimum length.
setMinLength - Set the captcha minimum length.
getMaxLength - Captcha maximum length.
setMaxLength - Set the captcha maximum length.
getBgdColor - Hexadecimal background color.
setBgdColor - Set the hexadecimal background color.
getBgdTransparent - The background transparent for PNG image type.
setBgdTransparent - Set background transparent for PNG image type. If enabled, this will disable the background color.
getFgdColors - Hexadecimal foreground colors list for font letters.
setFgdColors - Set the Hexadecimal foreground colors list for font letters.
getFonts - Fonts definition (letter_space, min and max size, filename).
getMaxRotation - Max clockwise rotations for a letter.
setMaxRotation - Set the max clockwise rotations for a letter.
getPeriod - Generated image period (x, y).
setPeriod - Set the generated image period (x, y).
getAmplitude - Generated image amplitude (x, y).
setAmplitude - Set the generated image amplitude (x, y).
getBlur - The blur effect using the Gaussian method.
setBlur - Add blur effect using the Gaussian method.
getEmboss - The emboss effect.
setEmboss - Add emboss effect.
getPixelate - The pixelate effect.
setPixelate - Add pixelate effect.
getFormat - Image format.
setPngFormat - Set the png image format. (default)
setJpegFormat - Set the jpeg image format.
getError - The last error.

How can I help ?

All kinds of contributions are welcome :raised_hands:! The most basic way to show your support is to star :star2: the project, or to raise issues :speech_balloon: You can also support this project by becoming a sponsor on GitHub :clap: or by making a Paypal donation to ensure this journey continues indefinitely! :rocket:

Thanks again for your support, it is much appreciated! :pray:

License

MIT. See LICENSE for more details.


All versions of cws-captcha with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3.0
ext-gd Version *
crazy-max/cws-debug Version ~1.11
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 crazy-max/cws-captcha contains the following files

Loading the files please wait ....