1. Go to this page and download the library: Download mpphp/view library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
mpphp / view example snippets
<!-- Stored in resources/views/layouts/app.phtml -->
<html>
<head>
<title>App Name - <?= _view__nest('title')
if (isset($_POST['submit'])) {
// Process the form...
// ...and maybe redirect to somewhere else if they succeed.
// Else display the for again
}