Download the PHP package vivid-lamp/framework without Composer

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

README

这是一个简易的框架核心。

容器

App 类是框架的核心类,继承了 Illuminate\Container\Container。此类除了实现 Psr\Container\ContainerInterface 容器接口之外,还提供了创建对象和执行方法时自动注入参数的功能。

服务提供者

服务提供者需要继承 ServiceProvider 类,并且要在在框架初始化之前注册。

请求调度

请求调度由 Http 类完成,此类负责调用全局中间件和路由,最终生成响应对象并输出。

中间件

全局中间件由 Http::loadMiddleware() 方法载入。

路由

框架基于 nikic/fast-route 封装了 Router 类,你也可以使用自己喜欢的路由组件。

路由中间件

框架提供的路由提供了路由中间件的功能。

异常

Error 类捕获了所有级别(E_ALL)的异常,并抛出 Exception\ErrorException。Exception\Handler 类报告并输出异常,你也可以继承此类并将自己的实现绑定到这个类上。


All versions of framework with dependencies

PHP Build Version
Package Version
Requires psr/http-message Version ^1.0
php Version ^7.1
psr/http-server-handler Version ^1.0
psr/http-server-middleware Version ^1.0
illuminate/container Version ^8.49
nikic/fast-route Version ^1.3
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 vivid-lamp/framework contains the following files

Loading the files please wait ....