PHPackages                             popphp/popphp-tutorial - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. popphp/popphp-tutorial

ActiveLibrary[Framework](/categories/framework)

popphp/popphp-tutorial
======================

Tutorial Application for Pop PHP Framework

4.0.4(6mo ago)43741BSD-3-ClausePHPPHP &gt;=8.3.0

Since Mar 1Pushed 6mo ago1 watchersCompare

[ Source](https://github.com/popphp/popphp-tutorial)[ Packagist](https://packagist.org/packages/popphp/popphp-tutorial)[ Docs](https://github.com/popphp/popphp-tutorial)[ RSS](/packages/popphp-popphp-tutorial/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (8)Versions (24)Used By (0)

Pop PHP Tutorial Application
============================

[](#pop-php-tutorial-application)

[![Join the chat at https://popphp.slack.com](https://camo.githubusercontent.com/e51de5075f156c528321b6ce0a0414d309f837b6c6e10776028508dc08ebacff/68747470733a2f2f6d656469612e706f707068702e6f72672f696d672f736c61636b2e737667)](https://popphp.slack.com)[![Join the chat at https://discord.gg/TZjgT74U7E](https://camo.githubusercontent.com/acad7b0eeb78b78d08ffd2b85681ab243436388b5f86f8bcb956a69246e53739/68747470733a2f2f6d656469612e706f707068702e6f72672f696d672f646973636f72642e737667)](https://discord.gg/TZjgT74U7E)

- [Overview](#overview)
- [Install](#install)
- [Basic Usage](#basic-usage)
- [Notes](#notes)

Overview
--------

[](#overview)

This is a basic tutorial application for the Pop PHP Framework to demonstrate how to wire up some simple routes for a web-facing application and a CLI-based application.

[Top](#pop-php-tutorial-application)

Install
-------

[](#install)

Create a new project with it:

```
$ composer create-project popphp/popphp-tutorial project-folder
```

Or clone the repository and install it:

```
$ composer install
```

Once installed, the web access point is at `public/index.php` and the main CLI access point is at `script/pop`

#### Permissions

[](#permissions)

You must change the permissions of the `database` folder and `script/pop` file to writable in order for the application to fully work.

[Top](#pop-php-tutorial-application)

Basic Usage
-----------

[](#basic-usage)

### Web

[](#web)

Start the web server by running:

```
$ ./kettle serve
```

And then access the web application at these address:

```
http://localhost:8000/

```

You should see the main home page with comment form at the bottom. You can submit a comment and see it added to the list of comments on the page.

### Console

[](#console)

Setting the `script/pop` script to be executable, you can test the CLI application like this:

```
$ ./script/pop help
$ ./script/pop show
$ ./script/pop delete
```

The first command shows the help screen; the second command shows any comments that have been posted; the third command allows you to select a post to delete.

[Top](#pop-php-tutorial-application)

Notes
-----

[](#notes)

- The tutorial application uses the `pop-db` component to store the comments in a small SQLite database.
- The tutorial application uses the `pop-form` component to create, render and validate the comment form.
- The web application has a view folder, `app/view`, that holds the view scripts for web page display.
- The web application is utilizing the `pop-http` component to leverage the HTTP request and response objects within the controller object.
- The CLI application is utilizing the `pop-console` component to leverage it for parsing the CLI requests and returning the appropriate responses to the CLI.

[Top](#pop-php-tutorial-application)

###  Health Score

50

—

FairBetter than 96% of packages

Maintenance67

Regular maintenance activity

Popularity18

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity88

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~196 days

Recently: every ~181 days

Total

19

Last Release

195d ago

Major Versions

1.1 → 2.0.02016-07-10

2.0.0 → 3.0.02017-02-27

v2.x-dev → 3.0.22018-01-29

3.2.2 → 4.0.02023-11-09

PHP version history (8 changes)1.0PHP &gt;=5.4.0

3.0.0PHP &gt;=5.6.0

3.1.0PHP &gt;=7.1.0

3.2.1PHP &gt;=7.3.0

3.2.2PHP &gt;=7.4.0

4.0.0PHP &gt;=8.1.0

4.0.2PHP &gt;=8.2.0

4.0.4PHP &gt;=8.3.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/c19dee900e9e20039c723cc403f76b5c22ac2dddb3f86773ae64fb082d4949e2?d=identicon)[nicksagona](/maintainers/nicksagona)

---

Top Contributors

[![nicksagona](https://avatars.githubusercontent.com/u/898670?v=4)](https://github.com/nicksagona "nicksagona (60 commits)")

---

Tags

frameworkapplicationtutorialphp frameworkpoppop php

### Embed Badge

![Health badge](/badges/popphp-popphp-tutorial/health.svg)

```
[![Health](https://phpackages.com/badges/popphp-popphp-tutorial/health.svg)](https://phpackages.com/packages/popphp-popphp-tutorial)
```

###  Alternatives

[popphp/popphp-framework

The Pop PHP Framework - Full Installation

686.5k1](/packages/popphp-popphp-framework)[popphp/popphp

Pop PHP Framework, a lightweight, robust PHP framework

5713.5k9](/packages/popphp-popphp)[fuel/fuel

FuelPHP is a simple, flexible, community driven PHP 5.4+ framework, based on the best ideas of other frameworks, with a fresh start!

1.5k42.3k](/packages/fuel-fuel)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
