Skip to content

Releases: teclone/php-handler

v1.0.1

22 Oct 14:28
Compare
Choose a tag to compare

1.0.1 (2018-10-22)

Bug Fixes

  • fix requireIf checked and notChecked conditional key implementations (f6cf020)

v1.0.0

22 Oct 13:57
Compare
Choose a tag to compare

1.0.0 (2018-10-22)

Bug Fixes

  • add missing static keywords to our static utility methods (84c9827)
  • fix array_walk method typo (5f2164b)
  • fix mutli file handling has value assignment (661e4d6)
  • fix wrong method call (26eae10)

Features

  • add ability to extend source by adding more fields (acf6b89)
  • add ability to map/copy data directly to a given model, with options to skip or rename one or (0d1462d)
  • add file not found Exception (5a89ef6)
  • add file read exception class (8f424ff)
  • add generic missing parameter exception (bc2ba65)
  • add getError method, it returns error message for a given field (2e7322b)
  • add interfaces that returns mimes for image, video, audio, media and document files (eddf77b)
  • add keySetAndTrue method. Returns true if a given key is set in an array and its value truthy (73bce2a)
  • Add the util module to provide utility methods (f2ae1ac)
  • add the validatePassword public interface (be0ec1d)
  • add toLower and toUpper filter options (b8be452)
  • add validateChoice method to the validator interface (4a28135)
  • add varieties of file validation methods, including document, image, audio, video and media (1e3c013)
  • allow priviledged codes to set data on the instance (4ff514b)
  • check for missing fields (86afe0b)
  • check format and bad format regex rules (5379294)
  • check if current validation call should proceed (b149d5a)
  • collect field data and run filters (34f073d)
  • create a CommonInterface that declares common methods for a validator and db checker (3c8f1e9)
  • create a generic DBChecker not found exception class (9952688)
  • create file extension detector interface, declare the detect public interface (f89d7d3)
  • create generic FileMoveException class (41ff252)
  • create the DBCheckerInterface (b142a75)
  • create the Handler module (ee62152)
  • create the rule options reference resolver (0a89db2)
  • create the validator interface (963232b)
  • define archive file validation interface (db97de3)
  • define the shouldProceed method that determines if a given call should be executed (70619d1)
  • expose archive file mime types (da6718d)
  • expose the resolveExtension(s) method interfaces (0807c2a)
  • extend datetime class by providing __toString method (94bc39a)
  • extend Exception class by providing the DataSourceNotRecognized Exception (bec0aa0)
  • extend Exception class, provide DataNotFound Exception (030da17)
  • extend Exception class, provide RuleNotFound Exception (370a72c)
  • extend php exception to cover unexisting directory exception (9a1a265)
  • extend the validator interface (ed34170)
  • extend the validator interface, provide email and url validation methods (60efc85)
  • implement Archive file type validation (35e6728)
  • implement date validation interface (05e0f11)
  • implement email and url validation (9235e54)
  • implement file validation interface (da1fbde)
  • implement float validation (ea28398)
  • implement integer validation (0323b41)
  • implement the DB checker interface (fb7ca2c)
  • implement the file extension detector interface (75ea418)
  • implement the requireIf option (b082af6)
  • implement the resolveExtension and resolveExtensions interfaces (3b08c3b)
  • implement the validateRange interface (aa6ab3f)
  • implement the validator interface (832e81c)
  • implement validate Image, Audio, Video, Media and Document interfaces (03ad168)
  • include succeeds and fails interfaces (1034603)
  • integrate email and url validation (a2cbe99)
  • move common properties and methods for a db checker and validator to a common trait file (b637788)
  • provide the validateRange interface (39097f0)
  • run field validations using the validator module (a936971)
  • run regexNone rule check (6ec79e1)
  • segregate validation rules into components (4a67ed6)
  • throw error if given data key does not exist, implement getter method (e69b436)
  • throw exception if no data or validation rules are set when handler is executed (99803d3)
  • validate regexAny rule (752184e)
  • validate text and check limiting rule options (a851743)