A Ping package for Laravel
Small fixes:
Small fixes:
Removed ending slash on url hosts. Sanitized ping command execution results.
Small fixes:
A package install command has been added to publish the package configuration file and allow easy modification of package settings.
Now you can publish configuration file with artisan command:
php artisan ping:install
In this version there are important changes compared to the previous version. The classes have been full rewritten. Thanks to this modification, you can PING IPv4 and IPv6 addresses, and you can also ping the host by domain name.
Added two new classes for validations:
Some Exceptions classes have ben written for error handling.
Notes:
The workflow has been changed, in this version, an instance of PingCommandBuilder has to be created and passed to the Ping class, then execute the run method of the Ping class to obtain an object with the results.
Initial release