Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/blakepro/template-class-php

A simple class to create HTML PHP from JSON file
https://github.com/blakepro/template-class-php

json mysql php

Last synced: about 5 hours ago
JSON representation

A simple class to create HTML PHP from JSON file

Awesome Lists containing this project

README

        

# Template Class (PHP / HTML)

A simple class to create HTML via PHP and template via JSON file

# Install (via global Composer)
```
composer require blakepro/template --no-cache
```

# Install (via Composer.phar)
```
php composer.phar require blakepro/template
```

# Install Composer and Class (via Python)
```
curl -o installer.py https://raw.githubusercontent.com/BlakePro/Template/master/installer.py -H 'Cache-Control: no-cache' ; python installer.py;
```

# Update (via Composer)
```
php composer.phar update blakepro/template --no-cache
```
Not resolved packages use
```
php composer.phar update blakepro/template --ignore-platform-reqs
```

# Usage PHP file
```
'', 'name' => '', 'user' => '', 'password' => '']);

//UTILITIES
$util = new blakepro\Template\Utilities(['encryption_key' => '']);

```
# Documentation / Wiki

[https://github.com/BlakePro/LibraryTemplatePHP/wiki](https://github.com/BlakePro/LibraryTemplatePHP/wiki)