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 Monday - 2017-02-20

  • Contents

    • Latest PHP Classes blog posts

    • Making PHP 7.2 More Secure with LibSodium Extension - 5 Minutes Lately in PHP podcast episode 80 (4 days ago)

      Posted on: 2017-02-16
      Summary: Many PHP developers still use the mcrypt extension for encrypting and decrypting data. However, that extension is based on a C library that is not being maintained anymore by its developers. PHP applications are at risk of being exposed to eventual vulnerabilities that may be discovered in mcrypt but its developers will not fix them.

      A better alternative is to use the LibSodium extension proposed by the security expert Scott Arciszewski to become part of the core PHP distribution since PHP 7.2.

      This was one of the main topics discussed by Manuel Lemos and Christian Vigh (the PHP Innovation Award Winner of the Year of 2016) on the episode 80 of the Lately in PHP podcast.

      In this episode they also talked about other proposals for future PHP versions like improving the mail() function with options passed using the 5th parameter, final modifier for class constants, type hinting for static objects, using namespaces for global functions, type hinting for arrays with values of the same type .

      This article also contains a podcast summary as a text transcript and a 5 minute video of the summary.

      Listen to the podcast, or watch the hangout video, or read the transcript text to learn more about these interesting PHP topics.
    • Notable PHP package: PHP MySQL Project Documentation (6 days ago)

      Posted on: 2017-02-14
      Summary: MySQL is by far the most popular database used in PHP applications. Part of PHP application documentation is the information of the underlying database schema.

      This class makes it simpler to generate documentation about an application database by generating HTML to display the schema of tables, fields and indexes of a MySQL database.

      Read this article to learn more details about how this notable PHP package works.
    • Notable PHP package: PHP Moby NLP (7 days ago)

      Posted on: 2017-02-13
      Summary: Well formed sentences are based on grammatically correct combination of verbs and nouns, thus forming what is called complete thoughts.

      This package provides a solution for generating complete thoughts from verbs and nouns.

      It also allows verifying if sentences may have been written by bots that generate fake text by checking if the combination of verb and noun words is present in sentences.

      Read this article to learn more details about how this notable PHP package works.
    • Notable PHP package: PHP Edit Subtitles Class (11 days ago)

      Posted on: 2017-02-09
      Summary: Many video hosting sites like for instance YouTube can show videos with sub-titles provided by the authors. The subtitles may be submitted in several known formats.

      This package allows PHP applications to create and edit subtitles in some formats like SRT and VTT.

      Read this article to learn more details about how this notable PHP package works.
    • Notable PHP package: PHP Youtube and Vimeo Video Downloader Script (13 days ago)

      Posted on: 2017-02-07
      Summary: YouTube is the most popular video hosting site, but Vimeo is also used by many video publishers.

      Many users would like to be able to download videos from these sites and watch them offline, but the sites do not provide a good solution for that.

      This package provides means for downloading videos from either YouTube or Vimeo using PHP scripts.

      Read this article to learn more details about how this notable PHP package works.
    • MySQLi vs PDO vs MySQL Difference, Performance Benchmark and Security Comparison in 2016 and 2017 - Find Converter Wrapper and ORM Packages (16 days ago)

      Posted on: 2017-02-04
      Summary: Since PHP 7 was introduced and PHP 5 end of support life was reached, many hosting companies dropped PHP 5 from their servers and PHP developers were forced to migrate their code to work with PHP 7.

      One of the changes of PHP 7 was the discontinuation of the original MySQL extension. Developers had to choose to migrate their code to use either the MySQLi or and the PDO extension.

      Read this article to learn about the differences and decide which is the best for you to migrate your code to work on PHP 7 or later, as well learn about some recommended packages that use PDO or MySQLi for performing common database purposes like backup, security, user registration and login, database abstraction, ORM (Object-Relational Mapping), etc..
    • Notable PHP package: PHP Multi MySQLDump (19 days ago)

      Posted on: 2017-02-01
      Summary: All database applications should provide means to take backups of the database structure and contents, so there is a way to recover when there is an accident that causes database data loss.

      This package provides an efficient solution to take MySQL database backups.

      It can take backups of all or specific tables in a database. If a previous table backup exists, it may determine if the table has changed using the table checksum, and avoid making the backup in case the table did not change.

      Read this article to learn more details about how this notable PHP package works.
    • Notable PHP package: PHP Github API Cient (20 days ago)

      Posted on: 2017-01-31
      Summary: GitHub is the most popular repository for software projects. Nowadays many developers host their projects code in GitHub.

      Many developers like to track the interest of their repositories are getting in GitHub.

      This package provides means to get the repositories of a given user, as well the total number of stars and forks.

      Read this article to learn more details about how this notable PHP package works.
    • PHP Articles Report January 2017 Edition (21 days ago)

      Posted on: 2017-01-30
      Summary: This is the January 2017 edition of the podcast hangout recorded by Manuel Lemos and Arturs Sosins to comment on the latest outstanding PHP articles published recently.

      In the edition they discuss articles about PHP performance comparison and evolution since PHP 5 to PHP 8 or PHP 7.2, a tool for helping to develop scalable PHP applications, tutorial on how to create a PHP secure login and registration system, and tutorial on processing Word Processing documents in RTF format.

      Listen to the podcast, or watch the hangout video to learn more about these PHP articles.
    • Notable PHP package: PHP Emoji Country Flags (25 days ago)

      Posted on: 2017-01-26
      Summary: Unicode can also be used to display several types of flags including country flags.

      This class can take the the letter code of a country and returns a Unicode string for the characters that represents the flag of a country.

      Read this article to learn more details about how this notable PHP package works.
    • Notable PHP package: PHP Microsoft EWS Office 365 (27 days ago)

      Posted on: 2017-01-24
      Summary: EWS is the set of APIs that can be used to manage Microsoft Exchange Office 365 Web Services which is the Exchange version on the cloud.

      This class provides a PHP version of the EWS Office 365 API clients that can be used to build Web based applications based on the Exchange cloud version.

      Read this article to learn more details about how this notable PHP package works.
    • PHP and JavaScript Innovation Award Report January 2017 Edition - October 2016 nominees (28 days ago)

      Posted on: 2017-01-23
      Summary: This is the January 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 October 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.


    Innovation award results

    Innovation Award winners Congratulations to Haseeb Ahmad Basil!

    Rank Class Author Score Points Prize
    1 PHP Number To Words Conversion
    Convert numbers to words in many languages
    Haseeb Ahmad Basil Pakistan 21.21% 11 One big elePHPant Plush Mascott
    2 PHP Path Windows and Linux Utilities
    Manage file and folder paths in Windows and Linux
    Christian Vigh France 18.18% 10 One year server license IP to country, region, city, latitude, longitude, ZIP code, time zone, area code database
    2 PHP Convert Words to Numbers
    Convert text with an amount to its numeric value
    Mohammed Asad India 18.18% 10 One copy of DWebPro Standard License
    4 NASA Near Earth Orbit API Client
    Get near Earth orbit object data with NASA API
    Sergii Pryz Ukraine 12.12% 8 One subscription to the PDF edition of the PHP Architect magazine
    5 PHP Table Chart Builder
    Create HTML table with values and calculated cells
    Gavin Gordon Markowski Canada 9.09% 7 One downloadable copy of PhpED Professional
    6 PHP Touch Swipe Emulator
    Track swipe events when user moves the mouse
    Dave Smith United States 6.06% 6
    6 PHP CSS Optimize
    Optimize CSS files removing redundant data
    Jelle Sebreghts Belgium 6.06% 6
    6 PHP Command Line Arguments Parser
    Parse and extract arguments from the command line
    Christian Vigh France 6.06% 6
    9 PHP HTML to Text Conversion
    Parse HTML and extract text contained in it
    Lars Moelleken Germany 3.03% 3
    10 PHP Stanford Core NLP Adapter
    Natural language processing using Stanford server
    Dennis de Swart The Netherlands <1.00% 2
    10 Tuple Dictionary
    Manage associative arrays with keys of any type
    Bill United Kingdom <1.00% 2

    Award page

    Nominees to win the award of January of 2017

    Class: PHP.ini Settings
    Description: Manage the PHP configuration values of php.ini
    Author: Christian Vigh
    Country: France

    Class: PHP Volume Calculator
    Description: Perform calculations on volumetrical materials
    Author: Jose Manuel
    Country: Spain

    Class: PHP Edit Subtitles Class
    Description: Edit video subtitles in SRT and VTT formats
    Author: Luciano Salvino
    Country: Argentina

    Class: Geographer
    Description: Get country and city names in multiples languages
    Author: Denis Mysenko
    Country: India

    Class: PHP BitMask Generator
    Description: Generate all bitmasks with a minimum amount of 1s
    Author: Jelle Sebreghts
    Country: Belgium

    Class: PHP Joomla Login
    Description: Authenticate users of a Joomla installation
    Author: Haseeb Ahmad Basil
    Country: Pakistan

    Class: PHP Phonetic Transcriber
    Description: Transcribe English words to IPA using Lingorado
    Author: Gavin Gordon Markowski
    Country: Canada

    Class: PHP Global Class Functions Hack Pack
    Description: Generate functions to call given class objects
    Author: Omar Andrés Barbosa Ortiz
    Country: Colombia

    Class: PHP Emoji Country Flags
    Description: Convert country code to unicode emoji flags
    Author: Peter Kahl
    Country: Hong Kong

    Class: PHP Secure Chat
    Description: Chat box between users using encrypted messages
    Author: Martin Latter
    Country: United Kingdom

    Class: PHP Moby NLP
    Description: Generate complete thoughts from a verb and a noun
    Author: Dennis de Swart
    Country: The Netherlands

    Class: PHP Location Based Search API
    Description: API server for searching places near a location
    Author: Sergii Pryz
    Country: Ukraine

    Class: PHP Git Diff Patch Creator
    Description: Create patch from differences between Git branches
    Author: Istvan Dobrentei
    Country: Hungary

    Class: Fuse
    Description: Fuzzy search of arrays using the Bitap algorithm
    Author: Florian Reuschel
    Country: Germany

    Class: PHP Binary Stream
    Description: Parse extract data from binary files
    Author: wapmorgan
    Country: Russian Federation

    Class: PHP Microsoft EWS Office 365
    Description: Access Office 365 Exchange Web Services via SOAP
    Author: WsdlToPhp
    Country: France

    Class: PHP Multi MySQLDump
    Description: Dump MySQL database tables for file download
    Author: Alessandro Quintiliani
    Country: Italy

    Class: SAS to MySQL
    Description: Extract data dictionaries from SAS file into MySQL
    Author: Greg Neyman
    Country: United States

    Class: PHP Github API Cient
    Description: Access GitHub user repositories
    Author: Nahid Bin Azhar
    Country: Bangladesh

    Class: PHP Sodium Compat
    Description: Cryptographic functions of libsodium in pure PHP
    Author: Scott Arciszewski
    Country: United States

    Class: PHP Youtube and Vimeo Video Downloader Script
    Description: Download YouTube or Vimeo videos
    Author: Ssaurz Acharya
    Country: Australia

    Class: PHP Docsis Config of Cable Modem
    Description: Query cable modem configuration via SMNP
    Author: Fernando André
    Country: Portugal



    Latest support forum threads

    Subject Posted on Class
    smarty compatibility
    smarty compatibility
    2017-02-20 PHP Localization Library
    DB Connection
    How about PDO
    2017-02-19 PHP Restful Database Query
    Retrieve AccessTokenSecret from Intuit
    Not returning AccesTokenSecret or RealmID
    2017-02-17 PHP OAuth API Library with Tutorial Example Client for Any OAuth1 and OAuth2 Server
    Excellent and still works in 2017 (at least in PHP version 5.
    Package rating comment
    2017-02-17 SOAP Proxy
    __getLastRequest and __getLastResponse are not supported
    Why not have these methods available?
    2017-02-17 SOAP Proxy
    Package rating comment
    2017-02-17 Access user Class
    Package rating comment
    2017-02-17 Date and time utility class
    Package rating comment
    2017-02-17 Simple MySQL handler
    Package rating comment
    2017-02-17 PHP Localization Library
    Doesnt work for me
    Doesnt work for me
    2017-02-16 PHP Youtube and Vimeo Video Downloader Script


    • Latest package entries

    • PHP Stanford NLP Datastore

      Author: Dennis de Swart
      Date: 2017-02-19 (1 day ago)
      Groups: Databases, Text processing, Language, Artificial intelligence
      Description: This package can analyse text with NLP and stores in a database.

      It can perform text analysis using a local version of Stanford Natural Language processing .

      The results are stored in a local SQLite database for further analysis.
    • PHP Restful Database Query

      Author: Kazeem Olanipekun
      Date: 2017-02-18 (2 days ago)
      Groups: Databases, PHP 7
      Description: This package can perform MySQL queries and return JSON responses.

      It can perform several types of operations with table records in a MySQL database.

      Currently it can retrieve, insert, update and delete individual table records, update or get multiple records, verify if a given table records exist, insert multiple records, retrieve a limited number of records, and retrieve the last record by index field.

      The response as an object formatted as a JSON string.
    • Panchang Calendar

      Author: Vishv Sahdev
      Date: 2017-02-17 (3 days ago)
      Groups: HTML, PHP 5, Time and Date
      Description: This class can display the astrological Panchang calendar.

      It can display the Panchang calendar of the current month in a HTML page.

      The calendar includes the moon phase for each day, sunrise, sunset, Rahukaal, Yamghanda, and Gulika. The moon phases are displayed as images.
    • PHP Envato API

      Author: Nahid Bin Azhar
      Date: 2017-02-16 (4 days ago)
      Groups: Web services
      Description: This class can get users, items and forums in Envato Market.

      It can send HTTP requests to the Envato Market API Web server to perform several types of operations. Currently it can:

      - Get the current user details, name, email, sales, earnings, purchases, buyer download, buyer purchases, statements, bookmarks and collections
      - Get other user account details, badges, items and files
      - Market collections, individual items, popular items, new items, random new items, item prices, categories, features, search for items, site users, site items, items as categories
      - Forum active threads, last post of user, status of thread
    • PHP Live Forex Rate API

      Author: Ssaurz Acharya
      Date: 2017-02-15 (5 days ago)
      Groups: PHP 5, Web services, Finances
      Description: This class provides REST API to return exchange rates from other APIs.

      It responds to REST API requests to get information of Foreign Exchange rates by calling other APIs that provide the requested information.

      Currently it returns the current foreign exchange buy and sell rates between two currencies retrieving the values from the Yahoo Finance API.
    • PHP Elastic Search for MySQL

      Author: Ahmed Khan
      Date: 2017-02-14 (6 days ago)
      Groups: PHP 5, Databases, Searching
      Description: This class can index and search MySQL records with Elastic Search.

      It takes configuration of MySQL table fields and queries that the class uses to retrieve the data from the database to index with Elastic Search.

      The class takes a connection object of the MySQLi class and inserts the data to index.

      It can also perform searches for given keywords and returns the matching records that were previously indexed.
    • PHP Termux API

      Author: Luis Martinez Ulloa
      Date: 2017-02-14 (6 days ago)
      Groups: PHP 5, System information, Wireless and Mobile, Audio, Geography, Console, Hardware
      Description: This class can control Android device using Termux application.

      It can execute the termux terminal emulator application from the command line and run several types of commands to control the several aspects of an Android mobile phone or table. Currently it can:

      - Check the battery status
      - Get the camera details
      - Take a picture
      - Copy text from and to the clipboard
      - Retrieve user contact list
      - Download files from a given URL
      - Get the device location from the GPS or other device
      - Send notifications to the device user
      - Open URLs in the device default browser
      - Share content file
      - Send SMS message
      - Get received SMS messages
      - Get the phone information
      - Show an Android toast notification
      - Get the list of TTS (Text to Speach) devices
      - Play text as speech
      - Vibrate
      - Scan WiFi devices
      - Get the WiFi connection details
    • PHP JSON API Server

      Author: Cesar D. Rodas
      Date: 2017-02-13 (7 days ago)
      Groups: PHP 5, Web services
      Description: This package can handle REST API requests with functions in scripts.

      It registers functions from scripts present in a given directory to handle API requests to function calls mentioned in annotation comments.

      The responses of the requests are returned in JSON format.

      The package also comes with JavaScript client code to simplify calls done to API servers using this package.