metaclass-nl / phppeanuts-classes-pnt
pnt classes of the phppeanuts framework
Requires
- php: >=5.0
This package is auto-updated.
Last update: 2025-09-05 13:34:46 UTC
README
Version 2.4.2.alpha
Copyricht (c) MetaClass Groningen 2003-2025. All rights reserved.
Distributed and licensed under under the terms of the GNU Affero General Public License
version 3, or (at your option) any later version.
This library only contains the pnt classes. To use it install phppeanuts-skeleton and follow the instructions in its Readme.md
What's new
Since 2.4.0.alpha
- Tested with PHP 8.3 and 8.4:
- Workaround for Constant E_STRICT deprecated in PHP 8.4
Since 2.3.0
- Bugs fixed:
- E_NOTCE missing key: SqlFilterTest
- ValueValidator not yet included: PntErrorHandler
- Other improvements:
- No longer passes null to string functions
- Either declares all member variables or #[\AllowDynamicProperties]
- added conveniece functions substr and strlen to PntGen
- tested with PHP 7.2.24, 8.0.2, 8.1.17, 8.2.4
Remarks for upgrading existing applications
You may change you application to use composer to install and update this library.
See https://github.com/metaclass-nl/phppeanuts-skeleton for an example.
Or you may simply replace the contents of your classes/pnt folder with the contents
of src/pnt from this library
Known bugs and limitations
- UTF-8 not supported
- Applications are only protected against cross frame scripting in browsers that support the X-Frame-Options header.
- The Synchronizer Token Pattern by referrerer tokens is not as strong as by request tokens. (currently most frameworks only implement this pattern for actions (called tickets with peanuts)).
- Though the framework has DAO classes that are successfully used as the database abstraction layer with MySQL and SqLite, the use with other databases may require some additional refactoring. Please inform us about eventual problems and solutions with the use of other databases. (Known: Oracle versions below 9 do not support standard explicit JOIN syntax, but producing JOIN instuctions is not delegated to DAO objects and can not be easily refactored to do so.)
- The AGPL license requires you to license the source of applications using this version of phpPeanuts under the AGPL license.