Skip to content

OlaoluwaVincent/php101

Repository files navigation

Woow, A New One

This repo contains some kinda php stuff :)

Installation

Make Sure you have PHP installed, how bout version >=8.3 |Yoooo!, Always stay updated And yes no package manage required.

Usage

Navigate into this directories

  • donation
  • file_upload
  • contact-form

Heyyy Chillax

If you will be finding yourself in the contact-form directory. hmmm 🤔 You will have to do the following

composer init

Kindly follow the instructions to get you up and running, then....

composer require phpmailer/phpmailer:^6.9

thereafter,

  • Setup an account with mail PHPMailer
  • Find your way to your way to integration Email Testing / Inboxes / ⚙ /
  • Under code samples select PHP <> PHPMailer. Plus copy all
  • Set up your .env, could be at the root directory or in the contact-form directory, just handle Dotenv\Dotenv::createImmutable() appropraitely.
  • Edit content in /contact-form/config/app.php accordingly, else, you'd be sending me mails... ⚰
  • Edit the $phpmailer values in the /contact-form/handler/mail.php accordingly. You not sure how to go about this, hmmm 🤔.... Yeah, take a nap 😊

then run and visit (You can specify a different port)

php -S localhost:8888

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

Inspiration

  • Japhet Russell
  • Antawa Moses
  • Aspirations and Dreams 😇

License

MIT 😇

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published