Download the PHP package tejas/tejascaptcha without Composer

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

Tejas Captcha for the Laravel framework

The tejas/tejascaptcha is a service provider for Laravel. The package randomly generates either an alpha numeric captcha or a math captcha and provides both refresh and audio capabilities.

Section links

Preview

Compatibility

The tejas/tejascaptcha service provider has been tested with Laravel versions 5, 6 and 7. Test were performed on a Linux / Debian / Apache2 web server.

Installation

Tejas Captcha

The TejasCaptcha Service Provider is installed via Composer.

From your projects root directory, open a terminal and run the command

Tejas Captcha Middleware - Captcha Verification

app/Http/Middleware/VerifyTejasCaptcha.php

Middleware is used to verify that the captcha was correctly entered.

From your projects root directory, open a terminal and run the command:

This command copies the VerifyTejasCaptcha.php middleware stub file to your projects app/Http/Middleware folder.

app/Http/Kernel.php

In the app/Http/Kernel.php file at the bottom of the routeMiddleware section insert the following line:

Use this middleware declaration wherever the tejas/tejascaptcha is included in the Post submission.

example/routes/web.php

Example form submission route using tejascaptcha middleware

This route is declared in the example/routes/web.php file. It is part of the working example files included with the Tejas Captcha package. See example/README.md for implementation details.

Route::post('tejascaptcha_verify_form','TejasCaptcha_Controller@tejasCaptcha')->middleware('tejascaptcha_verify_captcha');

Bootstrap - Laravel Installation

Open a terminal, navigate to your projects root directory and run:

Tejas Captcha Makefile - Post Install

This step is optional.

To install the included Makefile run this from your projects root directory.

The Makefile is installed inside the tejascaptcha directory in your projects root.

To run the tejascaptcha/Makefile after installing it; From your projects root directory run the following command with one of the specified make actions:

Register the Tejas Captcha service provider

This step is optional - tejas/tejascaptcha is registered automatically by Composer package discovery.

config/app.php

Register the tejas/tejascaptcha service provider under the providers key in config/app.php.

Register the tejas/tejascaptcha service providers alias under the aliases key in config/app.php.

Configuration

Publish the configuration file

config/tejascaptcha.php

To customize tejas/tejascaptcha's settings run Laravels vendor:publish artisan command from your projects root directory.

Example output:

Type the number associated with tejascaptcha service provider and press enter. An editable copy of tejas/tejascaptcha's config file, tejascaptcha.php, should have been copied to your projects config directory.

Abbreviated default config file:

There are 7 keys in the config file. The config_section_key may point to one of the four pre-built image representation sections, standard is the default config_section_key value. You may override this value by setting it to 'flat', 'mini' or 'inverse'. :small_red_triangle:You may also override the image selection by specifying 'flat', 'mini' or 'inverse'as a post value of tejascaptchaImageType.

:small_red_triangle:refer to the tejas/tejascaptcha/example/js/tejascaptcha.js file in the $('#tejas_captcha_refresh_icon') click function.

The audio key specifies the audio files name prefix.

Example Usage Only

Links


All versions of tejascaptcha with dependencies

PHP Build Version
Package Version
Requires php Version >=7.0
ext-gd Version *
laravel/framework Version >=7.9
intervention/image Version >=2.2
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 tejas/tejascaptcha contains the following files

Loading the files please wait ...