Download the PHP package merophp/text-view without Composer
On this page you can find all versions of the php package merophp/text-view. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download merophp/text-view
More information about merophp/text-view
Files in merophp/text-view
Download merophp/text-view
More information about merophp/text-view
Files in merophp/text-view
Vendor merophp
Package text-view
Short Description Text view plugin for merophp/view-engine
License MIT
Package text-view
Short Description Text view plugin for merophp/view-engine
License MIT
Please rate this library. Is it a good library?
Informations about the package text-view
Introduction
Simple text view plugin for merophp/view-engine.
Installation
Via composer:
composer require merophp/text-view
Basic Usage
require_once 'vendor/autoload.php';
use Merophp\TextViewPlugin\TextView;
use Merophp\ViewEngine\ViewEngine;
use Merophp\ViewEngine\ViewPlugin\Collection\ViewPluginCollection;
use Merophp\ViewEngine\ViewPlugin\Provider\ViewPluginProvider;
use Merophp\ViewEngine\ViewPlugin\ViewPlugin;
$collection = new ViewPluginCollection();
$collection->add(
new ViewPlugin(TextView::class),
]);
$provider = new ViewPluginProvider($collection);
$viewEngine = new ViewEngine($provider);
$view = $viewEngine->initializeView();
$view->text('Hello world');
echo $viewEngine->renderView($view);
All versions of text-view with dependencies
PHP Build Version
Package Version
The package merophp/text-view contains the following files
Loading the files please wait ....