naftalivo / emailcontact
Package to send emails and store to database sender information
Installs: 6
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/naftalivo/emailcontact
This package is auto-updated.
Last update: 2025-12-16 19:06:19 UTC
README
Package to send emails and store to database sender information
Installing Package
The recommended way of this package is through composer Composer.
composer require naftalivo/emailcontact
Add in config > app.php this line at the end of providers
'providers' => [ /* * Laravel Framework Service Providers... */ ... Naftalivo\EmailContact\EmailContactServiceProvider::class, ],
Test Package
To test, go to
-
run php artisan serve
-
in localhost:8000 and add /emailcontact
-
configure your email service data in the .env file
MAIL_MAILER=smtp
MAIL_HOST=mailhog
MAIL_PORT=1025
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null
MAIL_FROM_ADDRESS=null
MAIL_FROM_NAME="${APP_NAME}"