The goal is to perform a simple form to works with WinterCMS system Ajax 's approach + reCaptcha of Google (v3 here)
-
Fork this depository
-
Clone your fork in your local server folder
-
CLI:
composer update
-
Create a local database named 'recaptcha'
-
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...)
-
CLI:
artisan key:generate
-
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...)
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 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.
Winter can be installed in several ways for both new users and experienced developers - see our Installation page for more information.
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
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.
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 |
Ben Thomson |
Marc Jauvin |
Jack Wilkinson |
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.
You can get in touch with the maintainer team using the following mediums:
- Follow us on Twitter for announcements and updates.
- Join us on Discord to chat with us.
Before contributing issues or pull requests, be sure to review the Contributing Guidelines first.
Please follow the following guides and code standards:
In order to ensure that the Winter community is welcoming to all, please review and abide by the Code of Conduct.
The Winter platform is open-sourced software licensed under the MIT license.
Please review our security policy on how to report security vulnerabilities.