Download the PHP package zephyrus-framework/core without Composer

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

Zephyrus

CI codecov

A cohesive PHP 8.4+ framework core. Attribute-based routing, immutable HTTP objects, typed configuration, and a full security middleware stack — with ~98% test coverage throughout.


Getting Started

The fastest way to start a new project is the official application template:

This gives you a working application structure with controllers, views, config, and a dev server ready to go.

To use the core library directly in an existing project:


Overview

Routing

Define routes with PHP 8 attributes directly on controller methods:

Available verb attributes: #[Get], #[Post], #[Put], #[Patch], #[Delete], #[Head], #[Options].

Route parameters are injected by name with automatic type coercion. A type mismatch (e.g. "abc" for int $id) returns a 404.

Route Prefixing

Use #[Root] to apply a URL prefix to an entire controller. It supports inheritance — child controller prefixes are appended to parent prefixes:

Auto-Discovery

Instead of registering controllers one by one, scan a directory:

Middleware

Implement MiddlewareInterface and register globally or on specific routes:

Register globally on the kernel, or as a named middleware for use in route attributes:

Request

The Request object is immutable and composed of typed sub-objects:

Response

Responses are immutable — withHeader(), withStatus(), and withBody() return new instances.

Validation

Bootstrap

Wire everything together once at startup:


Requirements

Requirement Version
PHP ^8.4
Extensions mbstring, pdo, intl, sodium

Runtime dependencies: symfony/yaml, vlucas/phpdotenv, latte/latte, tracy/tracy, phpmailer/phpmailer.


Development

Run the test suite:

Run with coverage (requires Xdebug):

The project targets ~98% coverage. Every change should come with tests.


Documentation

Full documentation — including guides for sessions, security, validation, database access, localization, file uploads, events, mailer, and more — is available on the docs site (coming soon).


License

MIT — see LICENSE.


All versions of core with dependencies

PHP Build Version
Package Version
Requires php Version ^8.4
ext-mbstring Version *
ext-pdo Version *
ext-intl Version *
ext-sodium Version *
symfony/yaml Version ^7.0
vlucas/phpdotenv Version ^5.6
latte/latte Version ^3.0
tracy/tracy Version ^2.10
phpmailer/phpmailer Version ^6.9
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 zephyrus-framework/core contains the following files

Loading the files please wait ...