X
    Categories: Learn PHP Tutorials, Tips And Guides
Reading Time: 5 minutes

Even a small project could generate a surprisingly large volume of code. The situation gets worse as the team increases. Since developers work on separate sections of the code, keeping track of the so many versions of the code becomes a challenge.

Tom Preston-Werner, Chris Wanstrath, and PJ Hyett identified the problem and launched GitHub in April 2008. The platform is written in Ruby on Rails and Erlang and has become the home of some of the most popular code repositories. A huge number of developers use GitHub as a version control system for their projects. Today, using Git for managing all the versions of the project code has become an accepted coding best practice. In fact, top GitHub projects often include libraries and apps that further streamline version control processes.

Since the number of repositories on GitHub now number in thousands, it is easy to miss out the most popular (or useful) repos. To remedy the issue, I will present the top 20 trending repositories on the PHP GitHub. I will use the GitHub’s own ranking criteria of stars, forks and the number of contributors to decide the top 20.

Top Trending Projects on PHP GitHub in 2017

Following are the candidates:

  1. Design Patterns PHP
  2. Fzaninotto
  3. PHPMailer
  4. Php ai
  5. Thephpleague
  6. Monica
  7. Bootstrap CMS
  8. Voten
  9. Bobthecow
  10. Headless-wp-starter
  11. Past
  12. Laravel-page-speed
  13. CMS
  14. Countries
  15. Zttp
  16. Ziggy
  17. Laravel-totem
  18. Churn-php
  19. Slug-generator
  20. Phpunit-pretty-result-printer

Design Patterns PHP

This repository is created by Domnikl. I  like this repository because of the sample code of different design patterns and how developers could implement these patterns in PHP projects. Every pattern has a small list of examples (most from Zend Framework, Symfony 2 and Doctrine 2)

Stats:

Star Fork Contributors
14,193 3,020 125

Faker

Created by Fzaninotto, Faker is a PHP library that generates fake data for your projects. Whether you need to bootstrap a database, create good-looking XML documents, fill-in the persistence for stress testing or anonymize data taken from a production service, Faker is the best tool for the job.

Stats:

Star Fork Contributors
13,196 1,933 349

 PHPMailer

Created by team PHPMailer, this is a full featured email sending class for PHP projects. This class is a great replacement for the mail() function provided by PHP.

Stats:

Star Fork Contributors
10,384 5,731 144

Monica

Created by Monicahq, Monica is a great app for keeping track of activities of friends and family members. Through this simple app, developers could create custom projects that implement action tracking of specific profiles.

Stats:

Star Fork Contributors
3,922 430 94

 Platform-Agnostic Security Tokens (PAST)

Created by paragonie-security, PAST is a specification and reference implementation for secure stateless tokens.

Stats:

Star Fork Contributors
1,356 22 4

 PHP AI

Created by Arkadiusz Kondas, this machine learning library offers a fresh approach to PHP based machine learning projects. The library offers a whole host of options including association rule learning, regression, cross-validation and pre-processing.

Stats:

Star Fork Contributors
5,236 685 23

 Flysystem

Created by ThePHPLeague, Flysystem is a filesystem abstraction. Use this library to replace the local file system with a remote file system.

Stats:

Star Fork Contributors
4,374 428 138

Bootstrap CMS

This library offers a  PHP based CMS that uses Laravel 5.1 and Sentry. It is maintained by Graham Campbell.

Stats:

Star Fork Contributors
2,303 754 138

Voten

Created by Voten, thi library offers a code for creating a realtime social bookmarking platform that is simple to use and offer great flexibility to the developers.

Stats:

Star Fork Contributors
753 124 15

PsySH

Created by Bobthecow, PsySH offers a dev console and interactive debugger for PHP projects. In effect, this repo creates a REPL platform for PHP developers.

Stats:

Star Fork Contributors
2,918 178 45

 Headless-wp-Starter

Created by Postlight, this headless WordPress + React Starter Kit offers developers two important functionalities: A WP backend that uses the WP REST API and a React frontend powered by Next.JS

Stats:

Star Fork Contributors
2,918 178 45

Laravel Page Speed

Created by Renatomarinho, this package claims to improve website optimization by at least 35%. The package works by minifying HTML output on demand.

Stats:

Star Fork Contributors
1,015 96 8

CraftCMS

Craft is a self-hosted PHP application built on Yii that emphasizes custom development pulgins. When using CraftCMS, developers have the basic structure in place that could be customized to fit a broad range of project specifications.

Stats:

Star Fork Contributors
991 118 38

Countries

Created by Antonioribeiro, this is a great package to get/add country related data to PHP projects.

Stats:

Star Fork Contributors
776 62 11

 Zttp

Created by Kietail, Zttp is just a Guzzle wrapper that provides support for common use cases.

Stats:

Star Fork Contributors
810 51 15

 Ziggy

Created by Tightenco, Ziggy offers a Blade directive for including into the project views.

Stats:

Star Fork Contributors
684 44 15

Laravel-totem

Created by Codestudiohq, Laravel-totem is a pretty useful dashboard that developers could use for managing, scheduling and enabling/disabling tasks.

Stats:

Star Fork Contributors
662 50 8

Churn-php

This repository is trending in github last year.Created by Bmitch.Churn-php is a package that helps you identify php files in your project that could be good candidates for refactoring. It examines each PHP file in the path it is provided and:

  • Checks how many commits it has.
  • Calculates the cyclomatic complexity.
  • Creates a score based on these two values.

Stats:

Star Fork Contributors
602 32 22

Slug Generator Library

Created by Ausi. this package provides methods to generate slugs for URLs or filenames. The package relies on Transliterator class.

Stats:

Star Fork Contributors
589 25 3

PHPUnit Pretty Result Printer

Created by Mikeerickson, this simple package adds a “printer” to the default PHPUnit Result

Stats:

Star Fork Contributors
732 20 10

Summarized Table View:

Sno Title Author Description Star Fork
1 Design Patterns PHP domnikl sample code for several design patterns in PHP 14,191 3,018
2 Fzaninotto Facker Faker is a PHP library that generates fake data for you 13,162 1,932
3 PHPMailer PHPMailer A full-featured email creation and transfer class for PHP 10,376 5,725
4 Php ai Php ml Machine Learning library for PHP 5222 680
5 Thephpleague Flysystem Flysystem is a filesystem abstraction which allows you to easily swap out a local filesystem for a remote one. 4,349 428
6 Monica Monicahq Intuitive web application to remember everything about your friends and family. https://monicahq.com 3,917 430
7 Bootstrap CMS CMS A PHP CMS powered by Laravel 5 and Sentry 2,303 754
8 Voten Voten-co Voten.co is a real-time social bookmarking for the 21st century. It’s real-time, beautiful, customizable yet simple. 753 124
8 Bobthecow Psysh PsySH is a runtime developer console, interactive debugger and REPL for PHP. Learn more at psysh.org and in the manual 2,918 178
9 headless-wp-starter postlight Postlight’s Headless WordPress + React Starter Kit is an automated toolset that will spin up two things: 1) WordPress backend that serves its data via the WP REST API. 2) A server-side rendered React frontend using Next.js 1,073 67
10 Past Paragonie Platform-Agnostic Security Tokens 1,350 22
11 Laravel-page-speed Renatomarinho Package to optimize your site automatically which results in a 35%+ optimization 1,014 96
12 CMS Craft cms A content-first CMS that aims to make life enjoyable for developers and content managers alike. 988 117
13 Countries antonioribeiro Laravel countries and currencies 773 61
14 Zttp Kitetail A developer-experience focused HTTP client, optimized for most common use cases. 810 51
15 Ziggy Tightenco Use your Laravel named routes in JavaScript https://tightenco.github.io/ziggy//ziggy 683 44
16 Laravel-totem codestudiohq Manage Your Laravel Schedule From A Web Dashboard 661 50
17 churn-php bmitch Discover files in need of refactoring 802 32
18 Slug-generator ausi Slug Generator Library for PHP, based on Unicode CLDR data 589 25
20 Phpunit-pretty-result-printer Mikeerickson Extend the default PHPUnit Result Printer with a modern, pretty printer 731 20
Pardeep Kumar :Pardeep is a PHP Community Manager at Cloudways - A Managed PHP Hosting Platform. He love to work on Open source platform , Frameworks and working on new ideas. You can email him at pardeep.kumar@cloudways.com