Skip to content

nullaidev/vista

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vista

A brand new, blazing-fast, and ultra-lightweight PHP view engine designed for modern PHP 8.4+ applications.

Read Full Documentation

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

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.

About

Lightning fast and light weight PHP view package.

Topics

Resources

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Languages