lukaszknasiecki / uho-mvc
PHP model-view-controller framework
Installs: 1 992
Dependents: 1
Suggesters: 0
Security: 0
Stars: 1
Watchers: 0
Forks: 1
Open Issues: 0
pkg:composer/lukaszknasiecki/uho-mvc
Requires
- php: >=8.1
- aws/aws-sdk-php-resources: ^0.3.0
- facebook/graph-sdk: ^5.1
- google/analytics-data: ^0.10.1
- google/apiclient: ^2.12.1
- james-heinrich/phpthumb: ^1.7.23
- league/oauth2-google: ^4.0.1
- phpmailer/phpmailer: ^6.7.1
- twig/twig: ^3.3
Requires (Dev)
- phpunit/phpunit: ^10.5
- dev-main
- 0.0.9.17
- 0.0.9.16
- 0.0.9.15
- 0.0.9.14
- 0.0.9.13
- 0.0.9.12
- 0.0.9.11
- 0.0.9.10
- 0.0.9.9
- 0.0.9.8
- 0.0.9.7
- 0.0.9.6
- 0.0.9.5
- 0.0.9.4
- 0.0.9.3
- 0.0.9.2
- 0.0.9.1
- 0.0.9
- 0.0.8.10
- 0.0.8.9
- 0.0.8.8
- 0.0.8.7
- 0.0.8.6
- 0.0.8.5
- 0.0.8.4
- 0.0.8.3
- 0.0.8.2
- 0.0.8.1
- 0.0.8
- 0.0.7.2
- 0.0.7.1
- 0.0.7
- 0.0.6.4
- 0.0.6.3
- 0.0.6.2
- 0.0.6.1
- 0.0.6
- 0.0.5.1
- 0.0.5
- 0.0.4.2
- 0.0.4.1
- 0.0.4
- 0.0.3.1
- 0.0.3.1-dev
- 0.0.3
- 0.0.2.1
- 0.0.2
- 0.0.1
- dev-float-creator-fix
This package is auto-updated.
Last update: 2026-02-23 14:19:25 UTC
README
Simple PHP model-view-controller framwework using own ORM and Twig as templating system.
Setting up
To setup run:
composer install
System requirements
This project is using PHP8.2+ and mySQL
Schema Validation
You can validate your schemas with schema-validate script. By default script with validate all schemas
from application/models/json folder. You also define list of models to validate in /application_config/schemas.json and use application_config/schemas.json folder as first parameter of the command, and optional folder to look
for schemas as a second parameter.
Examples:
chmod +x vendor/lukaszknasiecki/uho-mvc/bin/schema-validate
vendor/lukaszknasiecki/uho-mvc/bin/schema-validate
or
vendor/lukaszknasiecki/uho-mvc/bin/schema-validate application_config
vendor/lukaszknasiecki/uho-mvc/bin/schema-validate cms/application/models/_schemas.json cms/application/models/json
CMS Schema Clear
If you want to clear schemas from UHO-CMS related objects, you can use schema-app-clear script:
./vendor/lukaszknasiecki/uho-mvc/bin/schema-app-clear application/models/json/
Warning - don't use it for CMS schemas as they will be stripped of CMS-dedicated objects.
Model Building
Now, you can build/update your initial SQL tables for models with defined schemas. First parameter should be filename of your .env file. By default script with validate all schemas from application/models/json folder. You also define list of models to validate in /application_config/schemas.json by using application_config folder as the second parameter of the command, and an optional folder to look for schemas as a thirs parameter.
chmod +x vendor/lukaszknasiecki/uho-mvc/bin/schema-build
vendor/lukaszknasiecki/uho-mvc/bin/schema-build application_config/.env
or
vendor/lukaszknasiecki/uho-mvc/bin/schema-build application_config/.env application_config/schemas.json
Tests
You can perform framework unit tests with:
composer require --dev phpunit/phpunit
composer test