- Install dependencies:
composer install
in the root directory of the project. This command will install the necessary libraries for sending emails and managing environment variables. This command will install the necessary libraries for sending emails and managing environment variables. - Create a .env file: Copy the
.env.example
file to.env
and fill in your SMTP credentials. - Run the php server: cd into your project dir. Use the command
php -S localhost:8000
to start a local PHP server. - Visit localhost:8000/test-form.html in your browser: This will open the test form where you can enter your email address.
- Check your email: After running the script, check your inbox for the test email.
-
Notifications
You must be signed in to change notification settings - Fork 0
ComputerAnything/cpt_anything_forms
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
A simple reference to apply forms via php in my html sites.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published