jpsistemasbr / plates-view
Sistema Gerenciador de Template Plates com PHP
dev-main
2023-02-10 17:26 UTC
Requires
- php: >=8.0
- league/plates: 3.*
This package is auto-updated.
Last update: 2024-05-10 20:11:11 UTC
README
Pacote de gerenciamento da camada de views com Plates php
Installation
View is available via Composer:
"jpsistemasbr/plates-view": "1.0.*"
or run
composer require jpsistemasbr/plates-view
Documentation
For details on how to use the router, see the sample folder with details in the component directory. To use the router you need to redirect your route routing navigation (index.php) where all traffic must be handled. The example below shows how:
Para mais detalhes sobre como usar o router, veja a pasta de exemplo com detalhes no diretório do componente. O exemplo abaixo mostra como:
View
<?php use Jpsistemasbr\View\View; $view = new View(); $user = new _User(); $list = $user->listUser($data); $view->render("private/usuario_list", [ 'title' => 'Usuarios', 'name' => 'JP SISTEMAS', 'usuarios' => $list["users"], 'tipe_user' => (new _TipoUser())->getTipo() ]);
Support
Security: If you discover any security related issues, please email jpsistemasbr@gmail.com instead of using the issue tracker.
Se você descobrir algum problema relacionado à segurança, envie um e-mail para jpsistemasbr@gmail.com em vez de usar o rastreador de problemas.
Thank you
License
The MIT License (MIT). Please see License File for more information.