crazy-max/cws-ovh-logs-downloader

This package is abandoned and no longer maintained. No replacement package was suggested.

PHP class to download the Apache access and error, FTP, CGI, Out and SSH logs available on http://logs.ovh.net from a shared hosting.

1.7.2 2019-10-24 21:52 UTC

This package is auto-updated.

Last update: 2019-11-14 15:42:36 UTC


README

Latest Stable Version Minimum PHP Version Build Status Code Quality Become a sponsor Donate Paypal

⚠️ Abandoned project

This project is not maintained anymore and is abandoned. Feel free to fork and make your own changes if needed.

Thanks to everyone for their valuable feedback and contributions.

About

PHP class to download the Apache access and error, FTP, CGI, Out and SSH logs available on http://logs.ovh.net from a shared hosting.

Installation

composer require crazy-max/cws-ovh-logs-downloader

And download the code:

composer install # or update

Getting started

See tests/test.php file sample to help you.

Example

Methods

getLogsWeb - Retrieve logs web.
getLogsError - Retrieve logs error.
getLogsFtp - Retrieve logs ftp.
getLogsCgi - Retrieve logs cgi.
getLogsOut - Retrieve logs out.
getLogsSsh - Retrieve logs ssh.
getAll - Retrieve all logs types.

setNic - Set the OVH NIC-handle. (e.g. AB1234-OVH).
setPassword - Set the OVH NIC-handle password.
getDomain - Your OVH domain.
setDomain - Set the OVH domain (e.g. crazyws.fr).
getDlPath - The download directory.
setDlPath - Set the download directory. (default 'logs/')
isDlEnable - Is downloading enable.
setDlEnable - Set download activation. (default false)
isOverwrite - Is overwriting enable.
setOverwrite - Set overwrite activation. (default false)
getError - Get the last error.

How can I help ?

All kinds of contributions are welcome 🙌! The most basic way to show your support is to star 🌟 the project, or to raise issues 💬 You can also support this project by becoming a sponsor on GitHub 👏 or by making a Paypal donation to ensure this journey continues indefinitely! 🚀

Thanks again for your support, it is much appreciated! 🙏

License

MIT. See LICENSE for more details.