Login   Register  
PHP Classes

Site content newsletter

Recommend this page to a friend!
  Daily HTML version   Weekly HTML version   Daily text version   Weekly text version  

Hello this is the Weekly PHP Classes newsletter of Saturday - 2016-10-22

  • Contents

    Latest PHP specialists forum threads

    Subject Updated on
    ENC key (256 bits)
    AES only supported at the moment)


    • Latest PHP Classes blog posts

    • Notable PHP package: PHP Web Application Firewall (2 days ago)

      Posted on: 2016-10-20
      Summary: Some security attacks are performed by sending requests to Web servers that it is not expected to handle.

      One way to minimize the chances of these attacks happening is to use a Web application firewall (WAF).

      This package implements a Web Application Firewall in PHP for Web servers that support htaccess configuration.

      It alters the .htaccess file so requests are handled by a script of this framework. It keeps track of a white list of request URLs supported by your application, so only approved URL formats are allowed.

      URLs with unknown formats are put in moderation, so an administrator can approve the URLs or not for future requests.

      This way the application can be protected from types of requests meant to perform security exploits.

      Read this article to learn more details about how this notable PHP package works.
    • Notable PHP package: waPluginator (4 days ago)

      Posted on: 2016-10-18
      Summary: Some projects need to create files of different types, for instance to create themes and other types of configuration plugins.

      Usually these files can be created from templates but if you need non-technical users to edit those files, they will not be able to do it because it is more complicated than they can handle.

      This package provides a better alternative that consists in defining parameters that the users can edit using regular Web forms, thus without having to edit templates or configuration files.

      Read this article to learn more details about how this notable PHP package works.
    • PHP 8 Performance to be Boosted with a JIT engine - Lately in PHP podcast episode 76 (5 days ago)

      Posted on: 2016-10-17
      Summary: Recently Dmitry Stogov of Zend announced that he is restarting the work on JIT engine that eventually will boost the performance of PHP 8.

      These great news was one of the main topics discussed by Manuel Lemos and Johnny Mast on the episode 76 of the Lately in PHP podcast now also being streamed using livecoding.tv.

      In this episode they also commented about new proposals for PHP like having both PHP 5 and PHP 7 builds running on the same Web server, single entry PHP apps for reducing the overhead of application bootstrap code, type strict comparisons, built-in request and response objects in PHP, among other topics.

      This article also contains the transcript of the podcast summary.

      Listen to the podcast, or watch the hangout video to learn more about these interesting PHP topics.
    • Notable PHP package: PHP Safe Image Preview (9 days ago)

      Posted on: 2016-10-13
      Summary: Some sites need to receive images from users that may not be safe for displaying to non-adults.

      In this case it may be better to avoid showing those images to children. However, when you don't know if the user is not an adult, it would be better to show an obfuscated version of the image.

      This class can use an API to determine if an image is not safe for showing to non-adults. It can also return a blurred version when it is the case, thus avoid showing the image explicitly.

      Read this article to learn more details about how this notable PHP package works.
    • Notable PHP package: BurgeATS (11 days ago)

      Posted on: 2016-10-11
      Summary: Many developers work for companies that have many times of needs but all those that have customers that need to provide support, often need a platform to keep track of their customer contacts and support requests.

      This package implements an extensive solution to keep track of the customer information as in a CRM, as well the details of their support tickets and their status.

      Read this article to learn more details about how this notable PHP package works.
    • PHP Articles Report September 2016 Edition (15 days ago)

      Posted on: 2016-10-07
      Summary: This is the September edition of the podcast hangout recorded by Manuel Lemos and Arturs Sosins to comment on the latest outstanding PHP Articles published recently.

      They commented on articles about logging events and show them with nice graphs, getting currency exchange rates for the present or any past date, getting PHP jobs in high growth companies, using error monitoring services, generating SQL to install database schemas, and several articles and videos to help developers create software product businesses.

      Listen to the podcast, or watch the hangout video to learn more about these PHP articles.
    • Notable PHP package: Mask (16 days ago)

      Posted on: 2016-10-06
      Summary: Template engines are frequently used in PHP applications to generate Web pages or some kind of other output from template files or strings, as they make it easy to separate login from presentation code.

      Usually you use a component that processes a template file or a string and replaces some variables with values passed to the template engine.

      This package provides an alternative approach by using a trait that can be used by any class. The template variables are replaced by the values of class variables or return values of class functions with the same names.

      This way developers can easily turn templates into classes of their own that they can call to generate their applications output.

      Read this article to learn more details about how this notable PHP package works.
    • Notable PHP package: PHP Google Maps Time Zone Convert (18 days ago)

      Posted on: 2016-10-04
      Summary: Some applications need to be able to show the time for a certain event in the current user time zone. The time zone depends on the geographic location of the user.

      The location of the user may be determined from the user IP address by using a geo IP database or Web service.

      So, if you have the user location coordinates, you can use the Google Maps API to determine what is the user time zone.

      This package can call determine the time zone of a location precisely calling the Google maps API.

      Read this article to learn more details about how this notable PHP package works.
    • How to Get Investors for Your Software Product Business: Part 1 (19 days ago)

      Posted on: 2016-10-03
      Summary: Many developers gave up on their dreams of creating their own software product business because they feel they need to obtain an investment but they do not know how to do it.

      The good news is that investment is often not necessary until you have already of a business generating revenue. Until then you can work on your software product without having to invest from your own pocket.

      Watch this video to learn what is the role of the investors, the different types of investors that exist, and what type of investment you need to seek depending on the phase of your project.
    • Lately in PHP in Livecoding.tv - Lately in PHP podcast episode 75 (22 days ago)

      Posted on: 2016-09-30
      Summary: Livecoding.tv is a live streaming site that allows developers to stream themselves working on code of their projects. The episode 75 of the Lately in PHP podcast 75 is the first episode to be streamed using livecoding.tv presented by Manuel Lemos and Arturs Sosins as always.

      In this episode thei also talked about the PHP proposals for immutable objects, searching for text on the beginning and end of strings, disallowing null object parameters in the get_class call, removing UTF-8 to ISO Latin 1 conversion functions and deprecate bundling PEAR/PECL and replace with composer/pickle.

      Listen to the podcast, or watch the hangout video to learn more about these interesting PHP topics.
    • Notable PHP package: ITE Logger (23 days ago)

      Posted on: 2016-09-29
      Summary: PSR-3 is a standards recommendation that defines a common interface to implement logger classes.

      This package implements the PSR-3 logger interface using several types of classes, as well a class and a trait that allows using multiple nested loggers.

      It also provides a stream wrapper that allows developers to write to logs using regular file access functions.

      Read this article to learn more details about how this notable PHP package works.
    • Notable PHP package: Portable UTF-8 (25 days ago)

      Posted on: 2016-09-27
      Summary: Nowadays PHP has different extensions to manipulate text strings using Unicode UTF-8. However some may be available or not in different PHP environments.

      This package provides a pure PHP solution to manipulate text in UTF-8, so you do not depend on whether any other extensions are available.

      If such extensions are available, the package may fallback to using them them for performing the same UTF-8 text manipulation operations.

      Read this article to learn more details about how this notable PHP package works.
    • How to Choose the Best Market to Sell Your Software Product (26 days ago)

      Posted on: 2016-09-26
      Summary: There are markets that are better than others. The choice of a market for the software products that you will develop, may be the difference between a successful product and one without much future.

      Watch this video to learn how to determine which market you should prefer to have a more viable software product business.
    • PHP and JavaScript Innovation Award Report September 2016 Edition - June 2016 nominees (29 days ago)

      Posted on: 2016-09-23
      Summary: This is the September edition of the Innovation Award podcast hangout recorded by Manuel Lemos and Arturs Sosins to comment on the outstanding features of all the past month nominees and winners PHP and JavaScript packages, the prizes that the authors earned, starting with the nominees from the month of June 2016.

      Listen to the podcast, or watch the hangout video to learn why the nominated packages were considered to be innovative, as well the current rankings of the Innovation Award Championship by author and by country.
    • Notable PHP package: PHP RTF Tools (30 days ago)

      Posted on: 2016-09-22
      Summary: Comparing word processing documents programmatically to see what was changed is a hard problem because you need to parse the documents and determine how to compare them.

      This package provides an alternative solution to simplify this task.

      Many Word processing documents can export documents in RTF (Rich Text Format). This is a text based format based on marks that identify different values in the documents like fonts, text formatting attributes, colors, etc..

      If you save your Word processor documents in the RTF format, this package can easily render the document data in a beautified way that make it easier to compare document using a diff-like text comparison program.

      Read this article to learn more details about how this notable PHP package works.


    Top friends of the site

    Friends of the PHP Classes site is a initiative to provide recognition to the users that contribute to the growth of the site community.

    For more information on how to become a friend of the site look here.

    Rank Friend Referrals
    1 Arturs Sosins Latvia Latvia 8
    2 Cesar D. Rodas Paraguay Paraguay 6
    3 Olaf Lederer The Netherlands The Netherlands 4
    4 Protung Dragos Germany Germany 2
    5 Khaled Al-Shamaa Syria Syria 2
    6 Rafael Espinosa Cuba Cuba 1
    7 Mike Leigh United Kingdom United Kingdom 1
    8 Alexander Skakunov Ukraine Ukraine 1
    9 Horst Nogajski Germany Germany 1
    10 Manuel Lemos Portugal Portugal 1


    Innovation award results

    Innovation Award winners Congratulations to Roger George and Bruno Henrique Ferreira de Oliveira and Truong Van Phu and Christian Vigh!

    Rank Class Author Score Points Prize
    1 PHP Web Site Compare Files
    Compare the list of files of two Web sites
    Roger George United States 12.90% 11 One downloadable copy of CodeLobster Professional
    1 PNG Hex Color Modifier
    Replaces a color in a PNG image by another color
    Bruno Henrique Ferreira de Oliveira Brazil 12.90% 11 One big elePHPant Plush Mascott
    1 PHP Search String in File
    Search for files with a given string using grep
    Truong Van Phu Viet Nam 12.90% 11 SourceGuarding PHP encoder tool
    1 PHP SSH Connection Session
    Run arbitrary length commands in a server with SSH
    Christian Vigh France 12.90% 11 One downloadable e-book of choice by O'Reilly
    5 PHP Domain Driven Design
    Domain driven design using domain logic classes
    Nemeth Zoltan Hungary 9.68% 7 One subscription to the PDF edition of the PHP Architect magazine
    5 PHP Builder Pattern Generator
    Generate code for classes with the builder pattern
    Asher Wolfstein United States 9.68% 7 One downloadable copy of Komodo IDE
    7 CakePHP 2.x Container
    Interoperable container integration with CakePHP
    Nerijus Lithuania 6.45% 5
    7 ITE Collection
    Manage sets of arrays or objects as collections
    Kiril Savchev Bulgaria 6.45% 5
    7 eKatab PHP ePub Reader
    Display ebooks in the epub format on Web pages
    Karl Holz Canada 6.45% 5
    7 PHP UDP Hole Punching
    Connect to network peers through a UDP server
    Nick Daniels United States 6.45% 5
    11 PHP Detect Google Crawler
    Check if an access is from Google checking its IP
    Gábor Kalmár Hungary 3.23% 1

    Award page

    Nominees to win the award of September of 2016

    Class: PHP RTF Tools
    Description: Parse and generate RTF documents using templates
    Author: Christian Vigh
    Country: France

    Class: CakePHP 2 Zend Service Manager integration
    Description: Integrates the Zend Service Manager with CakePHP 2
    Author: Nerijus
    Country: Lithuania

    Class: Simple Logger
    Description: Log messages and view log filtered files
    Author: Joseluis Laso
    Country: Spain

    Class: morgen
    Description: Generate icon images for multiple platforms
    Author: Alexander Selifonov
    Country: Russian Federation

    Class: Noter
    Description: Create and manage notes shared between users
    Author: Martin Latter
    Country: United Kingdom

    Class: PHP Form Encryption
    Description: Encrypt and decrypt forms with AES and RSA
    Author: Francisco del Aguila
    Country: Spain

    Class: PHP Component Event
    Description: Implement a immutable event
    Author: nvb
    Country: Germany

    Class: PHP Ignore JSON Key
    Description: Remove certain key values from JSON strings
    Author: Janjan
    Country: Philippines

    Class: PHP Unicode to Bijoy Converter
    Description: Convert Bijoy ANSI text from Unicode Bengali
    Author: Miraz Mac
    Country: Bangladesh

    Class: PHP SMS Queue System
    Description: Queue and process delivery of SMS with Gammu
    Author: Juraj Puchký
    Country: Czech Republic

    Class: Has Parent
    Description: Trait to assign on object as parent of another
    Author: magog
    Country: Russian Federation

    Class: ITE Logger
    Description: Log messages to different storage PSR-3 compliant
    Author: Kiril Savchev
    Country: Bulgaria

    Class: PHP MySQL Websocket Chat
    Description: Websocket chat that stores messages in MySQL
    Author: Johnny Mast
    Country: The Netherlands

    Class: Portable UTF-8
    Description: Manipulate UTF-8 text strings in pure PHP
    Author: Lars Moelleken
    Country: Germany



    Latest support forum threads

    Subject Posted on Class
    Use addFrame to pass the image directly?
    A small change that simplifies the usage (IMO)
    2016-10-22 Move Me GIF
    Great Software
    This is not only a great idea, but needed one
    2016-10-21 PHP Web Application Firewall
    Margins Appear even when margin is set to 0
    2016-10-21 PHP Favicon Generator
    Package rating comment
    2016-10-21 Database Search
    This is pretty good.
    Package rating comment
    2016-10-21 HAB Encryption
    need some details and example overall very nice
    Package rating comment
    2016-10-21 Secure pass data input
    Nice librery
    Package rating comment
    2016-10-21 HAB Encryption
    Package rating comment
    2016-10-20 Google Page Rank Checker
    Package rating comment
    2016-10-20 Google Site Map
    good game
    Package rating comment
    2016-10-20 PHP Print


    • Latest package entries

    • PHP Debug Variable Value

      Picture of Juan Pablo Irungaray Segura
      Author: Juan Pablo Irungaray Segura
      Date: 2016-10-21 (1 day ago)
      Groups: PHP 5, Debug
      Description: This a simple class can output the values of scalar and array values.

      It can take the value of a regular variable or an array and display it in a Web page.

      Optionally the class may exit the current script using die after displaying the variable value.
    • Secure pass data input

      Picture of ali 123
      Author: ali 123
      Date: 2016-10-20 (2 days ago)
      Groups: PHP 5, Text processing, Validation
      Description: This class can filter string values of several formats.

      It can take a string valie and filter according to one of the supported formats. Currently it supports:

      - Filter to encode HTML special characters
      - Sanitize email addresses
      - Decimal numbers
      - Dates

      Security validator for => [
      special chars
      persian characters
    • HAB Encryption

      Picture of Haseeb Basil
      Author: Haseeb Basil
      Date: 2016-10-20 (2 days ago)
      Groups: PHP 5, Cryptography
      Description: This class can encrypt and decrypt a string with a given key.

      It takes a given string and encrypts it by adding the code of o the characters in the string with the codes of the key string.

      The class can also do the opposite process by reverting to the original string using the same key.

      It can also encode the result encrypted string with base64 and store it on a file.
    • PHP Histogram Titos

      Picture of Jorge Guerrero
      Author: Jorge Guerrero
      Date: 2016-10-19 (3 days ago)
      Groups: HTML, PHP 5, Graphics, Statistics
      Description: This class can render a histogram of stacked values in a Web page.

      It take an array of values and generates HTML and CSS to display a histogram the values on a Web page.

      The class can take parameters to define the starting value, number of bins, and intervals.

      The histogram output includes relative frequency per bin to determine normal distribution of the set of values input.

      The normal distribution is the relative percentage to the whole set per bin, that is all values add up to 1 or 100%. It allows to add the frequencies from left to right or right to left to determine the chances of getting in the set something of less or greater value from a particular bin.

      The class also returns HTML for notes about the histogram.
    • PHP Web Application Firewall

      Picture of Roman Shneer
      Author: Roman Shneer
      Date: 2016-10-19 (3 days ago)
      Groups: HTTP, PHP 5, Security
      Description: This package can block malicious requests using a white list.

      It alters the .htaccess file to make requests for PHP pages go through a filter script that acts like a reverse proxy to implement a Web application framework (WAF).

      The filter script will block requests of unauthorized format but the package provides a Web interface for the administrator white list requests of expected formats for the current Web application.
    • PHP Cache Manager Wrapper

      Picture of Sergii Pryz
      Author: Sergii Pryz
      Date: 2016-10-18 (4 days ago)
      Groups: Cache, Performance and optimization, PHP 7, PSR
      Description: This package can wrap over cache classes to optimize cache requests.

      It can take some parameters about queries of data, to a REST API or a database search for instance, and determines if the results in the cache are already available or need to be retrieved.

      It also accesses the cache if the list of fields to be retrieved is a subset of values already stored in a cache entry.

      The package can take query parameters for a context name, the type of entity being queried, a specific list of entity IDs, name of the entity fields to be returned, and the name of the id field.

      The package calls PSR-6 compliant cache classes to access the cached data.
    • PHP Minify CSS and JavaScript

      Picture of Rogério Taques
      Author: Rogério Taques
      Date: 2016-10-18 (4 days ago)
      Groups: PHP 5, Web services, Compression, Parsers
      Description: This class can compact and group CSS and JavaScript files.

      It can take CSS and JavaScript files and compact them removing whitespace and needless characters.

      Multiple CSS or multiple JavaScript files can also be grouped in one.

      The class can also call a Web service that will use the Uglify.js library to compact the files.
    • DataBase Object (DBO)

      Picture of Oleg Zorin
      Author: Oleg Zorin
      Date: 2016-10-17 (5 days ago)
      Groups: PHP 5, Databases
      Description: This package can manipulate database table records.

      There is one class that connects to database and execute queries.

      Another class performs common operations with database table records based on information of the tables and fields stored in class variables.

      Currently it can perform operations like creating, updating, deleting records, load records, validate record values, get a list records, delete a list of records.

      Applications may create sub-classes with predefined values for specific tables with given fields.
    • PHP Anti XSS Filter

      Picture of Lars Moelleken
      Author: Lars Moelleken
      Date: 2016-10-17 (5 days ago)
      Groups: HTML, PHP 5, Security
      Description: This class can remove tags from HTML that may cause XSS attacks.

      It can parse HTML and remove sequences that may be used to execute JavaScript code that could perform XSS attacks.

      The class returns a clean HTML string without dangerous XSS sequences.
    • Jaxon for Zend Framework

      Picture of Thierry Feuzeu
      Author: Thierry Feuzeu
      Date: 2016-10-16 (6 days ago)
      Groups: PHP 5, Libraries, AJAX
      Description: This package integrates the Jaxon library with the Zend Framework 2, allowing to make AJAX calls to PHP classes.

      It automatically export all PHP classes installed in a given directory to be called from JavaScript, so their methods can be invoked directly from the browser.

      The Jaxon library provides a Response object that allows in the PHP application to modify the content and layout of a page, and execute JavaScript code on the client side.
    • Flat Config

      Picture of Miraz Mac
      Author: Miraz Mac
      Date: 2016-10-15 (7 days ago)
      Groups: PHP 5, Files and Folders, Configuration
      Description: This class can read and write configuration values in JSON files.

      It can create and read configuration files that store key-values pairs using the JSON format.

      The class can also add, update and delete individual configuration values and store them in the JSON configuration file.