I have quite a few functions and classes that are running smoothly in my projects, so I thought I’d share them with the rest of the world and maybe somebody else finds them useful too. Learn more about those scripts in this article!
I start with this because all other functions and classes require NWFileOperations. NWFileOperations isn’t a single function but a set of functions which allows you to easily copy, rename, move, create and (recursively) delete files and folders.
NWLog is a very simple yet great logging script. It logs the time, a note and the line where the Function was called in which script. That’s pretty useful, isn’t it. It stores the information in a file and creates a new file each day.
This class is a gem! It’s a light weight database solution based on XML. When would you use it? If you have a really small project and MySQL seems overpowered or is not available and you can not use SQLite. NWDataBase supports all Operations you’d expect!
Okay, this is not big of a deal as I’d wish it to be. The function checks a script without executing it for compatibility with your current PHP installation. It actually should check which PHP version is needed at least. However, there is no list that contains all PHP functions and their corresponding introductory version. But hey, it’s a start!
If you want to use one or more of the functions and classes, you can just download them and include them into your project. Please mention my Name and if you have enough time, contact me – I’d love to hear from you and your projects.
Use Github to report any issues and maybe even provide a solution!