Download the PHP package omniphp/framework without Composer

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

OmniPHP

The universal PHP framework. A lightweight, long-running application core built on Workerman: the process model of a daemon, the ergonomics of a classic web framework.

Status: extracted from a production Workerman application and published as a standalone package. The API is stable in practice but not yet frozen — expect 0.x releases.

What's inside

Namespace Purpose
OmniPHP\Application / CrashHandler One-call bootstrap (paths, .env, timezone, log level, i18n) and a three-tier fatal/uncaught handler for long-running processes
OmniPHP\Http Kernel (Workerman onMessage entry), Router (static, grouped, typed params), Context (request/response helper), onion Middleware pipeline, Session, ExceptionHandler, ApiCode error-code envelope, built-in CORS / rate-limit / JSON-response middlewares
OmniPHP\Database PDO DB facade, fluent QueryBuilder, Schema blueprint + MigrationRunner, SoftDeletes, per-worker connection bootstrap
OmniPHP\Model Thin active-record style base class on top of QueryBuilder
OmniPHP\Queue Redis Stream job queue: Producer / Consumer / RedisQueue with priorities, delayed jobs, retries, dead-letter queue
OmniPHP\View Compiled template engine with plugins, attribute parser and output caching
OmniPHP\Cache Redis and FileCache drivers behind one Cache facade
OmniPHP\Config / Lang PHP-array config loader; .ini based i18n with locale fallback
OmniPHP\Logger Level-based logger with pluggable engines (FileEngine, ElasticsearchEngine, TelegramEngine) and LogRotator
OmniPHP\Requests Minimal cURL HTTP client, requests-style

A ready-made project layout lives in omniphp/omniphp (composer create-project omniphp/omniphp myapp).

Everything runs inside Workerman worker processes: code is loaded once, connections are opened once per worker, and nothing assumes PHP-FPM's request-scoped lifecycle.

Requirements

Install

Minimal server

Conventions the framework expects from the application

Development

CI runs composer validate, php -l and PHPUnit on PHP 8.4 for every push and tag.

License

MIT — see docs/database.md.


All versions of framework with dependencies

PHP Build Version
Package Version
Requires php Version >=8.4
ext-curl Version *
ext-json Version *
ext-mbstring Version *
ext-pdo Version *
workerman/workerman Version ^5.1
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 omniphp/framework contains the following files

Loading the files please wait ...