Or check out the edge version at github

Version 0.4

NaturePHP - Natural PHP Library Toolkit.
Package Contents
NaturePHP Core v0.4;
Log - Error/debug background system
Check - Check stuff (client and server environments, variables correctness, etc)
Utils - Utilities (variable transformations, arrays, options, etc)
Text - Text functionalities (strings, html, words, characters, etc)
Path - Path/url string transformations
Mem - Global cache system (big variables, file cache, etc)
Headers - HTTP Headers functionalities
Disk - Filesystem functionalities
Format - Measures/conversion/standards
Time - Time and Date functionalities
Database - Awesome sql interface
Event - Event/action and filtering functionalities
Mail - Email functionalities
Image - Image manipulation class
*Database - SQL Interface based on dbFacile v0.4.2 by greaterscope;
Change Log

v0.4

  • » Corrected windows/unix newline problems.
  • » Added SQLDumper utility (experimental).
  • » Image class added (image and thumbnails).
  • » Mail class added (mail, html format, attachments).
  • » Path::url_to with better windows support (case insensitive).
  • » Completely redesigned the Database class from scratch - MySQL and MSSQL (via ODBC) support.
  • » Now permanently tested within 3 different environments:
  •    » Linux (CentOS 5.3 x86_64 + Apache 2 + PHP 5.3 + MySQL 5.x).
  •    » Mac OSX (Leopard 10.5.7 + Apache 2 + PHP 5.2.x + MySQL 5.x).
  •    » Windows 2003 Server x64 (clustered) + IIS 6.0 + FastCGI + PHP 5.3 x64 + MS SQL 2005.
  • » Passed E_NOTICE to warning-like level within Log debugger.
  • » Changed Path::this_url - options 'get_in' instead of 'qs_inclusions' and 'get_out' instead of 'qs_exclusions'.
  • » Path::this_url now also supports adding # hashes (anchors) to url. Option '#' added.
  • » Removed E_STRICT warnings in Mem class.
  • » Removed REQUEST_URI dependencies for better IIS support.
  • » Multiple small bug corrections.


v0.3.3

  • » Added has_warnings() to Log.
  • » Changed debug layout to pull-up container with debug report.


v0.3.2

  • » Added simple_spaces, to_javascript, to_plain, to_plain_simple, to_html on Text class.
  • » Added full JSON and XML support for debug and error outputs to Log class.


v0.3.1

  • » Added Log::debug() for changing mode within instance.
  • » Added default debug report output on Log (in debug mode).
  • » Much prettier debug reports - thanks to Telmo.


v0.3

  • » Changed N classes to more readable names ('N'=>'Log', 'Nchk'=>'Check', 'NdbFacile'=>'Database', 'Nfs'=>'Disk', 'Nmeasures'=>'Format', 'Nheaders'=>'Headers', 'Nmem'=>'Mem', 'Npath'=>'Path', 'Ntpl'=>'Template', 'Ntime'=>'Time', 'Ntext'=>'Text', 'Nutils'=>'Utils') - suggested by Telmo.
  • » Changed Nchk::request_getHeaders to Headers::get_all.
  • » Added exception logging to "Log" class.
  • » Changed N::log calls to trigger_error within "Database" class.
  • » Added correct_paths option to "Template" class.
  • » Changed Check::is_email to Check::email .
  • » Added email notification option to "Log" .
  • » Added functionalities to "Check" (http_host, username, ip_address, hex_color, phone_number, url, client_is_winxp, browser_is_firefox, browser_is_webkit, browser_is_safari, browser_is_chrome, request_is_ssl).
  • » Added gzip functionality to "Headers".
  • » Added correct_html_urls to "Text".
  • » Changed stopwatch in "Time" to stopwatch_start, stopwatch_read and stopwatch_stop for better and simpler usability.
  • » Many other minor bug corrections and improvements and some methods name change to lowercase.
  • » Removed double quotes when get_magic_quotes_gpc() is on, at "Database" queries.