Download the PHP package footup/framework without Composer

On this page you can find all versions of the php package footup/framework. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package framework

Footup MVC PHP Framework

FOOTUP MVC FRAMEWORK - 1.0.0-beta

follow on Twitter

A Rich Featured LightWeight PHP MVC Framework :

Project structure

Requirements

Quick start

Then open:

Environment configuration

The app reads configuration from .env files and loads them through the framework config layer.

Example:

You can also set MySQL/PostgreSQL values if needed. The config/database.php file already includes the common connection variables.

App bootstrap

Application startup is centralized in app/bootstrap.php.

This is where you:

Example:

Routing

Routes are defined with the framework router and can take path parameters.

You can also define grouped routes and attach middleware at the route or app level.

Controllers and views

Controllers live under app/controllers/ and can return JSON, redirect responses, or render views.

Typical flow:

Views live in views/ and are plain PHP templates.

Database

SQLite is enabled by default and requires no setup beyond creating the database file.

Run migrations:

Then query the app via the API, for example:

Query builder

Models

Migrations

Migrations live in database/migrations/ as SQL files. Files are applied in order by filename and tracked in a migrations table.

This project intentionally keeps migrations simple: plain SQL, no rollback support, and no complex migration DSL.

Logging

The app includes a lightweight logger.

Logs are written to storage/logs/app.log.

Exceptions and error handling

Unhandled exceptions are caught by the framework and can be customized from app/bootstrap.php.

A commented example exists for a custom HTML exception handler.

Timing and benchmarking

The framework includes request timing instrumentation.

You will see headers such as:

You can also benchmark routes from the CLI:

This runs the route in-process and reports timings without the overhead of a real network round trip.

CLI commands

Notes

This project is intentionally compact and framework-like rather than full-stack framework heavy. It is meant to be a readable base for small apps, prototypes, and internal tools.


All versions of framework with dependencies

PHP Build Version
Package Version
Requires php Version ^7.4||^8.0
ext-pdo Version *
ext-intl Version *
ext-json Version *
ext-mbstring Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package footup/framework contains the following files

Loading the files please wait ...