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 Friday - 2016-10-28

  • Contents

    • Latest PHP Classes blog posts

    • Notable PHP package: PHP Cache Manager Wrapper (1 day ago)

      Posted on: 2016-10-27
      Summary: Requests sent to APIs or database accesses may take a significant amount of time to process depending on the complexity of the requests. However, some API requests or database accesses may be actually retrieving the same data.

      This class provides a solution to automatically cache the responses of APIs or the results of the datatase queries implemented in PHP by looking at API request parameters and checking if they were stored in previously cached responses.

      The package uses PSR-6 compliant cache classes, so it can be used with any cache storage container that implements the PSR-6 interfaces.

      Read this article to learn more details about how this notable PHP package works.
    • Notable PHP package: ITE PSR-6 Cache (3 days ago)

      Posted on: 2016-10-25
      Summary: PSR-6 is a PHP Standards Recommendation from the FIG (Framework Interoperability Group) that defines a common interfaces for packages that want to implement data caching functionality.

      This package provides an implementation of the PSR-6 interfaces to store and retrieved cache data in several types of containers like files, session variables and memcached.

      This way all applications that need a caching package can use interchangeably these or other compatible packages that implement the PSR-6 interfaces.

      Read this article to learn more details about how this notable PHP package works.
    • Notable PHP package: PHP Web Application Firewall (8 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.
    • How to Stream Your PHP Code on Livecoding.tv (8 days ago)

      Posted on: 2016-10-20
      Summary: Livecoding.tv is a live streaming platform that allows people to share code, exchange programming experiences, and socialize, while improving their code.

      Read this article to learn how you can expose your PHP programming skills while you program live, as well how you can embed your recording live streaming videos in PHP Classes, so other PHP Classes users can learn how you are doing your work.
    • Notable PHP package: waPluginator (10 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 (11 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 (15 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 (17 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 (21 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 (22 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 (24 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 (25 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 (28 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 (29 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.


    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 7
    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 2
    7 Manuel Lemos Portugal Portugal 1
    8 Alexander Skakunov Ukraine Ukraine 1
    9 Mike Leigh United Kingdom United Kingdom 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 One copy of the Zend Studio
    7 eKatab PHP ePub Reader
    Display ebooks in the epub format on Web pages
    Karl Holz Canada 6.45% 5 One downloadable copy of PhpED Professional
    7 PHP UDP Hole Punching
    Connect to network peers through a UDP server
    Nick Daniels United States 6.45% 5 One ebook of choice by Packt
    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
    SASL Composer Zip File Problems
    Downloading the zip file from composer has problems.
    2016-10-27 Simple Authentication and Security Layer
    new functions
    move to other folder and get number of unread msg
    2016-10-27 Receive Mail
    Help wiht read a individual pages
    I Cant read PDF split in individual PDF
    2016-10-26 PHP PDF to Text
    How to change table style?
    2016-10-26 VsWord
    How change font-family
    2016-10-26 VsWord
    improvements and corrections
    2016-10-26 Danen MySQL Backup
    Never knew this was possible.
    Package rating comment
    2016-10-26 PHP Base64 Encode and Decode
    Great Class
    Package rating comment
    2016-10-26 HAB Encryption
    difficult to convert file
    Horror PDF file
    2016-10-25 PHP PDF to Text
    Love is coding style
    Package rating comment
    2016-10-25 PHP MLM Tree Binary Plan


    • Latest package entries

    • PHP WordPress Hooks and Filters

      Picture of Lars Moelleken
      Author: Lars Moelleken
      Date: 2016-10-27 (1 day ago)
      Groups: PHP 5, Language
      Description: This class can handle and triggers actions like WordPress.

      It can register handlers for actions that can be triggered in a way similar to WordPress. It can:

      - Register a handler for an action
      - Trigger an action to be handled by all handlers
      - Remove a given action handler
      - Check if an action handler was registered
      - Get the number of times an action was triggered
      - Adds an action filter handler
      - Remove a given action filter handler
      - Check if are there any registered action filters
      - Apply all the filters for a given action
    • Tuadmin Cache

      Picture of victor
      Author: victor
      Date: 2016-10-26 (2 days ago)
      Groups: PHP 5, Files and Folders, User Management, Cache
      Description: This package can cache variable value in file or session variable.

      It takes a name of a cached value and checks if it is store in the cached container.

      If the cached value is not stored or has expired, it calls a given callback value to return the new value to be cached.

      The package comes with classes to store cached values in either files or session variables.

      The cached values expiry time is configurable.
    • First Load Class

      Picture of Marcel Franke
      Author: Marcel Franke
      Date: 2016-10-25 (3 days ago)
      Groups: PHP 5, Files and Folders, Language, Configuration
      Description: This class can setup configuration values and load scripts.

      It can store and retrieve from class variables named application configuration values that can be scalars or arrays.

      The class can also load additional scripts using include or require.
    • GImage

      Picture of Jose Luis Quintana
      Author: Jose Luis Quintana
      Date: 2016-10-25 (3 days ago)
      Groups: PHP 5, Graphics
      Description: This class can Create graphic images with a fluent interface.

      It provides a base class that can load and save images from file in different formats like GIF, PNG and JPEG. It can also crop, resize and rotate images.

      There are several sub-classes that can create images with text, canvas shapes, and rectangular figures.
    • Simple Cache Class

      Picture of Lars Moelleken
      Author: Lars Moelleken
      Date: 2016-10-24 (4 days ago)
      Groups: PHP 5, Cache
      Description: This class can store cache values in different container types.

      It can store and retrieve data values in storage containes like MemCache, Redis, files, arrays, and APC.

      The cache expiry time is also a configurable value.
    • PHP Circular Buffer

      Picture of Christian Vigh
      Author: Christian Vigh
      Date: 2016-10-24 (4 days ago)
      Groups: PHP 5, Data types
      Description: This class can store values in a circular buffer array.

      It can keep adding values to an array with position numbers with up to a given limit.

      When the array entries exceed the initial limit number, the class starts setting values from the start of the array.
    • PHP Shortest Path Algorithm

      Picture of Lionel F. Lebeau
      Author: Lionel F. Lebeau
      Date: 2016-10-23 (5 days ago)
      Groups: Algorithms, PHP 5, Geography
      Description: This class can compute the shortest route between to points.

      It can take the names of start and end location and finds the shortest path using an algorithm loosely based on Dijkstra’s algorithm.

      The paths between locations and them distance and time it takes to go from one to the other are retrieved from a MySQL database.

      Instead of trying to resolve each branch of the tree, it computes the nearest nodes.

      If a result is found, it is memorized. Then other solutions are searched.
      If a shorter one is found, it replaces the longer one and eliminates the corresponding branch. If a longer one is found, the branch is eliminated.
      If an equal one through a different route is found, it is added.

      The package includes a class for localizing some text messages.
    • ITE PSR-6 Cache

      Picture of Kiril Savchev
      Author: Kiril Savchev
      Date: 2016-10-22 (6 days ago)
      Groups: PHP 5, Utilities and Tools, Cache, PSR
      Description: This package can cache data in several storage containers compliant with PSR-6.

      It provides several container classes compliant with PSR-6 specification that can store and retrieve data to be cached.

      Currently it provides container classes for storing data in files, session variables, and memcached.

      The file cache saves values into files and loads from them if requested and the cache is not expired.

      The session cache saves values into user session values. It will be cleared after the user session expires.

      The memcached adapter wraps the native memcached extension.
    • Client Data

      Picture of Itay Segal
      Author: Itay Segal
      Date: 2016-10-22 (6 days ago)
      Groups: HTTP, PHP 5, Geography
      Description: This class can Get the user browser details and location.

      It can check the user agent string and determine the browser type, user device type, and IP address.

      The class can also retrieve the user location from the IP address using the GeoIP package.
    • PHP Debug Variable Value

      Picture of Juan Pablo Irungaray Segura
      Author: Juan Pablo Irungaray Segura
      Date: 2016-10-21 (7 days 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.