Rofl this is the Weekly PHP Classes newsletter of Thursday - 2016-06-30

Find Your Top Developers

See why top startups depend on Toptal to connect them with elite developers, hand-picked to match their needs. Work with top developers on an on-demand basis.
Rofl you are getting this message as free service for being a user of the PHP Classes site to which you registered voluntarily using the email address If you wish to unsubscribe go to the unsubscribe page.

This newsletter is always available online and upto date at: .


Latest PHP specialists forum threads

Subject Updated on
get computer LAN ip using php
please help!


  • Latest PHP Classes blog posts

  • PHP Classes Completed 17 Years: A New Type of Classes (1 day ago)

    Posted on: 2016-06-29
    Summary: The PHP Classes site has just completed 17 years of age. It is a long time for a site that continues to evolve to serve better its users.

    The big news this year is about a new project that is being launched in a separate site that aims to help other developers to learn what to do to create their own software product businesses.

    Read this article to learn about the latest developments in PHP Classes,] as well the new project about creating software product businesses.
  • Top 4 Mistakes Developers Should Avoid when Creating Their Own Software Product Business (3 days ago)

    Posted on: 2016-06-27
    Summary: Many developers try to create their own business based on software that they develop but some fail, often due to the same mistakes that others already committed.

    If those developers knew in advance what are those mistakes, they could have avoided failing, simply by not repeating the same mistakes.

    Watch this short video to learn what are the top mistakes that you should avoid when you try to create your own software product business.
  • PHP and JavaScript Innovation Award Report June 2016 Edition - March 2016 nominees (7 days ago)

    Posted on: 2016-06-23
    Summary: This is the June 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 March 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: Zephir HandlerSocket Client (8 days ago)

    Posted on: 2016-06-22
    Summary: Zephir is a statically typed language derived from PHP that can be compiled into native PHP extensions which can run along with PHP code based on the Zend Engine.

    This HandlerSocket Client package is the first Zephir based package to be published in the PHP Classes site.

    This package is able to connect to a MySQL database server and treat INNODB tables as NoSQL databases, thus allowing PHP developers to take advantage of both worlds in the same application: the world of transactional databases with regular SQL and the world of NoSQL databases.

    Read this article to learn more details about how this notable PHP package works.
  • 7 Reasons Why Developers Need to Create their Own Software Product Businesses (11 days ago)

    Posted on: 2016-06-19
    Summary: Many developers are not happy with working for other companies. They do not have much autonomy to work on projects they want, they cannot work from home, they cannot work any time they want, and in the end they get paid a limited amount of money.

    The alternative for these unhappy developers is to create their own software products and sell them to many customers. Unfortunately many developers do not know how to get started and become successful.

    The good news is that this is the first of series of short videos that will teach developers all they need to know to create their own businesses developing products that the customers really want and will pay for.

    Watch this short video to learn about why creating your own products is the right step to be a happier developer, as well how you can attend a free online workshop that will teach the essential steps to achieve that goal.
  • Notable PHP package: Axync (14 days ago)

    Posted on: 2016-06-16
    Summary: Cooperative multitasking is a way to execute multiple tasks concurrently.

    Only one task runs at each moment but it gives the turn to the next task in the list of concurrent tasks, for instance when it needs to wait for some I/O operation to complete, like accesses to files, databases, or network connections.

    This class implements a manager for cooperative multitasking in pure PHP.

    It takes advantage of generators introduced in PHP 5.5 to let one task decide when it can give the control to the next task.

    Read this article to learn more details about how this notable PHP package works.
  • Built-in Protection Against CSRF Security Attacks in PHP 7.1 - Lately in PHP podcast episode 72 (15 days ago)

    Posted on: 2016-06-15
    Summary: Cross-Site Request Forgery (CSRF) are a type of security attacks that may cause user accounts to be abused, so attackers can make users perform actions inadvertently in a vulnerable site and cause serious problems to the users and the sites.

    There is a new proposal for PHP 7.1 to provide built-in semi-automatic protection against CSRF attacks, so it will be easier for PHP developers to protect the sites they develop against this type of exploit.

    That was one of the main topics discussed by Manuel Lemos and Arturs Sosins in the episode 72 of the Lately in PHP podcast hangout.

    They also talked about other proposals for PHP 7.1, as well the election of two release managers that will take care of the steps necessary to release PHP 7.1 later this year on the planned schedule.

    This article includes a transcript of the podcast summary.

    Listen to the podcast, or watch the hangout video, or read the summary transcript to learn more about these interesting PHP topics.
  • Using Microsoft Visual Studio as PHP IDE with the PHP Tools extension: Part 3 Debugging (19 days ago)

    Posted on: 2016-06-11
    Summary: One of the most important features when choosing an IDE is how easily it allows you to debug your code.

    PHP Tools is a extension of Microsoft's Visual Studio that uses and enhances the powerful debugging options that ships with this popular IDE.

    Read this article to learn how to take advantage of PHP Tools to quickly debug your PHP applications.
  • Fast Debugging of PHP Code Using PHPEd Part 3: Remote Debugging and Remote Projects (20 days ago)

    Posted on: 2016-06-10
    Summary: IDEs are good to help debugging your code before it goes to production, but sometimes you need to find bugs in your code that cause problems and can only be observed in production. This is one case on which remote debugging is necessary.

    IDEs like PHPEd support remote debugging. You do not need to download the project files from the production server to debug your project remotely. Thanks to the remote projects feature of PHPEd, it can retrieve only the server files that you need to debug so you can start debugging remote projects very quickly.

    Read this article to learn how to setup and use PHPEd to debug remote projects running in production server for instance.
  • Notable PHP package: PHP Nuclear Reactor (21 days ago)

    Posted on: 2016-06-09
    Summary: Asynchronous programming is a way to create programs that can execute multiple parallel tasks faster in the same process by executing code while other parts if the programs wait for I/O operations to finish, like database accesses, file accesses, network accesses, etc..

    ReactPHP is a low level library similar to JavaScript Node.js that can be used to implement asynchronous programming in PHP, so you can write PHP code that can efficiently access multiple files, databases, or network computers in parallel, making everything faster.

    The PHP Nuclear Reactor is library based on PIMF micro-framework that implements the MVC design pattern on top of ReactPHP.

    This way you can continue to write PHP MVC components the way you are used to do, and still work well in an asynchronous programming environment based on ReactPHP.

    Read this article to learn more details about how this notable PHP package works.
  • Notable PHP package: PHP Time Zone Mapper (24 days ago)

    Posted on: 2016-06-06
    Summary: Many Web sites are accessed by users from around the world, each one in at a different time zone.

    Sometimes it is necessary to schedule a event or otherwise tell the time when something important is going to happen at a specific time of the day at the user's location.

    Since the time of the day at the users location will be different according to the user time zone, it is necessary to know the time zone on which the location of the users are.

    This class can solve that problem using the user's geographic coordinates: latitude and longitude.

    These coordinates can usually be determined from the IP address of the computer the user is using to access the site, using services like IP to location.

    This way it is possible to determine the time where the user is located, departing from the IP address and using this class to determine the time zone from the IP address location.

    Read this article to learn more details about how this notable PHP package works.
  • Notable PHP package: WordPress Hosted Content Importer (29 days ago)

    Posted on: 2016-06-01
    Summary: WordPress is as we all know a very popular program thanks to the many plugins that allow to expand its capabilities to produce and edit content.

    Sometimes you need to use content in posts obtained from other sources.

    This package is a plugin that makes it easy to import content into posts from sources like local files including those in Markdown format, database query results, Wikipedia excerpts and even the requests of calls to remote APIs.

    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 18
2 Olaf Lederer The Netherlands The Netherlands 6
3 Cesar D. Rodas Paraguay Paraguay 5
4 Alexander Skakunov Ukraine Ukraine 4
5 Roberto Aleman Venezuela Venezuela 2
6 Faro K Rasyid Indonesia Indonesia 1
7 Rafael Espinosa Cuba Cuba 1
8 solomongaby Romania Romania 1
9 Eric Sizemore United States United States 1
10 Protung Dragos Germany Germany 1


Innovation award results

Congratulations to andrea battellocchi!

Rank Class Author Score Points Prize
1 PHP Photo Wall Gallery
Convert images to ASCII characters or photo walls
andrea battellocchi Italy 16.67% 14 One downloadable copy of CodeLobster Professional
2 PHP Web Page Screenshot
Capture Web page screenshots using HTML2Canvas
Bharat Parmar India 13.89% 13 PhpStorm IDE personal permanent license
3 PHP Image Mosaic Generator
Generate a mosaic from an image in PDF format
Luciano Salvino Argentina 11.11% 12 One copy of the Zend Studio
3 PHP Layout Template Processor
Template engine with indented blocks based syntax
Roger Baklund Norway 11.11% 12 One downloadable copy of Komodo IDE
5 PHP REST Client Class
Send REST request to a HTTP server
Unay Santisteban Spain 8.33% 10 One subscription to the PDF edition of the PHP Architect magazine
5 PHP Asynchronous Command
Get commands output without waiting to finish
Christian Vigh France 8.33% 10 SourceGuarding PHP encoder tool
5 PHP Emulated SQL Filesystem
Emulate a filesystem storing files in SQL database
Ryan Cole United States 8.33% 10
5 Pretty PHP S3 Files Manager
Web based interface to manage files in Amazon S3
Tran Tuan Viet Nam 8.33% 10 One big elePHPant Plush Mascott
REST API server with MySQLi based CRUD operations
Bharat Parmar India 5.56% 6
10 PHP CSS Optimizer
Optimize CSS and make it browser independent
Victor V. Nabatov Russian Federation 2.78% 5 One downloadable copy of PhpED Professional
10 PHP Search Large Files
Search large files that would not fit in memory
Christian Vigh France 2.78% 5
10 PHP HtmlEntities Encoding and Decoding
Encode and decode a longer list of HTML entities
Gavin Gordon Markowski Canada 2.78% 5 1 year subscription to the Basic Plan of an API product of choice
13 PHP Get All Words
Extract all words from string excluding stop words
Lionel F. Lebeau France <1.00% 2 One ebook of choice by Packt
13 PHP Reports
Generate PDF and DOCX reports from Word templates
Murat Cileli Turkey <1.00% 2 One year server license IP to country, region, city, latitude, longitude, ZIP code, time zone, area code database

Nominees to win the award of May of 2016

Class: PHP Neuron Message transmission
Description: Send messages to neurons using shared memory
Author: Lionel F. Lebeau
Country: France

Class: Random Access File
Description: Store data fixed record length data in files
Author: Christian Vigh
Country: France

Class: Event Bus
Description: Emit events and handle them using wildcards
Author: Jeremiah Ogbomo
Country: Nigeria

Class: WordStore
Description: Add, update and find words from a dictionary
Author: Gavin Gordon Markowski
Country: Canada

Class: PHP PDF to Text
Description: Extract text contents from PDF files
Author: Christian Vigh
Country: France

Class: ah Map Helper
Description: Parse URLs of map services and get their location
Author: Axel Hahn
Country: Switzerland

Class: PHP Export XLS
Description: Export arrays as HTML tables or Excel XLS files
Author: Juan Pablo Irungaray Segura
Country: Guatemala

Class: PHP Tracking User Activity
Description: Track user activity on Web pages using screenshots
Author: Bharat Parmar
Country: India

Class: PHP Beans Brazilian Feijoada
Description: Encapsulate several objects in one like Java Beans
Author: Bruno Henrique Ferreira de Oliveira
Country: Brazil

Class: Make SQL
Description: Generate SQL queries from request values array
Author: andrea battellocchi
Country: Italy

Class: Move Me GIF
Description: Create animated GIF images in pure PHP
Author: Patrick Van Bergen
Country: The Netherlands

Class: Scripd
Description: Generate database creation SQL queries from JSON
Author: Samuel Adeshina
Country: Nigeria

Class: CSS Magic
Description: Compose CSS style sheets programatically
Author: Everton da Rosa
Country: Brazil

Class: AMP Remove unused CSS
Description: Remove unused CSS rules for AMP pages
Author: Marcel Soler
Country: Spain

Class: PDF Meta Reader
Description: Parse and extract keywords from PDF using pdfinfo
Author: Arnel Labarda
Country: Philippines

Class: Corcel (Laravel + WordPress)
Description: Use the WordPress backend with any PHP application
Author: Junior Grossi
Country: Brazil



Latest support forum threads

Subject Posted on Class
JOIN tables
I need JOIN tables
2016-06-28 MySQLi Manager
Thats a very good classe ;-)
Package rating comment
2016-06-28 PHP AJAX Table
Thats a very good classe ;-)
Package rating comment
2016-06-28 PHP AJAX Table
Thats a very good classe ;-)
Package rating comment
2016-06-28 PHP AJAX Table
Thats a very good classe ;-)
Package rating comment
2016-06-28 PHP AJAX Table
API key expires from weather source...
So this looks good but you'll end up having to pay for service.
2016-06-25 PHP Weather Forecast API
Package rating comment
2016-06-24 Stringizer
HTML working Form in DOC
Add HTML form in DOC file
2016-06-23 VsWord


  • Latest package entries

  • Base MVC Framework

    Picture of Carlos Eduardo Barcelos Amaral
    Author: Carlos Eduardo Barcelos Amaral
    Date: 2016-06-29 (1 day ago)
    Groups: PHP 5, Libraries, Design Patterns
    Description: This package is a MVC framework to be the base of Web applications.

    It provides common classes to implement model view controller applications like:

    - Base controller
    - Base model for storing objects in a database with PDO objects
    - Application dispatch
    - Configuration loading
    - Request handling
    - Route dispatching
    - Security related operations
    - Etc.

    In Portuguese: