popphp / popphp-skeleton
Skeleton Application for Pop PHP Framework
Installs: 105
Dependents: 0
Suggesters: 0
Security: 0
Stars: 5
Watchers: 3
Forks: 1
Open Issues: 0
Language:HTML
Requires
- php: >=8.1.0
- popphp/pop-http: ^5.0.8
- popphp/pop-kettle: ^2.3.2
- popphp/pop-view: ^4.0.0
- popphp/popphp: ^4.2.8
README
Overview
This is a basic skeleton application for the Pop PHP Framework that provides a simple base application on which you can build your own applications.
Install
Create a new project with it:
$ composer create-project popphp/popphp-skeleton project-folder
Or clone the repository and install it:
$ composer install
Once installed, the main web access point is at public/index.php
.
Basic Usage
Start the web server by running:
$ ./kettle serve
And then you can access the web application at these routes:
http://localhost:8000/
http://localhost:8000/hello
http://localhost:8000/hello/name
You should see the main home page and "hello" page, respectively. You can swap out "name" for your name to see the result on the page.
Notes
- The skeleton application uses the
pop-view
component to create and render the views. - The web application is utilizing the
pop-http
component to leverage the HTTP request and response objects within the controller object.