Download the PHP package vetalforge/jumpix-app without Composer
On this page you can find all versions of the php package vetalforge/jumpix-app. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download vetalforge/jumpix-app
More information about vetalforge/jumpix-app
Files in vetalforge/jumpix-app
Package jumpix-app
Short Description Starter application for the Jumpix PHP framework
License MIT
Informations about the package jumpix-app
Jumpix App
Jumpix App is a starter application for the Jumpix PHP framework. It gives you a ready MVC project structure with routing, controllers, views, database examples, and DI configuration already wired together.
Features
- MVC application structure
- Ready
public/index.phpentry point - Route definitions in
config/routes.php - Dependency injection bindings in
config/dependencies.php - Native Active Record model example
- Doctrine entity example
- Template engine example
- Custom 404 and error pages
Requirements
- PHP 8.1 or higher
- Composer
- MySQL or MariaDB
- Apache with
mod_rewriteenabled
Installation
Create a project from this repository:
Or clone it manually:
Configuration
Main application settings are in config/app.php.
Important values:
Use ORM_DRIVER=native for the built-in model layer, or ORM_DRIVER=doctrine for Doctrine repositories.
Structure
The framework code itself is installed through Composer as vetalforge/jumpix and uses the Jumpix\ namespace. Your application code stays in the App\ namespace.
Routing
Routes are defined in config/routes.php:
Controllers
Controllers live in app/Controllers and can use framework services from the Jumpix\ namespace:
Models
Native models live in app/Models and extend the framework base model:
Example usage:
Database Seeder
The example SQL files are in database/. Run the seeder from the project root:
Views
Views are stored in resources/views and rendered from controllers:
Template Engine
Jumpix also includes a template engine supporting variables, loops, and conditionals.
Example template resources/views/template_engine_example.php:
Dependency Injection
All classes that should be injected are registered inside app/Container/Dependencies.php.
Error Handling
Custom error pages are supported, including a styled 404 Page Not Found.
License
MIT License.