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 Sunday - 2016-09-25

  • Contents

    Latest PHP specialists forum threads

    Subject Updated on
    I need a help to convert a pdf file UTF-8 to text php or JS
    I need a help to convert a pdf file UTF-8 to text php or JS


    • Latest PHP Classes blog posts

    • PHP and JavaScript Innovation Award Report September 2016 Edition - June 2016 nominees (2 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 (3 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.
    • How Can I Get Users to Try my Software Product for the First Time (4 days ago)

      Posted on: 2016-09-21
      Summary: Before you announce the software product that you developed, nobody knows about it. Actually if you are starting in the business, maybe nobody knows you yet.

      So you need to start attracting people to at least try your product, demonstrate that you understand about the user problems and how your product can solve them.

      Watch this video of a consulting session to learn about means to start attracting a list of people potentially interested in your product, so you can sell it later to them.
    • Notable PHP package: PHP Domain Driven Design (5 days ago)

      Posted on: 2016-09-20
      Summary: In simple terms, Domain Design Design is an approach for software development that departs from an evolving model of the problem to the implementation.

      This package provides a demonstration of the application of the model driven design.

      It provides a set of classes that demonstrate how to implement domain logic with example models, services, strategies, as well specific data type object and mapper classes to use in the demonstration scripts.

      Read this article to learn more details about how this notable PHP package works.
    • Notable PHP package: PHP SMS Queue System (10 days ago)

      Posted on: 2016-09-15
      Summary: One way to send SMS messages without depending on third party APIs is to use the Gammu program. It can communicate with a mobile phone connected to your machine and sends SMS messages from the phone to whatever recipients you want.

      This method of sending SMS messages may not be particularly fast, especially when you have to send many SMS messages, as it has to wait for one message to be sent, to send the next message.

      This class provides a solution to prevent that your PHP application needs to wait for each SMS message to be delivered before it can send the next one.

      It uses local message queues to post the messages. A separate script can pull each message from the queue and send it by communicating with the mobile phone using Gammu.

      Read this article to learn more details about how this notable PHP package works.
    • Notable PHP package: PHP Ignore JSON Key (12 days ago)

      Posted on: 2016-09-13
      Summary: JSON is nowadays used by many applications and APIs to exchange data in a format that can be supported by many languages.

      Sometimes you need to do some processing to filter unwanted entries in JSON data structure. Usually you would use json_decode parse the data, traverse the parsed data and filter the unwanted information, and regenerate it with json_encode.

      This class offers a simpler solution. It can take a JSON string and removed the unwanted entries from the JSON string directly.

      This way you do not need to perform traversal of data and custom processing to remove the unwanted data.

      Read this article to learn more details about how this notable PHP package works.
    • Non Obvious MySQL Index Optimization Tricks part 1 (13 days ago)

      Posted on: 2016-09-12
      Summary: Every developer knows that adding indexes to database tables may speedup database queries. However, in several circumstances, this may not be the case, and your application may actually get slower when you add indexes.

      Watch this short video that is the first part of a talk that teaches what are indexes under the hood, how to determine when you should add indexes to your database tables, when you should not add indexes, and
      alternative solutions to optimize MySQL based applications without adding indexes that could slow down your application.
    • Notable PHP package: PHP Form Encryption (17 days ago)

      Posted on: 2016-09-08
      Summary: When you need to submit security sensitive data to a Web site, you should always use encrypted connections. However, over time older SSL versions have been discovered to be vulnerable, to the point that SSL is not longer synonym of security.

      Nowadays you should use at least TLS and we don't know until when the current TLS versions will be safe to use to protect the transmission of private data.

      This class provides an additional layer of security by using JavaScript to encrypt data before transmitting form values using RSA public key, and then having the server to decrypt the data with a private key.

      This way, eventual man in the middle attacks will not be able to decrypt the data because they don't know what is the private key that the server uses to decrypt it.

      Read this article to learn more details about how this notable PHP package works.
    • How to Create a Software Product Business Continuing to Be a Developer (18 days ago)

      Posted on: 2016-09-07
      Summary: What developers like most is to write code. Creating your own software product business gives you a lot of freedom to work any time you want, anywhere you want, work with the technologies you like, but some developers are afraid that once they start a business they may need to stop writing code and give up on the joy of being a developer.

      Fortunately it does not have to be this way. You can create your own software product business and still continue to work as a developer.

      Watch this video to learn about different solutions to continuing to be a developer while you work on your own software product business.
    • Notable PHP package: morgen (19 days ago)

      Posted on: 2016-09-06
      Summary: Developers that have tried to create applications that should run both on the Web, Android and iOS devices know that you need to have a different sets of application image icons that looks well on different resolutions.

      This package provides a solution by automatically generating icon sets for different devices and sizes.

      It supports generating icons from a SVG source graphics if you can run a program like Inkscape to convert images from SVG to the PNG format.

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

      Posted on: 2016-09-02
      Summary: This is the August 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 using the HTTPoxy vulnerability that affects some well known PHP applications, how to use the pthreads extension, 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: ITE Collection (24 days ago)

      Posted on: 2016-09-01
      Summary: PHP is very good at dealing with arrays of values. It provides interfaces that can let developers create classes that can manipulate lists of values using the regular array syntax and functions.

      Often the code for manipulating different types of values is the same for different classes that implement array interfaces.

      This package provides a trait that can manipulate collections of unique values that can be either arrays and objects. The trait may be reused by other classes that implement similar collections of other types of values.

      Read this article to learn more details about how this notable PHP package works.
    • The Best Way To Find a Developer Job in 2016 (25 days ago)

      Posted on: 2016-08-31
      Summary: Times have passed and the way you get hired jobs as software developer or even other positions has changed.

      In the past you used to find jobs and and apply by sending resumes. Or worse you would get chased by annoying recruiters.

      Nowadays companies like Hired have inverted the process and made it such way that instead of you applying for jobs, companies apply to find talented professionals.

      Read this article to learn how Hired implements this modern hiring process and how you can join to benefit from getting better job opportunities.
    • Notable PHP package: PHP SSH Connection Session (26 days ago)

      Posted on: 2016-08-30
      Summary: SSH is a protocol to communicate with a remote server via a secure connection that allows to execute commands on a remote machine.

      However, the length of the commands that can be executed is limited.

      This package provides a workaround for this limitation that consists in creating a shell script to execute long commands and execute it using the bash shell.

      Read this article to learn more details about how this notable PHP package works.
    • 5 Phases to Create Software Products that Will Be Perfect for Your Customers (27 days ago)

      Posted on: 2016-08-29
      Summary: Many software products failed because their developers did not start by listening to their customers problems.

      Learning about the customers problems is the first of 5 phases of a method called Design Thinking. When well applied this method can lead to the creation of products that are perfect for their customers.

      Watch this video to learn how you can apply this method to design your software products in a short period of time and get what customers really need even before you start writing a line of code.
    • PHP and JavaScript Innovation Award Report August 2016 Edition - May 2016 nominees (30 days ago)

      Posted on: 2016-08-26
      Summary: This is the August 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 May 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.


    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 9
    2 Olaf Lederer The Netherlands The Netherlands 5
    3 Cesar D. Rodas Paraguay Paraguay 4
    4 Rafael Espinosa Cuba Cuba 2
    5 William Lang Canada Canada 1
    6 Larry Wakeman United States United States 1
    7 Ehsanul Haque Bangladesh Bangladesh 1
    8 Alexandre Miguel de Andrade Souza Brazil Brazil 1
    9 Alexander Skakunov Ukraine Ukraine 1
    10 Khaled Al-Shamaa Syria Syria 1


    Innovation award results

    Innovation Award winners Congratulations to Aleksey Nemiro!

    Rank Class Author Score Points Prize
    1 PHP Small Server Administrator
    Web panel for small Debian and Ubuntu servers
    Aleksey Nemiro Russian Federation 24.14% 11 One big elePHPant Plush Mascott
    2 Jaxon
    Call PHP classes from JavaScript using AJAX
    Thierry Feuzeu Cameroon 17.24% 10 One downloadable copy of Komodo IDE
    3 Faster PHP IP2Location
    Faster method to find the location of IP addresses
    Chi Hoang France 13.79% 9 SourceGuarding PHP encoder tool
    4 Rabbit ORM
    ORM for CodeIgniter based on Laravel's Eloquent
    Fabio Mazzo Brazil 10.34% 8
    5 PHP String Socializer
    Replace text with hash tags and social media links
    Luciano Salvino Argentina 6.90% 7
    5 BladeOne
    Standalone template engine that compiles into PHP
    Jorge Castro Chile 6.90% 7
    5 CMS Airship
    Content management system with security features
    Scott Arciszewski United States 6.90% 7
    5 PHP Silex REST Multi Lazy Load
    Create REST APIs with module lazy loading
    John Diaz Colombia 6.90% 7
    9 Automator Shell Action Tools
    Process console input and environment variables
    Karl Holz Canada 3.45% 3
    9 Deferred Exceptions
    Queue exceptions and throws them afterwards
    magog Russian Federation 3.45% 3
    11 PHP IIN and BIN
    Identify card issuer and bank from numbers
    Yorch Ponce Mexico <1.00% 1

    Award page

    Nominees to win the award of August of 2016

    Class: CakePHP 2.x Container
    Description: Interoperable container integration with CakePHP
    Author: Nerijus
    Country: Lithuania

    Class: PHP Domain Driven Design
    Description: Domain driven design using domain logic classes
    Author: Nemeth Zoltan
    Country: Hungary

    Class: ITE Collection
    Description: Manage sets of arrays or objects as collections
    Author: Kiril Savchev
    Country: Bulgaria

    Class: eKatab PHP ePub Reader
    Description: Display ebooks in the epub format on Web pages
    Author: Karl Holz
    Country: Canada

    Class: PHP Web Site Compare Files
    Description: Compare the list of files of two Web sites
    Author: Roger George
    Country: United States

    Class: PNG Hex Color Modifier
    Description: Replaces a color in a PNG image by another color
    Author: Bruno Henrique Ferreira de Oliveira
    Country: Brazil

    Class: PHP Detect Google Crawler
    Description: Check if an access is from Google checking its IP
    Author: Gábor Kalmár
    Country: Hungary

    Class: PHP Builder Pattern Generator
    Description: Generate code for classes with the builder pattern
    Author: Asher Wolfstein
    Country: United States

    Class: PHP Search String in File
    Description: Search for files with a given string using grep
    Author: Phu Truong
    Country: Viet Nam

    Class: PHP SSH Connection Session
    Description: Run arbitrary length commands in a server with SSH
    Author: Christian Vigh
    Country: France

    Class: PHP UDP Hole Punching
    Description: Connect to network peers through a UDP server
    Author: Nick Daniels
    Country: United States



    Latest support forum threads

    Subject Posted on Class
    error max file size IF
    this is wrong _size >_maxSize
    2016-09-24 Classe Para Upload e Validação
    Much appreciated
    2016-09-22 MIME E-mail message parser
    Blank Page on fornGenerator.php
    fornGenerator.php shows blank
    2016-09-22 FormGenerator
    Add 500px to library
    2016-09-21 PHP OAuth Library API
    how to use the class?
    send mac address and get ip
    2016-09-20 DHCP Lease Query
    get GraphLocation in Resultarray
    2016-09-19 PHP oAuth Loginer
    stupid class wrapper for function ini_parse_file
    Package rating comment
    2016-09-19 A simple ini parser


    • Latest package entries

    • Arrayy

      Picture of Lars Moelleken
      Author: Lars Moelleken
      Date: 2016-09-24 (1 day ago)
      Groups: PHP 5, Data types
      Description: This package can manipulate arrays using a fluent interface.

      The main class provides an array access interface and adds more functionality to manipulate arrays besides the original array features.

      A separate class provide a static interface for array manipulation functions.
    • PHP MySQLi Queries

      Picture of Fortune James
      Author: Fortune James
      Date: 2016-09-23 (2 days ago)
      Groups: PHP 5, Databases
      Description: This class is a very simple MySQLi wrapper to execute common queries.

      It extends the MySQLi class to add functions to execute SQL SELECT, INSERT, UPDATE, and DELETE queries.

      Applications can use other MySQLi class functions to access the query result sets.
    • Simple PHP Router Library

      Picture of afshin akhgar
      Author: afshin akhgar
      Date: 2016-09-22 (3 days ago)
      Groups: HTTP, PHP 5, Files and Folders, Design Patterns
      Description: This class can route requests to different scripts based on URLs.

      It takes an array of supported routes and checks it to see if the current request URL matches any of the routes.

      The class can route the requests to the respective script defined in the routes array.

      Missing routes makes the class handle the request with a not found script.
    • Jaxon for CodeIgniter

      Picture of Thierry Feuzeu
      Author: Thierry Feuzeu
      Date: 2016-09-21 (4 days ago)
      Groups: PHP 5, Utilities and Tools, Libraries, AJAX, PHP 7
      Description: This package is a CodeIgniter plugin to call PHP classes from with AJAX.

      It integrates the Jaxon package to with the CodeIgniter taking care of configuration and initialization of the library.

      Applications can extend the provided controller class to implement the response to AJAX calls with the names of the functions implemented by application controller classes.
    • PHP RTF Tools

      Picture of Christian Vigh
      Author: Christian Vigh
      Date: 2016-09-20 (5 days ago)
      Groups: PHP 5, Files and Folders, Text processing, Parsers
      Description: This package can parse and generate RTF documents using templates.

      Currently it provides different classes that can:

      - Process RTF word processing documents from files or strings
      - Rewrite RTF documents splitting its tags in multiple lines so it can be easy to compare and find differences using diff like utilities
      - Extract raw text from
      - Extracts raw text from RTF documents with some basic formatting capabilities
      - Process RTF document templates with a macro language that suppports:
      * Inline variables expansion within the document (variables are supplied by the caller)
      * Expressions evaluation and replacement using PHP syntax (for example : date ( 'Y-m-d H:i:s' ))
      * IF/ELSEIF/ELSE/ENDIF constructs, to conditionally include text in the output document
      * REPEAT/FOR loops that can repeat blocks of text
      * FOREACH loops that operate on array values supplied by the caller
      - Merges several RTF documents together including using the template processing objects, external files or strings, preserving details like fonts, colors, styles, avoiding page number repetition

      It can process large documents with sizes that exceed the available memory.
    • Rando

      Picture of Samuel Adeshina
      Author: Samuel Adeshina
      Date: 2016-09-19 (6 days ago)
      Groups: PHP 5, Text processing, Testing
      Description: This package is a random data generator of several types for testing.

      It provides different classes that can generate random data of multiple types with given constraints.

      Currently it can generate data of the types: boolean, character, floating, integer, natural number, and string.

      Some types may have constraints like value ranges or lengths.

      Generates several random data such as names, country, gender, numbers, SSN and so on using the mt_rand implementation of mersenne twitter. It can be used to supply randomly generated data during tests and placeholding.
    • PHP MySQL Websocket Chat

      Picture of Johnny Mast
      Author: Johnny Mast
      Date: 2016-09-18 (7 days ago)
      Groups: HTTP, PHP 5, Databases, Chat
      Description: This package can Websocket chat that stores messages in MySQL.

      It takes HTTP Websocket connections to handle chat messages exchanged between users.

      The messages are stored in a MySQL database table accessed via PDO.


    This security report was provided by:


    Get a complete security audit
    Is your site vulnerable?
    Don't wait for the hackers to find about it!


    Free security audit
    Check if your servers are at risk for free!