PHP Classes
elePHPant
Icontem

PHP String Hidden Characters: Hide strings to avoid appearing in stack traces

Recommend this page to a friend!
  Info   View files Documentation   View files View files (8)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2019-06-05 (5 months ago) RSS 2.0 feedNot yet rated by the usersTotal: 113 All time: 9,127 This week: 313Up
Version License PHP version Categories
hidden-string 1.0MIT/X Consortium ...5PHP 5, Text processing, Data types, S...
Description Author

This package can hide strings to avoid appearing in stack traces.

It can be used to create objects that can set, get and copy string values.

When PHP runs stack trace functions like debug_backtrace the actual string value that is stored in the object does not appear.

Innovation Award
PHP Programming Innovation award nominee
June 2019
Number 10
Many applications need to deal with sensitive information that should not be exposed publicly because it is important to preserve the privacy of people that are the owners of that information.

However, some developers prefer to dump stack traces to logs or even Web pages when an expected errors, so they can see the details of the context of the errors.

This package provides a solution to help hiding sensitive information to be dumped to screen or log files. It can wrap text strings in an object interfaces that do not expose the actual value of the string when the object dump is requested.

Manuel Lemos
  Performance   Level  
Name: Scott Arciszewski <contact>
Classes: 22 packages by
Country: United States United States
Age: ???
All time rank: 1466199 in United States United States
Week rank: 35 Up3 in United States United States Up
Innovation award
Innovation award
Nominee: 18x

Winner: 1x

 

Details

HiddenString

Build Status Latest Stable Version Latest Unstable Version License Downloads

This package extracts the HiddenString class originally used in Halite. Requires PHP 7.

  Files folder image Files  
File Role Description
Files folder imagesrc (1 file)
Files folder imagetest (1 file)
Accessible without login Plain text file .travis.yml Data Auxiliary data
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file phpunit.xml.dist Data Auxiliary data
Accessible without login Plain text file psalm.xml Data Auxiliary data
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files  /  src  
File Role Description
  Accessible without login Plain text file HiddenString.php Class Class source

  Files folder image Files  /  test  
File Role Description
  Accessible without login Plain text file HiddenStringTest.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:113
This week:0
All time:9,127
This week:313Up