Download the PHP package ez-php/framework without Composer

On this page you can find all versions of the php package ez-php/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

ez-php/framework

Lightweight PHP framework core — dependency injection, routing, middleware, and database migrations.

CI

Requirements

Installation

What's included

Module Description
Application Runtime kernel, bootstrap lifecycle, service provider loading
Container Dependency injection with autowiring
ServiceProvider Register/boot pattern for modular configuration
Http Immutable Request / Response, RequestFactory
Routing Router with named routes, route groups, and URL parameter support
Middleware Pipeline-based middleware with terminable support
Database Thin PDO wrapper with transactions
Migration File-based migration runner with batch rollback
Config Dot-notation config loader
Console CLI kernel with command registration
Env .env file parser with variable interpolation
Exceptions Exception handler with service provider integration

Quick start

Routing

Basic routes

Route groups

Named routes and URL generation

HTTP method override (_method)

HTML forms only support GET and POST. To send PUT, PATCH, or DELETE from a form, add a hidden _method field to a POST form:

The router reads _method from the parsed request body and overrides the HTTP method before route matching.

Security note: _method is only evaluated for POST requests. Because it is read from the parsed body ($_POST), it is only effective when the form is submitted as application/x-www-form-urlencoded or multipart/form-data. JSON requests and requests with other content types are not affected.

Optional modules

License

MIT — Andreas Uretschnig


All versions of framework with dependencies

PHP Build Version
Package Version
Requires php Version ^8.5
ext-pdo Version *
ez-php/contracts Version ^1.0
ez-php/dotenv Version ^1.0
ez-php/http Version ^1.0
ez-php/console Version ^1.0
ez-php/i18n Version ^1.0
ez-php/validation Version ^1.0
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 ez-php/framework contains the following files

Loading the files please wait ...