PageManager is an opensource html & php framework that helps you to develop your web projects.

See features

Discover PageManager features

Check out what you can do with PageManager framework!


Fast & Easy

Add content directly in to your projet folder and it's ready!

Split UI & Application Logic

Separate UI form application logic in two files

Page Parameters

Easily set page name & ressources

Use Blocks

Set up blocks : navbar, header, footer...

Set Up Config

Easily set local & global configs : base url or Sql access

Customised Logger

Separate PHP logs form your logs.

Free to Use

PageManager is free to download and use for any project!

Open Source

Since this framework is MIT licensed, you can use it for commercial purpose!

Download

Let's Get Started!

Get the latest version

Getting Started

Install & use PageManager easily


First, download the latest version of PageManager, unzip the compressed file and place the content in your project folder, you will get something like that:

PageManager/
├── assets/
│   ├── css/
│   ├── fonts/
│   ├── img/
│   ├── js/
│   └── plugins/
│       ├──  jquery/
│       │   ├── jquery.js
│       │   └── jquery.min.js
│       └── ...
├── class/
│   └──  Page.php
├── configs/
│   ├── config.php
│   └──  local.php
├── pages/
│   ├── html/
│   │   ├── home.php
│   │   └──  404.php
│   └──  php/
│       ├── home.php
│       └──  404.php
├── require/
│   ├── communFunc.php
│   ├── footer.php
│   ├── header.php
│   └── html.php
├── tmp/
│   └──  trace.log
├── .htaccess
└── index.php
              

  • assets folder contains all your css, fonts, images, js and plugins files
  • class folder contains all your php class files
  • config folder contains two files:
    • config.php file contains your server default value : SQL access, base url...
    • local.php file contains your local value to modify default SQL access, base url, etc. This file may be added to .gitignore
  • pages folder contains two folders:
    • All pages should have the same name in html and php folder
    • html folder contains ui files
    • php folder contains application logic files
  • require folder contains four files:
    • communFunc.php file contains common php functions : logger()
    • footer.php file contains footer
    • header.php file contains header(navbar)
    • html.php file contains html template used on all page
  • tmp folder contains one file:
    • trace.log file contains logs generated by logger() function
  • .htaccess file contains rewrite url rules and others
  • index.php file contains the brain of PageManager

Go to the documentation