Recommend this page to a friend! |
Download |
Info | Example | Files | Install with Composer | Download | Reputation | Support forum | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
Not yet rated by the users | Total: 121 | All time: 9,492 This week: 146 |
Version | License | PHP version | Categories | |||
dirtracker 1.0.0 | MIT/X Consortium ... | 5 | PHP 5, System information, Files and ... |
Description | Author | |
This package can be used to watch a folder and send email when new files appear. |
<?php |
Simple PHP Package To Track The Directory For New Files and If New File Has Been Detected It Sends Email To Admin
git clone https://github.com/daudmalik06/DirTracker
cd DirTracker
composer install
cp .env.example .env
set SMTP credentials in .env file and other variables
php track.php /path/to/dir
Files (9) |
File | Role | Description | ||
---|---|---|---|---|
src (3 files) | ||||
.env.example | Data | Auxiliary data | ||
composer.json | Data | Auxiliary data | ||
composer.lock | Data | Auxiliary data | ||
last_timestamp | Data | Auxiliary data | ||
README.md | Doc. | Documentation | ||
track.php | Example | Example script |
Files (9) | / | src |
File | Role | Description |
---|---|---|
DirTrack.php | Class | Class source |
helper.php | Aux. | Auxiliary script |
last_timestamp | Data | Auxiliary data |
The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. |
Install with Composer |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.