Jump to content

Archive:Pop PHP Framework: Difference between revisions

From IdeaWazaWiki
No edit summary
No edit summary
Line 30: Line 30:
== History ==
== History ==


Development on the Pop PHP Framework officially began in late 2011, when a set of older library components was refactored 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, [[Model–view–controller|MVC]]-style web framework with a set of supporting components to assist in building web applications. The original, older library components that it was derived from began life in 2009.
Development on the Pop PHP Framework officially began in late 2011, when a set of older library components was refactored 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 framework with a set of supporting components to assist in building web and console applications. The older library components that it was derived from originally began life in 2009.


Over the span of that time, Pop has evolved to keep up with the times, taking advantage of new features available in PHP. The current version, Pop PHP 7 is another major refactor and modernization of the framework, adding a large number of new features and upgrades and focusing on the new features available in PHP 8.4+. Version 7.0.0 was released on August 17, 2026.
Over the span of that time, Pop has evolved to keep up with the times, taking advantage of new features available in PHP. The current version, Pop PHP 7 is another major refactor and modernization of the framework, adding a large number of new features and upgrades and focusing on the new features available in PHP 8.4+. Version 7.0.0 was released on August 17, 2026.
Line 182: Line 182:
== Development ==
== Development ==


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 [[Command-line interface|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 GitHub Actions workflow platform to ensure the builds of the individual framework components are passing.<ref>{{cite web |url=https://github.com/features/actions |title=GitHub Actions|website=github.com/features/actions}}</ref>
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 [[Command-line interface|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]], uses [[PHPStan]] for static analysis and runs through the GitHub Actions workflow platform to ensure the builds of the individual framework components are passing.<ref>{{cite web |url=https://github.com/features/actions |title=GitHub Actions|website=github.com/features/actions}}</ref>


Pop PHP 6.0.0 is currently written for and supports PHP 8.3+.
Pop PHP 6.0.0 is currently written for and supports PHP 8.3+.

Revision as of 22:58, 26 August 2026

Template:Short description Template:Multiple issues Template:Infobox software

The Pop PHP Framework is 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, supporting both web and console applications.

History

Development on the Pop PHP Framework officially began in late 2011, when a set of older library components was refactored 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 framework with a set of supporting components to assist in building web and console applications. The older library components that it was derived from originally began life in 2009.

Over the span of that time, Pop has evolved to keep up with the times, taking advantage of new features available in PHP. The current version, Pop PHP 7 is another major refactor and modernization of the framework, adding a large number of new features and upgrades and focusing on the new features available in PHP 8.4+. Version 7.0.0 was released on August 17, 2026.

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

Release history

Version 7.0.0 is the current version that is in active development. Versions 5.5.0 and earlier 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.[8]

<div style="Expression error: Unrecognized punctuation character "[".">Legend:

<div style="Expression error: Unrecognized punctuation character "["." class="legend-item">Unsupported<div style="Expression error: Unrecognized punctuation character "["." class="legend-item">Supported<div style="Expression error: Unrecognized punctuation character "["." class="legend-item">Latest version<div style="Expression error: Unrecognized punctuation character "["." class="legend-item">Preview version<div style="Expression error: Unrecognized punctuation character "["." class="legend-item">Future version<templatestyles src="Version/styles.css" />

Version Release date Notes
Unsupported: 1.0.0<templatestyles src="Version/styles.css" /> March 19, 2012
Unsupported: 1.7.0<templatestyles src="Version/styles.css" /> December 1, 2013 Final Release
Unsupported: 1.7.0<templatestyles src="Version/styles.css" /> March 6, 2016 EOL
Unsupported: 2.0.0<templatestyles src="Version/styles.css" /> July 12, 2015
Unsupported: 2.1.0<templatestyles src="Version/styles.css" /> July 8, 2016 Final Release
Unsupported: 2.1.0<templatestyles src="Version/styles.css" /> August 31, 2017 EOL
Unsupported: 3.0.0<templatestyles src="Version/styles.css" /> July 9, 2016
Unsupported: 3.5.0<templatestyles src="Version/styles.css" /> February 27, 2017
Unsupported: 3.6.0<templatestyles src="Version/styles.css" /> August 31, 2017
Unsupported: 3.6.5<templatestyles src="Version/styles.css" /> May 15, 2018
Unsupported: 3.7.0<templatestyles src="Version/styles.css" /> June 28, 2018
Unsupported: 3.8.0<templatestyles src="Version/styles.css" /> August 25, 2018 Final Release
Unsupported: 3.8.9<templatestyles src="Version/styles.css" /> February 24, 2020 EOL
Unsupported: 4.0.1<templatestyles src="Version/styles.css" /> February 9, 2019
Unsupported: 4.0.2<templatestyles src="Version/styles.css" /> March 12, 2019
Unsupported: 4.0.3<templatestyles src="Version/styles.css" /> April 9, 2019
Unsupported: 4.1.0<templatestyles src="Version/styles.css" /> October 17, 2019
Unsupported: 4.5.0<templatestyles src="Version/styles.css" /> May 28, 2020
Unsupported: 4.6.0<templatestyles src="Version/styles.css" /> February 12, 2021
Unsupported: 4.7.0<templatestyles src="Version/styles.css" /> November 16, 2022
Unsupported: 4.8.0<templatestyles src="Version/styles.css" /> September 3, 2023 EOL
Unsupported: 5.0.0<templatestyles src="Version/styles.css" /> November 8, 2023
Unsupported: 5.1.0<templatestyles src="Version/styles.css" /> December 12, 2023
Unsupported: 5.2.0<templatestyles src="Version/styles.css" /> March 4, 2024
Unsupported: 5.3.0<templatestyles src="Version/styles.css" /> April 1, 2024
Unsupported: 5.4.0<templatestyles src="Version/styles.css" /> September 10, 2024
Unsupported: 5.5.0<templatestyles src="Version/styles.css" /> February 12, 2025 EOL
Supported: 6.0.0<templatestyles src="Version/styles.css" /> November 3, 2025
Latest version: 7.0.0<templatestyles src="Version/styles.css" /> August 17, 2026 Current production version

Source: GitHub[9]

Development

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, uses PHPStan for static analysis and runs through the GitHub Actions workflow platform to ensure the builds of the individual framework components are passing.[10]

Pop PHP 6.0.0 is currently written for and supports PHP 8.3+.

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

Features

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 Middleware 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.[12] 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)
    • HTTP client & server classes
    • Promises
    • Headers & Auth
    • Request & response handlers
    • File uploads
  • HTML Form Generation (popphp/pop-form)
    • Simple form configuration & rendering
    • HTML form validation
  • PDF Generation (popphp/pop-pdf)
    • PDF creation & editing
  • Job Queue (popphp/pop-queue)
    • Job queue management & scheduler
  • Mail (popphp/pop-mail)
    • Support for popular mail APIs
    • SMTP support
    • Mail queues
    • IMAP/POP client
  • Storage (popphp/pop-storage)
    • Support for popular cloud-based storage APIs
  • 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)
  • Console (popphp/pop-console)
  • Cookies (popphp/pop-cookie)

Popcorn

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.[13][14][15]

Kettle

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

References

  1. ↑ "Guide to 24 PHP Frameworks". Nico Anastasio. http://anastasionico.uk/blog/guide-to-24-php-frameworks-part-3#pop. 
  2. ↑ "List of Top 10 Best PHP Frameworks". Cats Who Code. https://www.catswhocode.com/blog/top-10-php-frameworks-for-2014. 
  3. ↑ "List of Top 10 Best PHP Frameworks". Mango Media. http://www.themangomedia.com/blog/what-is-php-and-10-best-php-frameworks/. 
  4. ↑ "List of 15 New Best Frameworks". Code Geekz. 17 February 2014. https://codegeekz.com/best-php-frameworks-2014/. 
  5. ↑ "Best MVC PHP Frameworks for Developers". Best jQuery. http://www.bestjquery.com/2017/07/best-php-frameworks/. 
  6. ↑ "Best PHP Frameworks". Firebear Studios. 20 January 2015. https://firebearstudio.com/blog/the-best-php-frameworks-2015.html. 
  7. ↑ "Best PHP Frameworks". Indefinite Loop. https://indefiniteloop.com/blog/code/42-php-frameworks-2015.html. 
  8. ↑ "Github: Pop PHP Framework Changelog". https://github.com/popphp/popphp-framework/blob/master/CHANGELOG.md. 
  9. ↑ "Github: Pop PHP Framework Releases". https://github.com/popphp/popphp-framework/releases. 
  10. ↑ "GitHub Actions". https://github.com/features/actions. 
  11. ↑ "Pop PHP Development". https://www.popphp.org/development. 
  12. ↑ "Pop PHP Components". https://github.com/popphp/popphp-framework/blob/master/README.md#overview. 
  13. ↑ "Popcorn". https://www.popphp.org/#popcorn. 
  14. ↑ "Popcorn Overview". https://www.popphp.org/overview#popcorn. 
  15. ↑ "Popcorn on GitHub". https://github.com/popphp/popcorn. 
  16. ↑ "Kettle on GitHub". https://github.com/popphp/pop-kettle. 

Template:PHP Template:Web frameworks