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 Tuesday - 2016-08-30

  • Contents

    • Latest PHP Classes blog posts

    • 5 Phases to Create Software Products that Will Be Perfect for Your Customers (1 day 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 (4 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.
    • Notable PHP package: PHP Builder Pattern Generator (5 days ago)

      Posted on: 2016-08-25
      Summary: The builder design pattern allows to dynamically create objects in a way that the same process of construction can allow multiple representations of the object that can be changed over time according to the needs of a project.

      This package implements the builder design pattern with a concrete builder class that generates code for classes dynamically to implement a representation of the object class being built at run time.

      Read this article to learn more details about how this notable PHP package works.
    • Notable PHP package: CakePHP 2.x Container (7 days ago)

      Posted on: 2016-08-23
      Summary: Dependency injection is design pattern often used implement functionality on one class using objects from external classes without hardcoding the dependency between the two classes.

      Several PHP frameworks implement their own dependency injection containers but since each one implements it in a different way, a generic container interface was defined to allow to call components of one framework to be called from by components of any other framework.

      The package implements a component with the generic dependency injection container interface so application services and other types of applications not based on CakePHP can be easily used with CakePHP.

      Read this article to learn more details about how this notable PHP package works.
    • How to Create Your Own Software Product Business Without Quitting Your Day Job (8 days ago)

      Posted on: 2016-08-22
      Summary: Many developers want to create their own software product business but they still need money to support themselves, and so cannot quit their day jobs.

      Watch this very short video to learn about a simple tip on how you still can create your own business without having to quit your current job.
    • Notable PHP package: PHP UDP Hole Punching (11 days ago)

      Posted on: 2016-08-19
      Summary: When you want to connect to a remote machine that is connected to a group of peers but you do not know its address, one common solution is to connect to central server and ask the addresses of the peers to communicate with them.

      This technique is used by NAT servers (Network Address Translators) that are often running on router machines in order to route requests to remote machines from local network computers.

      This process is called hole punching because it uses an intermediary server to get the addresses of the remote machines, so the client can communicate with them.

      This PHP package implements a server with one class that can keeps the list of connected client machines and returns the list of peer addresses and ports.

      The client class connects to the server class to get the peer machine address list, so it can send messages to them using UDP packets.

      Read this article to learn more details about how this notable PHP package works.
    • Will Lazy Statements Make PHP 7 Programming More Efficient ? Lately in PHP podcast episode 74 (12 days ago)

      Posted on: 2016-08-18
      Summary: A recent proposal is being discussed for PHP 7 feature called lazy statements. It would allow developers to assign values to variables based on code that is only executed when the variable is accessed for the first time, thus avoiding executing the code if the variable ends up never being accessed.

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

      They also talked about the HTTPoxy vulnerability that affects some important PHP projects, as well the usual proposals for upcoming PHP versions like autoloading for global functions, different syntax for returning $this for classes that provide fluent interfaces, support for arbitrary method in the built-in PHP Web server, a new structured object notation for creating objects, etc..

      They also mentioned features to be discontinued in PHP 7.1 like SSL 2 support and some extensions that will not ship with PHP 7.1 anymore.

      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 YouTube Movie Trailers (13 days ago)

      Posted on: 2016-08-17
      Summary: YouTube is certainly the most popular video hosting site on the Web.

      It is used to publish all sorts of videos including trailers of many movies often way before they are released in theathers.

      This package can access the YouTube site to perform searches for trailers of specific movies, so it can extract the video identifiers of the trailer movies. It generates HTML to embed those videos on other site Web pages.

      Since it just scrapes the YouTube search result pages, it does not need to use an API key.

      Read this article to learn more details about how this notable PHP package works.
    • How to Pick Partners for a Software Product Business? - Fix My Software Product Business (15 days ago)

      Posted on: 2016-08-15
      Summary: When creating a software product business most developers prefer to just deal with with the software development part.

      However, somebody should take care of the marketing, sales, finances, human resources, etc.. The best way to cover for these business needs is to bring people specialized on these areas, so you can continue to focus on the software development efforts.

      But how should you keep them interested working for your company? Should you hire them or make them business partners? How do you pick business partners that will not cause you trouble later?

      Watch this consulting session video to learn how to answer these questions so your business grows in a healthy manner with great partners.
    • Fast PHP Error Monitoring and Bug Fixing with Rollbar (16 days ago)

      Posted on: 2016-08-14
      Summary: Regardless of how good you are as a developer, you will always ship code to production that will have bugs or does not deal with situations that were unanticipated.

      Therefore you always need to have a tool that can monitor the errors on the server side, so you can act promptly and fix issues as quickly as possible.

      Read this tutorial to learn how you can use Rollbar to keep track of your PHP Web applications issues.
    • Notable PHP package: PHP Detect Google Crawler (18 days ago)

      Posted on: 2016-08-12
      Summary: Google is the most popular search engine. Being well ranked on Google is important for many sites to get nice organic traffic.

      Many sites try to serve content for Google crawler bots as fast as possible, so that increases the chances of the sites pages to rank well.

      In theory it is easy to detect when the Google bot is accessing a Web page. It is usually a matter of detecting the user agent string sent with requests from the Google bot crawler.

      However, there are crawlers and malicious bots that pretend to be the real Google bot faking its user agent string.

      This class provides a more robust way to detect whether a request is coming from Google bot or not.

      It just gets the HTTP client IP address and resolves its host name to verify if it really has one of the known Google bot domains.

      Read this article to learn more details about how this notable PHP package works.
    • 10 High Growth Companies Hiring PHP Developers (20 days ago)

      Posted on: 2016-08-10
      Summary: PHP is so popular that sometimes fans of other languages question if PHP is still that popular in the hope that PHP developers move on to the languages of their preference.

      The fact is that PHP continues to be so popular that large companies have still great demands for qualified PHP developers.

      Read this article to learn about some of the high growth companies that continue to look for great PHP developers.
    • Notable PHP package: PHP Web Site Compare Files (20 days ago)

      Posted on: 2016-08-10
      Summary: Sometimes it is necessary to verify if the files of a site on the server are up to date and were not changed eventually by an attacker that took advantage of a security hole.

      There are some solutions that compute hashes of all the files in the server but they do not tell whether the files different because they are not up to date with the latest development version or were changed eventually due to a security attack.

      This class provides a solution that uses a different approach. It calls a script on the server that lists the existing files.

      This way it can compare list of files on the production and the development environments, or even compare the files installed on different production or testing servers.

      Read this article to learn more details about how this notable PHP package works.
    • How Can I Make My Software Product Highly Desired by the Customers? - Fix My Software Product Business (22 days ago)

      Posted on: 2016-08-08
      Summary: Many developers have already started working on software products before making sure that there is a good demand for those products.

      Later they realize that the product is nice but it is really not essential for their users, so they may not be able to make much sales.

      Fortunately there is a method that can be used to convert a non-essential product into a highly desired software product that their users feel they cannot live without.

      Watch this video with a consulting session with a developer to learn more about this method and how you can apply it in practice in a new product or in a product that has already started being developed.
    • Notable PHP package: eKatab PHP ePub Reader (25 days ago)

      Posted on: 2016-08-05
      Summary: ePub is a common format of eBooks supported by many eBook reader devices.

      Basically ePub files are ZIP archives with files of the contents of the ebook.

      This class can extract the contents of a ebook in the ePub format and parse it, so the ebook pages can be viewed on Web pages.

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

      Posted on: 2016-08-03
      Summary: Sometimes you need to call different functions in sequence. However if one of the functions throws an exception you may not be able to execute the other functions unless you catch the exceptions of each function.

      Putting try and catch statements around every function call may be tedious and boring task.

      This package provides an alternative solution. It provides a trait that allows you to queue multiple exceptions thrown by classes that use the trait.

      This way you can have access to the whole list of thrown exceptions throw the last or all exceptions that happened.

      Read this article to learn more details about how this notable PHP package works.
    • 3 Methods to Discover Ideas to Create New Software Product Businesses with Good Potential - Fix My Software Product Business (30 days ago)

      Posted on: 2016-07-31
      Summary: According to a recent survey, many developers would like to create their own business selling software products to many customers but they do not have any good ideas of products that could sell well.

      Fortunately there are methods that you can apply to come up with good software product ideas and then figure if they have good market potential even before you start developing the software products.

      Watch this video with a consulting session with a developer to learn more about those methods, so you can start applying them to have great software product ideas with good business potential.


    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 12
    2 Olaf Lederer The Netherlands The Netherlands 4
    3 Khaled Al-Shamaa Syria Syria 3
    4 Cesar D. Rodas Paraguay Paraguay 3
    5 Alexander Skakunov Ukraine Ukraine 2
    6 solomongaby Romania Romania 2
    7 Alexandre Miguel de Andrade Souza Brazil Brazil 1
    8 Larry Wakeman United States United States 1
    9 the DtTvB Thailand Thailand 1
    10 Eric Sizemore United States United States 1


    Innovation award results

    Innovation Award winners Congratulations to Joubert RedRat!

    Rank Class Author Score Points Prize
    1 PHP AJAX Table
    Load HTML tables dynamically using AJAX
    Joubert RedRat Brazil 21.21% 13 One big elePHPant Plush Mascott
    2 Simple Flash Messages
    Display message with different CSS frameworks
    Yuriy Tkachenko Russian Federation 15.15% 12 PhpStorm IDE 1 year individual subscription
    2 Zephir HandlerSocket Client
    Access MySQL tables as NoSQL with HandlerSocket
    Victor Bolshov Russian Federation 15.15% 12 One subscription to the PDF edition of the PHP Architect magazine
    4 Vehicle Simulator
    Simulate the functions of different vehicle types
    Chi Hoang France 12.12% 10 One downloadable copy of PhpED Professional
    5 PHP Time Zone Mapper
    Get time zone for a given latitude and longitude
    Ahmad Retha United Kingdom 9.09% 9 One ebook of choice by Packt
    5 Stringizer
    Manipulate multibyte text strings as objects
    jasonlam604x Canada 9.09% 9
    7 WordPress Hosted Content Importer
    WordPress plugin to import content hosted remotely
    Bimal Poudel Nepal 6.06% 7
    8 PHP Nuclear Reactor
    Asynchronous RESTful API using ReactPHP and PIMF
    Gjero Krsteski Germany 3.03% 6
    8 Italian Cities and Postal Code checker
    Search Italian cities, postal codes and addresses
    Orazio Principe Italy 3.03% 6
    8 PHP TheSportsDb
    Get game information from the Sports DB site API
    Jelle Sebreghts Belgium 3.03% 6
    8 PHP Webdav Calendar Pusher
    Send and receive ICS calendar events via WebDav
    Ismail Çak?r Turkey 3.03% 6
    12 PHP Bracket Checker Parser
    Parse expressions and return if brackets match
    Hakob Hakobyan Armenia <1.00% 2
    12 Phalcon Cashier
    Access subscription services provided by Stripe
    Thien Tran Viet Nam <1.00% 2

    Award page

    Nominees to win the award of July of 2016

    Class: PHP String Socializer
    Description: Replace text with hash tags and social media links
    Author: Luciano Salvino
    Country: Argentina

    Class: PHP IIN and BIN
    Description: Identify card issuer and bank from numbers
    Author: Yorch Ponce
    Country: Mexico

    Class: BladeOne
    Description: Standalone template engine that compiles into PHP
    Author: Jorge Castro
    Country: Chile

    Class: Rabbit ORM
    Description: ORM for CodeIgniter based on Laravel's Eloquent
    Author: Fabio Mazzo
    Country: Brazil

    Class: PHP Small Server Administrator
    Description: Web panel for small Debian and Ubuntu servers
    Author: Aleksey Nemiro
    Country: Russian Federation

    Class: Automator Shell Action Tools
    Description: Process console input and environment variables
    Author: Karl Holz
    Country: Canada

    Class: Faster PHP IP2Location
    Description: Faster method to find the location of IP addresses
    Author: Chi Hoang
    Country: France

    Class: CMS Airship
    Description: Content management system with security features
    Author: Scott Arciszewski
    Country: United States

    Class: Deferred Exceptions
    Description: Queue exceptions and throws them afterwards
    Author: magog
    Country: Russian Federation

    Class: PHP Silex REST Multi Lazy Load
    Description: Create REST APIs with module lazy loading
    Author: John Diaz
    Country: Colombia

    Class: Jaxon
    Description: Call PHP classes from JavaScript using AJAX
    Author: Thierry Feuzeu
    Country: France, Metropolitan



    Latest support forum threads

    Subject Posted on Class
    Cannot modify header
    Cannot modify header
    2016-08-26 Secure PHP Login System
    Package rating comment
    2016-08-26 PHP Keyword Analyser
    Package rating comment
    2016-08-26 PHP Keyword Analyser
    Calling for an unexisting file
    2016-08-26 Email Reader
    Support for Uber OAuth
    Support for Uber OAuth
    2016-08-25 PHP OAuth Library API
    This developer has provided excellent support and never ignor...
    Package rating comment
    2016-08-24 Map Builder
    Thank You for Updating this to Perfection
    2016-08-24 WordStore
    In my host class smtp.php doesn't work trough proxySOCKS5, why?
    ssl or tls anyway doesn't work...
    2016-08-23 SMTP E-mail sending class


    • Latest package entries

    • Simple upload class

      Picture of Ngilio
      Author: Ngilio
      Date: 2016-08-29 (1 day ago)
      Groups: HTTP, PHP 5, Files and Folders
      Description: This package can validate and process an uploaded file.

      It can take an array of values of an uploaded file and validate if it has been correctly uploaded, the allowed file name extensions and the size does not exceed a given limit.

      Validated uploaded files are moved to a given destination directory.
    • PHP SSH Connection Session

      Picture of Christian Vigh
      Author: Christian Vigh
      Date: 2016-08-29 (1 day ago)
      Groups: Networking, PHP 5, Files and Folders
      Description: This package can run arbitrary length commands in a server with SSH.

      It can connect to a given ssh server and execute given commands.

      If the commands exceed the maximum length, it write the commands to a file and executes it from there using the bash shell.

      It can also execute file manipulation functions like upload and download files, create directories, changing permissions, etc..
    • PHP Scan Files in Directory

      Picture of Everton da Rosa
      Author: Everton da Rosa
      Date: 2016-08-28 (2 days ago)
      Groups: PHP 5, Files and Folders
      Description: This class can scan files and directories with DirectoryIterator.

      It takes the path of a given directory and scans it to extract the list of files.

      The class may optionally ignore hidden files that start with . and links.

      It returns an array object with the list of files and their attributes JSON encoded.
    • PHP Session CSRF Token Protection Library

      Picture of Mostafa Abd-El-Hamid
      Author: Mostafa Abd-El-Hamid
      Date: 2016-08-27 (3 days ago)
      Groups: HTTP, Security, PHP 7
      Description: This package can validate tokens to protect against CSRF attacks.

      It can generate a random token that is stored in a session variable, it is served as request header, and can be used in forms or links for subsequent verification.

      The class can also verify if a given token value matches what was stored in the token session variable.
    • PHP Search String in File

      Picture of Phu Truong
      Author: Phu Truong
      Date: 2016-08-26 (4 days ago)
      Groups: PHP 5, Files and Folders, Searching, Unix
      Description: This class can search for files with a given string using grep.

      It can take a given string and performs a search using the grep command on files inside a given directory that may contain that string.

      The grep command may take custom options, so it may perform searches on directories recursively.

      Certain files specified in a class array variable may be ignored and not be returned in the results.
    • PNG Hex Color Modifier

      Picture of Bruno Henrique Ferreira de Oliveira
      Author: Bruno Henrique Ferreira de Oliveira
      Date: 2016-08-25 (5 days ago)
      Groups: PHP 5, Graphics
      Description: This class can replaces a color in a PNG image by another color.

      It takes a given color and replaces it in PNG image by another color.

      The class saves back the image PNG file and returns the changed image as a data URL.
    • Jaxon for Laravel

      Picture of Thierry Feuzeu
      Author: Thierry Feuzeu
      Date: 2016-08-24 (6 days ago)
      Groups: PHP 5, Libraries, Language, AJAX, Traits
      Description: This package is a Laravel plugin to call PHP classes from with AJAX.

      It integrates the Jaxon package to with the Laravel 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.
    • Kendo UI PHP Framework

      Picture of Tomas Saghy
      Author: Tomas Saghy
      Date: 2016-08-23 (7 days ago)
      Groups: HTML, PHP 5
      Description: This package can build a user interface with Telerik Kendo UI library.

      It can generate HTML with JavaScript to composer Web based user interfaces using components of the Kendo UI JavaScript library.

      The package main class can create objects that are wrappers around the Kendo UI widgets, set properties and set data sources objects.
    • PHP Web Service Bundle

      Picture of ???
      Author: ???
      Date: 2016-08-23 (7 days ago)
      Groups: PHP 5, Web services
      Description: This class can call APIs to email, shorten URLs and upload images.

      It provides several functions to call different Web services to perform certain operations sending HTTP requests to the respective Web servers. Currently it can:

      - Send email with MailGun API
      - Upload images to Imgur
      - Shorten URLs with bit.ly, goo.gl and McAf.ee