Rofl this is the Weekly PHP Classes newsletter of Thursday - 2016-07-14

Continuous Deployment Too

Automate from SCM to Production with BuildMaster! 100+ Integrations; Free for 5 Users.
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 Classes blog posts

  • PHP Using Too Much Memory - Lately in PHP podcast episode 73 (1 day ago)

    Posted on: 2016-07-13
    Summary: PHP memory usage can be limited in its configuration, but there are some cases that may cause PHP to request a very large amount of memory, in some cases due to bugs.

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

    They also talked about the latest proposals for PHP next versions like throwing exceptions when a function call misses a required argument, getting name of a type of variable consistent with type hinting naming, making PHP extension throw exception on errors, and the end of life of PHP 5.5 and PHP 7.1.0 feature freeze and the latest alpha releases.

    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.
  • Notable PHP package: PHP Small Server Administrator (1 day ago)

    Posted on: 2016-07-13
    Summary: Most hosting companies provide plans that let developers controls several aspects of configuration of a server via a Web browser by accessing a control panel installed in the server machine to be configured.

    This package provides a more advanced solution in pure PHP that allows you to manage several aspects of configuration of hosting servers remotely.

    It uses ssh to communicate with the remote server that you want to manage and lets you perform several useful aspects like: managing user accounts, starting and stopping local servers and or services, configuring Web servers, managing files and directories, as well monitoring the server machine user resources.

    Read this article to learn more details about how this notable PHP package works.
  • 6 Important Steps to Make Your Software Product Succeed (3 days ago)

    Posted on: 2016-07-11
    Summary: Creating a successful software product business is not just a matter of creating a good software product.

    Fortunately there are just a few more well known things you need to know to create a promising business.

    Watch this short video to learn what other criteria you need to satisfy to build a successful software product business.
  • PHP Articles Report June 2016 Edition (7 days ago)

    Posted on: 2016-07-07
    Summary: This is the June 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 a plugin to create custom post types in WordPress, tips to help developers getting the jobs they want, the last part of PHP 7 migration guide, debugging Symfony applications with PHPEd, how to help testing PHP core features using phpt tests, and installing database schemas using a JSON format, and the pros and cons of using ORM.

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

    Posted on: 2016-07-06
    Summary: AJAX is frequently used to update parts of Web pages without reloading the whole page. However, often the updates require sending the whole HTML for the parts of the page to be replaced.

    This class follows a more efficient approach for updating listings of tables. Instead of sending over the whole HTML of a table, it just sends the data of the cells to be updated using JSON.

    This way it sends much less information to the browser to perform updates to tables and the whole HTML of the table is much larger, thus making AJAX based updates faster.

    Read this article to learn more details about how this notable PHP package works.
  • How to Quickly Tell If Your Software Product Idea Will Be Successful (10 days ago)

    Posted on: 2016-07-04
    Summary: One of the main reasons why developers give up on their dreams of creating their own software product business is because they fear to spend a lot of time developing a product and after many months of work they realize that product is not what the customers want to pay for. This is very frustrating.

    Fortunately there are methods to evaluate the potential of a product idea even before you write a single line of code. These methods can dramatically help developers to become more successful in their software product business.

    Watch this short video to learn about one simple method that allows you to quickly evaluate your software product ideas, so you can discard the bad ones and only invest on those that have great potential of interest from paying customers.
  • Notable PHP package: Random Access File (14 days ago)

    Posted on: 2016-06-30
    Summary: Database management systems use special techniques to find records of data very quickly.

    One of those techniques is to make each record of data in table have a fixed length, even when some record fields have a variable length.

    This way, to read or write specific records in a table, it is just a matter of knowing the record position and multiplying by the length of each record.

    This class takes advantage of this technique to efficiently perform several types of operations to manipulate records of data in table files.

    Those operations include not only reading and writing records, but also moving records to different positions or even truncate the table files to make them smaller.

    Read this article to learn more details about how this notable PHP package works.
  • PHP Classes Completed 17 Years: A New Type of Classes (15 days 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 (17 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 (21 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 (22 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 (25 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 (28 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 (29 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.


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 19
2 Cesar D. Rodas Paraguay Paraguay 6
3 Olaf Lederer The Netherlands The Netherlands 3
4 Alexander Skakunov Ukraine Ukraine 3
5 Roberto Aleman Venezuela Venezuela 3
6 Eric Sizemore United States United States 1
7 Larry Wakeman United States United States 1


Innovation award results

Congratulations to Junior Grossi!

Rank Class Author Score Points Prize
1 Corcel (Laravel + WordPress)
Use the WordPress backend with any PHP application
Junior Grossi Brazil 14.89% 16 One big elePHPant Plush Mascott
2 PHP Tracking User Activity
Track user activity on Web pages using screenshots
Bharat Parmar India 12.77% 15 1 year subscription to the Basic Plan of an API product of choice
3 PHP Export XLS
Export arrays as HTML tables or Excel XLS files
Juan Pablo Irungaray Segura Guatemala 8.51% 14 One downloadable copy of Komodo IDE
3 Move Me GIF
Create animated GIF images in pure PHP
Patrick Van Bergen The Netherlands 8.51% 14 PhpStorm IDE personal permanent license
3 PHP Neuron Message transmission
Send messages to neurons using shared memory
Lionel F. Lebeau France 8.51% 14
3 Event Bus
Emit events and handle them using wildcards
Jeremiah Ogbomo Nigeria 8.51% 14 One ebook of choice by Packt
7 PHP PDF to Text
Extract text contents from PDF files
Christian Vigh France 6.38% 10
7 PHP Beans Brazilian Feijoada
Encapsulate several objects in one like Java Beans
Bruno Henrique Ferreira de Oliveira Brazil 6.38% 10
7 Scripd
Generate database creation SQL queries from JSON
Samuel Adeshina Nigeria 6.38% 10
7 PDF Meta Reader
Parse and extract keywords from PDF using pdfinfo
Arnel Labarda Philippines 6.38% 10
11 Make SQL
Generate SQL queries from request values array
andrea battellocchi Italy 4.26% 6
11 CSS Magic
Compose CSS style sheets programatically
Everton da Rosa Brazil 4.26% 6
11 WordStore
Add, update and find words from a dictionary
Gavin Gordon Markowski Canada 4.26% 6
14 ah Map Helper
Parse URLs of map services and get their location
Axel Hahn Switzerland <1.00% 3
14 AMP Remove unused CSS
Remove unused CSS rules for AMP pages
Marcel Soler Spain <1.00% 3
14 Random Access File
Store data fixed record length data in files
Christian Vigh France <1.00% 3

Nominees to win the award of June of 2016

Class: WordPress Hosted Content Importer
Description: WordPress plugin to import content hosted remotely
Author: Bimal Poudel
Country: Nepal

Class: Vehicle Simulator
Description: Simulate the functions of different vehicle types
Author: Chi Hoang
Country: France

Class: PHP Time Zone Mapper
Description: Get time zone for a given latitude and longitude
Author: Ahmad Retha
Country: United Kingdom

Class: PHP Bracket Checker Parser
Description: Parse expressions and return if brackets match
Author: Hakob Hakobyan
Country: Armenia

Class: PHP Nuclear Reactor
Description: Asynchronous RESTful API using ReactPHP and PIMF
Author: Gjero Krsteski
Country: Germany

Class: Simple Flash Messages
Description: Display message with different CSS frameworks
Author: Yuriy Tkachenko
Country: Russian Federation

Class: Italian Cities and Postal Code checker
Description: Search Italian cities, postal codes and addresses
Author: Orazio Principe
Country: Italy

Class: Phalcon Cashier
Description: Access subscription services provided by Stripe
Author: Thien Tran
Country: Viet Nam

Class: PHP TheSportsDb
Description: Get game information from the Sports DB site API
Author: Jelle Sebreghts
Country: Belgium

Class: PHP Webdav Calendar Pusher
Description: Send and receive ICS calendar events via WebDav
Author: Ismail