Download the PHP package balt-technologies/laravel-icon-captcha without Composer
On this page you can find all versions of the php package balt-technologies/laravel-icon-captcha. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download balt-technologies/laravel-icon-captcha
More information about balt-technologies/laravel-icon-captcha
Files in balt-technologies/laravel-icon-captcha
Package laravel-icon-captcha
Short Description This is a simple but safe icon captcha for laravel
License MIT
Informations about the package laravel-icon-captcha
Laravel Icon Captcha
This is a simple but safe turing test for your laravel application.
- Simple, fast turing test
- Without collecting any data of the user
- Customizeable in color and size
You need a working Laravel 8 project to use this package without any errors.
How to install Laravel-Icon-Captcha
- After installing the package you need to set it up
Use the following command to get started:
Now you have all the files you need published in your resource path, and you're ready to start.
How to use Laravel-Icon-Captcha
To use the graphical captcha, make sure to follow following steps:
Implement the app.js from the laravel-icon-captcha in your own app.js file. The easiest way is it to just require it.
In a usual Laravel-Folder Structure it should look like this.
make sure you have Vue installed and that you require it in your app.js also dont forget to create a new Vue Instance.
Now you are ready to compile your files with laravel mix:
Implement it in the frontend
-
Make sure you have following div surrounding the form where you want to use the captcha:
- now you can just implement the vue component and the frontend part is done
Implement it in the backend
- To add the validation rule, you simply add following line to your request validation:
That's it. You're ready to go.
You can simply customize your laravel-icon-captcha by editing the css file.