Skip to content

Releases: paheon/MeowBase

v1.3.0

30 Dec 06:44

Choose a tag to compare

  • Added PHPDoc for all classes and - Updated all PHPDoc @Version tags to 1.3.0
  • Added error code and error message documentation, document/error.txt, for all classes
  • CacheDB:
    • Added enableCache property to enable/disable cache
    • Added defult value [] for $criteria parameter in search() method
  • CsvDB:
    • Fixed issue in search() method - use keyList to find the key instead of data array
  • PHP:
    • Added checkPwdHashCost() method to check the password hash cost
    • Added showPHPError() method to set display PHP error message
    • Added classDump() method to dump class properties and methods
    • Added html option to classDump() method to return HTML formatted string
  • New tools classes:
    • UserManager: User manager class for user login, register, and access control
    • User: User base class
    • UserCSV: User class for CSV storage
    • UserDB: User class for Database storage
    • UserGroup: User group base class
    • UserGroupCSV: User group class for CSV storage
    • UserGroupDB: User group class for Database storage
    • UserPerm: User permission base class
    • UserPermCSV: User permission class for CSV storage
    • UserPermDB: User permission class for Database storage

v1.2.1

17 Jun 07:33

Choose a tag to compare

  • ClassBase:
    • Changed from class to trait and let it can be used in any class for multiple inheritances
    • Other classes changed from inherit ClassBase to use ClassBase trait
  • Mailer:
    • Added more options, like autoTLS, keepalive, and timeout, in setConfig() method to set the configuration for phpmailer/phpmailer
  • New tools classes:
    • CsvDB: CSV database class for very simple database operations
  • tmp folder:
    • Added 'tmp' folder under var folder for temporary files

v1.2.0

12 May 07:16

Choose a tag to compare

v1.2.0

  • Introduced core class and tool class concept.
    Core class is most important class for whole application. It creates a single instance for whole application.
    (Actually, it may create multiple instances for some cases)
    Tool class is used to extend the functionality of MeowBase framework and we may create multiple instances as needed.
    All tool classes are stored in Tools sub-directory (Tools namespace).
  • Config:
    • Update default config for new classes and tools classes
    • Add configdir.php for core directory configuration
    • Add mail config for phpmailer/phpmailer
  • ClassBase:
    • Added useException property to enable/disable exception
    • Added exceptionClass property to set exception class name
    • Added throwException() method to throw exception
  • DTree:
    • Became a tool class (changed namespace to Paheon\MeowBase\Tool)
    • Added DTree::getNode() and DTree::setNode() methods to get and set node properties
    • Added DTree::buildNode() method to build a new node by array
    • Using array $param instead of fixed parameters in DTree::buildNode(), DTree::createNode() and DTree::createByPath().
    • Bug fixed createByPath() method
  • New tool classes:
    • File: File class for file operations
    • Url: Url class for url operations
    • Mime: Get and convert mime type and related icon
    • Mailer: Mailer class for linkup with phpmailer/phpmailer
  • composert.json
    • Updated to add phpmailer/phpmailer as dependency
  • test.php
    • Updated for new Mailer class and support classes
  • README.md
    • Updated for new core classes and tools classes introduction

v1.1.1

10 Jan 04:12

Choose a tag to compare

Added new functions to DTree and bug fixed some issues.

v1.1.0

08 Jan 04:12

Choose a tag to compare

Added new feature: DTree

v1.0.0

11 Dec 05:55

Choose a tag to compare

It is a first production release!