Download the PHP package samolabams/smtp-validator without Composer
On this page you can find all versions of the php package samolabams/smtp-validator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download samolabams/smtp-validator
More information about samolabams/smtp-validator
Files in samolabams/smtp-validator
Package smtp-validator
Short Description A simple laravel package that validates your smtp credentials without sending a test mail
License MIT
Homepage https://github.com/samolabams/smtp-validator
Informations about the package smtp-validator
Laravel Smtp Validator
This laravel package can be used to validate your smtp credentials without sending a test mail
Package Installation
Require this package in your composer.json file and update composer.
- If you are on laravel 5.5 and above, thats all you need to do.
- If your laravel version is < 5.5, you'll need to register a service provider and optionally add a facade. Open up config/app and the following to your array:
Optionally, you can also use a facade for shorter code:
Usage
Create a new validation with the "newValidation" method with your hostname and port(default port is 25) as parameters, optionally add a username and password, encryption type and "validate" VOILA!!!.
Use the App container
Or use the facade
Response
Contributing
Please feel free to fork this package and contribute by submitting a pull request to enhance the functionalities.
License
This Smtp Validator is licensed under the MIT License - see the LICENSE file for details