Skip to content

MyTeamName/php-contact-form

Repository files navigation

Dealer Inspire PHP Code Challenge

Thanks for reviewing my submission.

I have implemented the code challenge using Laravel 5.5

Build Status Codecov

There are some new build steps to test:

composer install

cp .env.example .env

php artisan key:generate

./vendor/bin/phpunit

NOTE that the unit tests require sqlite installed.

Now if you'd like to fully preview the functionality, there are a few environment variables to set in the .env file:

  • DB_DATABASE
  • DB_USERNAME
  • DB_PASSWORD
  • MAIL_USERNAME
  • MAIL_PASSWORD

I recommend using MySQL and mailtrap.io

Finally, serve with artisan:

php artisan serve