Skip to content

GrCOTE7/ReCaptcha

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A WinterCMS deposit for Google's reCaptcha (v3)

Espace de dial : Discord

The goal is to perform a simple form to works with WinterCMS system Ajax 's approach + reCaptcha of Google (v3 here)

8 (7 + 1) steps to be able to help

1. Recommended steps for a local installation of a fresh WinterCMS installation

  1. Fork this depository

  2. Clone your fork in your local server folder

  3. CLI: composer update

  4. Create a local database named 'recaptcha'

  5. CLI: artisan winter:env

    With your prefered editor, set your own parameters for access to your local database in the .env file in the root folder (See .env_example...)

  6. CLI: artisan key:generate

  7. CLI: artisan winter:up

    Be aware: At the end of this process, remember the given provisory password for the backend 's access !

    With your prefered browser (Except with your Tor browser), go inside your adminstrator account (Yes ! In the backend !) and just 2 last things to do:

    Go Local URL/backend

    • I  / In your adminstrator account, change the given provisory password as you want... Now ! ;-)

    • II / You need now to disable the debug bar plugin

      Settings → Updates & plugins → Manage plugins -> Winter.Debugbar : NO Enabled

      Works well in back end, but not yet in front end (Class "Twig_Extension" not found...)

Now: With Git, under the BasicWn tag, you have got a fresh installation of WinterCMS (PHP 8.0+ & Laragon 9)

2. In fact, you already have got the total code...! Juste access to it (the last research for ajax + recaptcha) in the main branch ;-) !

Register your local domain (localhost or better if you're done a local virtualHost, i.e. recaptcha) at :

https://www.google.com/recaptcha/admin

and copy in .env your site key and secret key (See .env_example again...)

The challenge if you accept if, is to succeed with reCaptcha with ajax Feature in WinterCMS

Keep in the form tag, the data-request / data-attach-loading, etc... And succeed with recaptcha

Have a good day, and a good use of this code, and don't hesitate to contribute to its evolutions by Pull Requests :-) ! @ Bi1tô* !

Special thanks to Luke Towers & Dreanad, always 'At top', that all of us can find and dial for help and more in Espace de Dial**

*    : To soon !
**  : Dialog space


Winter CMS Logo

Winter is a free, open-source content management system based on the Laravel PHP framework. Developers and agencies all around the world rely upon Winter for its quick prototyping and development, safe and secure codebase and dedication to simplicity.

No matter how large or small your project is, Winter provides a rich development environment, regardless of your level of experience.

Version Tests License Discord

Open in Gitpod

Installing Winter

Winter can be installed in several ways for both new users and experienced developers - see our Installation page for more information.

Quick start with Composer

For advanced users, run the following command in your terminal to install Winter via Composer:

composer create-project wintercms/winter example.com "dev-develop"

Run the following command with the folder created by the previous command to generate an environment file which will contain your configuration settings:

php artisan winter:env

After configuring your installation, you can run the following command to run the database migrations and automatically create an administrator account with the username admin. The password of this account will be automatically generated and displayed in your terminal.

php artisan winter:up

Learning Winter

The best place to learn Winter is by reading the documentation or following some tutorials. You can also join the maintenance team and our active community on Discord who are always willing to help out with questions.

Development team

Winter was forked from October CMS in March 2021 due to a difference in open source management philosophies between the core maintainer team and the two founders of October.

The development of Winter is lead by Luke Towers, along with many wonderful people that dedicate their time to help support and grow the community.

Luke Towers
Luke Towers
Ben Thomson
Ben Thomson
Marc Jauvin
Marc Jauvin
Jack Wilkinson
Jack Wilkinson

Foundation library

Winter is built on top of the wildly-popular Laravel framework for PHP, with the in-house Storm library as a buffer between the Laravel framework and the Winter project, to minimize breaking changes and improve stability.

Getting in touch

You can get in touch with the maintainer team using the following mediums:

Contributing

Before contributing issues or pull requests, be sure to review the Contributing Guidelines first.

Coding standards

Please follow the following guides and code standards:

Code of conduct

In order to ensure that the Winter community is welcoming to all, please review and abide by the Code of Conduct.

License

The Winter platform is open-sourced software licensed under the MIT license.

Security vulnerabilities

Please review our security policy on how to report security vulnerabilities.

About

Just for test Recaptcha with WinterCMS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published