Login   Register  
PHP Classes
elePHPant
Icontem

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-06-28




  • Contents


    • Latest PHP Classes blog posts

    • Top 4 Mistakes Developers Should Avoid when Creating Their Own Software Product Business (1 day 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 (5 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 (6 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 (9 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 (12 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 (13 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 (17 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 (18 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 (19 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 (22 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 (27 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.
    • Notable PHP package: Move Me GIF (29 days ago)

      Posted on: 2016-05-30
      Summary: Animated GIF images became popular because they allow to display videos on social network sites that only support image formats.

      Assembling an animated GIF is just composing a sequence of still pictures. However, this class goes further to assembling pictures as animated GIFs by allowing to render sequences of images overlaid on top of custom background images.

      It also provides optimization methods to generate smaller GIFs files by clipping regions of the images and skipping frames.

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

      Posted on: 2016-05-30
      Summary: This is the May 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 insert charts and graphs on WordPress posts, how to prepare to technical interview for jobs, 10 aspects on which BitBucket is better than GitHub, converting HTML to PDF using an API, using Microsoft Visual Studio as your PHP IDE with PHP Tools extension, and the main changed and new functions in PHP 7.

      Listen to the podcast, or watch the hangout video to learn more about these PHP articles.

    Contents


    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 Khaled Al-Shamaa Syria Syria 1

    Contents


    Innovation award results

    Innovation Award winners 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
    9 PHP CRUD REST API Server
    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


    Award page

    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


    Vote

    Contents


    Latest support forum threads

    Subject Posted on Class
    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
    Proficiate.
    Package rating comment
    2016-06-24 Stringizer
    HTML working Form in DOC
    Add HTML form in DOC file
    2016-06-23 VsWord
    Not reading file generated from php
    Not reading file generated from php
    2016-06-22 Simple XLSX
    More than 26 columns
    Here is the solution
    2016-06-22 PHP MySQL XLSX Export
    LibreOffice problem
    Libreoffice does not read files
    2016-06-22 PHP MySQL XLSX Export
    javascript portable
    Read/write by javascript
    2016-06-22 Binary serialization
    baco in classe codicefiscale per nomi con piu di tre consonanti
    baco
    2016-06-22 Calcolo Codice Fiscale
    Fantastic Class but I have a couple of questions
    I want to exclude the Buy It Now button and empty the cart.
    2016-06-21 Go PayPal

    Contents


    • Latest package entries

    • PHP ACL Library

      Picture of Samuel Adeshina
      Author: Samuel Adeshina
      Date: 2016-06-27 (1 day ago)
      Groups: User Management, PHP 7
      Description: This class can manage permission access control lists.

      It provides classes for defining resources that will have restricted access, permissions that define different actions that can be done on resources, roles that define types of users that will have certain permissions to access resources.

      The resources, permissions and roles can be added or removed. The whole set of objects can be serialized to a string so it can be saved and be loaded later.
    • PHP AJAX Table Update

      Picture of Joubert RedRat
      Author: Joubert RedRat
      Date: 2016-06-27 (1 day ago)
      Groups: HTML, Localization, PHP 5, AJAX
      Description: This package can load HTML tables dynamically using AJAX.

      First it can generate JavaScript data to configure a jQuery plugin to build a table from configuration objects that define the tables rows and columns.

      The jQuery plugin will perform AJAX requests to retrieve the table data and package classes generate the response with values to display on the table from data passed to the classes.

      The package can also generate LIMIT clause for pagination and so only show the results for the current table page, as well ORDER BY clause to show the table data according to the column that the user picked to sort.

      The presentation of the table can be configured with CSS styles.

      The texts used in pagination links and other messages can be translated to multiple languages.
    • Configuration file setup

      Picture of raghavender
      Author: raghavender
      Date: 2016-06-26 (2 days ago)
      Groups: PHP 5, Configuration
      Description: This package can read configuration values from JSON files.

      It can read a JSON file with setting values and returns an array with the values.

      The class also sets the application_path setting to the parent of the current directory.
    • User Input Validator

      Picture of Gavin Gordon Markowski
      Author: Gavin Gordon Markowski
      Date: 2016-06-25 (3 days ago)
      Groups: HTTP, PHP 5, Validation
      Description: This class can validate request values according to given rules.

      It can take a array with the definitions of rules to validate values passed via POST or GET.

      The class can check either the $_GET or $_POST array to verify if the values satisfy the defined rules.

      It performs the supported types of validations using regular expressions. Currently it supports the validations of alphabetic strings with spaces, numbers or symbols, just numbers, just symbols, number or symbols, phone numbers, boolean or binary values.
    • PHP PDO database connection Class

      Picture of Mohammad Raha
      Author: Mohammad Raha
      Date: 2016-06-24 (4 days ago)
      Groups: PHP 5, Databases
      Description: This class can compose and execute MySQL queries using PDO.

      It can connect to a given MySQL database using PDO and executes common SQL SELECT, INSERT, UPDATE, DELETE and CREATE TABLE queries from parameters that define tables, fields, field values and condition clauses.
    • Stringizer

      Picture of jasonlam604x
      Author: jasonlam604x
      Date: 2016-06-23 (5 days ago)
      Groups: PHP 5, Text processing
      Description: This package can manipulate multibyte text strings as objects.

      It can take a given string and perform one or more manipulation operations through a fluent interface.

      Currently it provides the following functions:

      - Camelize
      - Concat
      - Contains & Contains Case-Insensitive
      - Contains Count & Count Case-Insensitive
      - Dasherize
      - EndsWith
      - StartsWith
      - EnsureLeft
      - EnsureRight
      - HashCode
      - IndexOf & IndexOf Case-Insensitive
      - IsAlpha
      - IsAlphaNumeric
      - IsAlphaNumeric with Space
      - IsAlphaNumeric with Space and Dash
      - IsDate
      - IsDecimal
      - IsEmail
      - IsEmpty
      - IsNumber
      - LastIndexOf & LastIndexOf Case-Insensitive
      - Length
      - Lowercase
      - Lowercase First
      - Pad Both
      - Pad Left
      - Pad Right
      - Replace Accents
      - Remove Non Ascii
      - Remove Whitespace
      - Replace & Replace Case-Insensitive
      - Reverse
      - Split
      - Strip Punctuation
      - Strip Tags
      - Sub String
      - Trim
      - Trim Left
      - Trim Right
      - Truncate
      - Truncate Match and Truncate Match Case-Insensitive
      - Uppercase
      - Uppercase Words
      - Width
    • Simple Flash Messages

      Picture of Yuriy Tkachenko
      Author: Yuriy Tkachenko
      Date: 2016-06-22 (6 days ago)
      Groups: HTML, PHP 5
      Description: This package can display message with different CSS frameworks.

      It can generate HTML to display messages using classes of several types of CSS frameworks.

      The messages can be either of the types: errors, warnings, information and success.

      Currently it supports the CSS frameworks:

      - Bootstrap 3 (default)
      - Bootstrap 4
      - Foundation 5
      - Foundation 6
      - Semantic UI 2
      - Siimple
      - UIKit 2
    • PHP TheSportsDb

      Picture of Jelle Sebreghts
      Author: Jelle Sebreghts
      Date: 2016-06-22 (6 days ago)
      Groups: PHP 5, Games, Web services
      Description: This package can get game information from the Sports DB site API.

      It can send HTTP requests to thesportsdb.com API Web server to retrieve several types of information about sports games.

      Currently it can get information about sports and their leagues, seasons, teams and players.
    • Zephir HandlerSocket Client

      Picture of Victor Bolshov
      Author: Victor Bolshov
      Date: 2016-06-21 (7 days ago)
      Groups: Networking, Zephir
      Description: This package can access MySQL tables as NoSQL with HandlerSocket.

      It provides classes written in Zephir to access MySQL INNODB tables using a noSQL interface provided by Percone HandlerSocker MySQL plugin.

      The connection class establishes a TCP connection with the HandlerSocker server on a given host and port.

      Other packages can perform queries for retrieving, storing and deleting rows on a given table.

    Contents


    Contents