Download the PHP package holkerveen/hi-framework without Composer
On this page you can find all versions of the php package holkerveen/hi-framework. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download holkerveen/hi-framework
More information about holkerveen/hi-framework
Files in holkerveen/hi-framework
Package hi-framework
Short Description A lightweight PHP framework with routing, dependency injection, Doctrine ORM, Twig templating, and PSR-7 HTTP support
License GPL-3.0-or-later
Informations about the package hi-framework
HiFramework
This is an education yet completely useful PHP web application framework
Features
- Attribute-Based Routing - Clean, declarative routing using PHP 8 attributes
- Dependency Injection - Automatic constructor injection with PSR-11 container
- Access Control - Secure by default with role-based access control
- Doctrine ORM - Full ORM support with entity management
- Twig Templates - Powerful templating with custom extensions
- PSR Standards - PSR-7 (HTTP), PSR-3 (Logging), PSR-11 (Container)
- Authentication - Built-in user authentication with session management
Requirements
- PHP 8.4 or higher
- with php8.4-intl extension
- with php8.4-sqlite3 extension (should you choose to use the default db setup)
- Composer
- SQLite, MySQL, or PostgreSQL (for Doctrine ORM)
Getting started
This creates a new project, sets up the database, creates your first user, and starts the development server.
You'll be prompted to enter an email and password for the first user.
Visit http://localhost:8000 to access your new application
Database
HiFramework uses Doctrine ORM for database management. By default, it uses SQLite for easy setup, but you can configure it to use MySQL or PostgreSQL.
Creating the Database Schema
Adding Your First User
Since user management requires authentication, you'll need to create your first user via the command line:
You'll be prompted to enter an email and password for the new user.
Other Useful Database Commands
Quick Example
Once installation is finished you can start creating your application. Here are some basic examples to help you get started.
Controller
Template
Credits
Built with:
All versions of hi-framework with dependencies
psr/log Version ^3.0
psr/container Version ^2.0
psr/http-message Version ^2.0
doctrine/orm Version ^3.5
doctrine/dbal Version ^4.3
symfony/cache Version ^7.3
twig/twig Version ^3.22
twig/intl-extra Version ^3.22
ext-intl Version *