Download the PHP package nighttraveler7/xmlpage without Composer
On this page you can find all versions of the php package nighttraveler7/xmlpage. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package xmlpage
PHP Page Commonization System
Other Languages
- このドキュメントの日本語版は README-ja.md です。
- To read this document in English, please continue reading.
Description
You can summarize your duplicated code on multiple files to one file using this library.
Different parts can be written in XML.
Requirements
- Web server
- PHP 7.3 or later
- SimpleXML Extension
- Composer
Installation
Type the following command on your shell:
Mechanism
- The client requests the first PHP file.
- On the serverside, the PHP program creates instance of the template engine class.
- The program calls load_template method of the instance.
- The template engine loads the template file.
- The template loads the XML file.
- The template engine echos the parsed content to the client.
Usage
-
This is a content of the XML file on xmlpages directory. (Default path: "/xmlpages/
.xml" on your document root) -
This is a content of the first requested PHP file by client.
- This is a content of the common template file. (Default path: "/template.php" on your document root)
All versions of xmlpage with dependencies
PHP Build Version
Package Version
No informations.
The package nighttraveler7/xmlpage contains the following files
Loading the files please wait ....