Skip to content

Commit 610c428

Browse files
Add README
1 parent 5f940e4 commit 610c428

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

README.MD

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
## Instalación y configuración
2+
3+
```
4+
composer require shinigamicorei7/view
5+
```
6+
7+
Modificamos nuestro archivo de configuración ubicado en `config/view.php`
8+
9+
## Uso
10+
11+
```php
12+
require 'path/to/vendor/autoload.php';
13+
14+
/**
15+
* Usando el Alias de la Clase
16+
*/
17+
echo View::render('index.twig',array('nombre' => 'Shinigamicorei7'));
18+
19+
/**
20+
* Usando una sola función
21+
* echo view('index.twig',array('nombre' => 'Shinigamicorei7'));
22+
*/
23+
```

0 commit comments

Comments
 (0)