Pop PHP Framework

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
Pop PHP Framework
Pop PHP Logo
Developer(s)Nick Sagona
Initial releaseMarch 19, 2012; 7 years ago (2012-03-19)
Stable release
4.0.2[1] / March 12, 2019; 39 days ago (2019-03-12)
Written inPHP
Operating systemCross-platform
TypeWeb framework
LicenseBSD License
Websitepopphp.org

The Pop PHP Framework a free and open source PHP Web framework that was created by Nick Sagona. It is distributed under the BSD License and hosted on GitHub. The framework is intended to be utilized for rapid application development, with an emphasis on web applications.

History[edit]

Development on the Pop PHP Framework was officially begun by Nick Sagona in late 2011, when he refactored a set of older library components into the first version of Pop PHP, which was released on March 19, 2012. The focus was for Pop PHP to become a more modern, MVC-style web framework with a set of supporting components to assist in building web applications.

After PHP 5.4 was released, Pop PHP 2 was refactored to take advantage of the new features available in PHP 5.4, as well as fully leveraging Composer by breaking out almost all of the components into separate repositories on GitHub. Pop PHP 2 was first released on July 12, 2015.

Pop PHP 3 was a slight refactor of the existing framework, while adding a handful of new components and deprecating a few older components. Version 3 supports PHP 7 and 5.6 and was released on July 9, 2016. The last version, 3.8.0, was released on August 25, 2018.

Pop PHP 4 was another refactor of the existing framework that upgraded and improved existing components. Version 4 supports PHP 7.1 or greater and PHP 5.6 is no longer supported. The current version, 4.0.2, was released on March 12, 2019.

The framework has been included on a number of "best of" lists for new and up-and-coming PHP Frameworks.[2][3][4][5][6][7][8]

The Pop PHP Framework is the framework on which the open source Phire CMS project is built.[9][10]

Release history[edit]

Version 4.0.2 is the current version that is in active development. Version 3 is still available while versions 2 and 1 have reached end of life and are no longer supported. A current changelog is maintained for a recent list of changes and how they impact continued development with Pop PHP.[11]

Legend: Old version, no support Older version, still supported Current stable version Latest preview version Future release
Version Release date Notes
Old version, no longer supported: 1.0.0 March 19, 2012
Old version, no longer supported: 1.7.0 December 1, 2013 Final Release
Old version, no longer supported: 1.7.0 March 6, 2016 EOL
Old version, no longer supported: 2.0.0 July 12, 2015
Old version, no longer supported: 2.1.0 July 8, 2016 Final Release
Old version, no longer supported: 2.1.0 August 31, 2017 EOL
Older version, yet still supported: 3.0.0 July 9, 2016
Older version, yet still supported: 3.5.0 February 27, 2017
Older version, yet still supported: 3.6.0 August 31, 2017
Older version, yet still supported: 3.6.5 May 15, 2018
Older version, yet still supported: 3.7.0 June 28, 2018
Older version, yet still supported: 3.8.0 August 25, 2018 Final Release
Current stable version: 4.0.1 February 9, 2019
Current stable version: 4.0.2 March 12, 2019 Current production version

Source: Github[12]

Development[edit]

While the initial development of the Pop PHP Framework was focused on building web applications, since version 3, Pop PHP fully supports console-based applications to be used on the CLI as well. Pop PHP incorporates current standards, trends and patterns in software development in an attempt to build an ecosystem that is familiar to developers. The framework is heavily unit-tested using PHPUnit and runs through the Travis CI continuous integration platform to ensure the builds of the individual framework components are passing.[13]

Pop PHP 4 is currently written for and supports PHP 7.1 or greater and no longer supports PHP 5.6.

The Pop PHP Framework project welcomes community involvement and contribution via the current available channels.[14]

Features[edit]

The base foundation of Pop PHP is the initial set of core components that make up the application stack:

  • The Application Object
  • The Router
  • The Service Locator
  • The Event Manager
  • The Module Manager
  • The Base Controller Class

Additionally, there are a number of other components that are available for use in building an application.[15] Some of the commonly used components and what they include are:

  • Database Abstraction (popphp/pop-db)
    • Database adapters
    • Active record
    • Query builder
    • SQL migration
  • HTTP Abstraction (popphp/pop-http)
    • Request & response handlers
    • HTTP clients
    • File uploads
  • HTML Form Generation (popphp/pop-form)
    • HTML Form Validation
  • PDF Generation (popphp/pop-pdf)
    • PDF Creation
    • PDF Import
  • Mail (popphp/pop-mail)
    • SMTP support
    • Mail queues
    • IMAP/POP client
  • Auditing (popphp/pop-audit)
  • Caching (popphp/pop-cache)
  • Debugging (popphp/pop-debug)
  • Logging (popphp/pop-log)
  • Image Manipulation (popphp/pop-image)
  • Views (popphp/pop-view)
  • Sessions (popphp/pop-session)
  • Cookies (popphp/pop-cookie)

Popcorn[edit]

Popcorn is a standalone web-based component that serves as a REST-based micro-framework layer to allow developers to quickly build REST-based web applications and APIs. With it, a developer can enforce routes by request methods and direct HTTP requests accordingly.[16][17][18]

Kettle[edit]

Kettle is a CLI-based helper script available since version 4.0.1. It allows the user quickly scaffold application files and folders together as well as manage databases and migrations.[19]

References[edit]

  1. ^ "popphp/popphp-framework: Release v4.0.2". github.com.
  2. ^ "Guide to 24 PHP Frameworks". anastasionico.uk. Nico Anastasio.
  3. ^ "List of Top 10 Best PHP Frameworks". catswhocode.com. Cats Who Code.
  4. ^ "List of Top 10 Best PHP Frameworks". themangomedia.com. Mango Media.
  5. ^ "List of 15 New Best Frameworks". codegeekz.com. Code Geekz.
  6. ^ "Best MVC PHP Frameworks for Developers". bestjquery.com. Best jQuery.
  7. ^ "Best PHP Frameworks". firebearstudio.com. Firebear Studios.
  8. ^ "Best PHP Frameworks". indefiniteloop.com. Indefinite Loop.
  9. ^ "Phire CMS". phirecms.org.
  10. ^ "Phire CMS on GitHub". github.com.
  11. ^ "Github: Pop PHP Framework Changelog". github.com.
  12. ^ "Github: Pop PHP Framework Releases". github.com.
  13. ^ "Travis CI: Pop PHP Framework". travis-ci.org/.
  14. ^ "Pop PHP Development". popphp.org.
  15. ^ "Pop PHP Components". github.com.
  16. ^ "Popcorn". popphp.org.
  17. ^ "Popcorn Overview". popphp.org.
  18. ^ "Popcorn on GitHub". github.com.
  19. ^ "Kettle on GitHub". github.com.

External links[edit]