2017 © Pedro Peláez
 

library popphp-framework

The Pop PHP Framework - Full Installation

image

popphp/popphp-framework

The Pop PHP Framework - Full Installation

  • Tuesday, June 26, 2018
  • by nicksagona
  • Repository
  • 2 Watchers
  • 16 Stars
  • 1,019 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 4 Forks
  • 0 Open issues
  • 19 Versions
  • 6 % Grown

The README.md

Pop PHP Framework

, (*1)

Join the chat at https://discord.gg/TZjgT74U7E, (*2)

Release Information

Pop PHP Framework 5.5.0
Released February 12, 2025, (*3)

Overview

This repository contains the composer.json file to install the full Pop PHP Framework. The core Pop PHP components and the additional components listed below will be installed:, (*4)

Components
pop-acl pop-debug pop-mime
pop-audit pop-dir pop-nav
pop-auth pop-dom pop-paginator
pop-cache pop-filter pop-pdf
pop-code pop-form popcorn
pop-color pop-ftp popphp
pop-config pop-http pop-queue
pop-console pop-i18n pop-session
pop-cookie pop-image pop-storage
pop-css pop-kettle pop-utils
pop-csv pop-log pop-validator
pop-db pop-mail pop-view

New Features

  • A large number of improvements, upgrades and refactors across many components.
  • Support for PHP 8.2+.
  • PHPUnit tests refactored for PHPUnit 11.5+.
  • Reference the CHANGELOG.md for further details.

Top, (*5)

Install

There are multiple ways you can get Pop PHP Framework into your project., (*6)

Option 1: Create a New Project

You can create a new project with the composer create-project command, which is recommended. This way, you will have access to the CLI-helper script kettle in the main project folder:, (*7)

$ composer create-project popphp/popphp-framework project-folder
Option 2: Clone the Repo

You can clone this repository directly, which will also install the kettle script in the main project folder:, (*8)

$ git clone https://github.com/popphp/popphp-framework.git popphp
$ cd popphp
$ composer install
Option 3: Use composer require

You can add it to an existing project with the composer require command:, (*9)

$ composer require popphp/popphp-framework
Option 4: Use composer.json

You can add it your project's composer.json file:, (*10)

"require": {
    "popphp/popphp-framework": "^5.5.0"
}

Top, (*11)

Kettle

CLI Helper

pop-kettle, (*12)

If choose to install the framework in a way that the pop-kettle CLI-helper script is not available in the main project folder (options 3 and 4), you can place a copy of the script from the vendor/popphp/pop-kettle/kettle location in the main project folder (adjacent to the vendor folder):, (*13)

$ cp vendor/popphp/pop-kettle/kettle .
$ cp vendor/popphp/pop-kettle/kettle.inc.php .

Once you've copied the scripts over, you have to change the reference to the script's config file from:, (*14)

    $app = new Pop\Application(
        $autoloader, include __DIR__ . '/config/app.console.php'
    );

to, (*15)

    $app = new Pop\Application(
        $autoloader, include __DIR__ . '/vendor/popphp/pop-kettle/config/app.console.php'
    );

and make sure the newly copied kettle script is set to execute (755), (*16)

$ chmod 755 kettle

Top, (*17)

Support

The best way to directly interact with Pop PHP is here on GitHub. You can:, (*18)

  • Contribute code
  • Request a feature
  • Report an issue

but please do so under the pertinent repository related to the topic at hand., (*19)

Besides interacting with the various repositories here on GitHub, there are a few other ways to participate in the Pop PHP community:, (*20)

Top, (*21)

The Versions