https://github.com/nullaidev/vista
Lightning fast and light weight PHP view package.
https://github.com/nullaidev/vista
php
Last synced: 11 months ago
JSON representation
Lightning fast and light weight PHP view package.
- Host: GitHub
- URL: https://github.com/nullaidev/vista
- Owner: nullaidev
- Created: 2024-06-04T01:25:35.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-11-21T17:58:12.000Z (over 1 year ago)
- Last Synced: 2025-07-08T20:51:49.305Z (12 months ago)
- Topics: php
- Language: PHP
- Homepage: https://docs.nullai.com/vista/overview
- Size: 50.8 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
# Vista
A brand new, blazing-fast, and ultra-lightweight PHP view engine designed for modern PHP 8.4+ applications.
[Read Full Documentation](https://docs.nullai.com/vista/overview)
## Overview
Vista is a minimalist PHP view engine that focuses on performance and simplicity. It provides powerful tools to manage layouts, partials/includes, and dynamic content rendering, making it an ideal choice for modern PHP projects. Unlike traditional template engines like Blade or Twig, Vista does not rely on compiling or caching template files. This makes it an ideal choice for developers who prioritize performance and need a straightforward solution for managing views.
## Key Features
Vista is only five files and very capable:
- **No Compilation Required**: Renders views directly which makes debugging simple.
- **Lightning Fast**: Optimized for speed, with minimal overhead.
- **Extremely Lightweight**: Small footprint, easy to integrate with any PHP application.
- **Modern Syntax**: Intuitive, clean, and developer-friendly APIs.
- **Layout Management**: Easily create reusable layouts and templates.
- **Partial Rendering**: Modularize your views with include and section methods.
- **Scoped Data Passing**: Pass variables to views with isolated scopes for security and clarity.
- **Extensible**: Works seamlessly with other PHP frameworks or custom solutions.
## Installation
To get started with Vista, you need to have PHP 8.4 installed on your system. You can install Vista via Composer. Run the following command in your terminal:
```
composer require nullaidev/vista
```
https://packagist.org/packages/nullaidev/vista
[Read Full Documentation](https://docs.nullai.com/vista/overview)
## Security Vulnerabilities
If you discover a security vulnerability within Vista, please submit an issue on GitHub. All security vulnerabilities will be promptly addressed.
## License
The Vista PHP view rendering utility is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).