Download the PHP package toohamster/fleaphp-ex without Composer

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

FleaPHP v2.3

License: MIT PHP 7.4+

轻量级 PHP MVC 框架,采用 PSR 标准,支持 Router、Middleware、JWT 认证、Context 上下文和响应门面模式。


特性


快速开始

方式一:通过 Composer 安装

方式二:克隆项目

安装依赖

3. 配置环境变量

4. 初始化数据库

5. 启动开发服务器


目录结构


核心组件

组件 标准 说明
FLEA\Container PSR-11 依赖注入容器
FLEA\Cache PSR-16 缓存门面(FileCache/RedisCache)
FLEA\Log PSR-3 日志服务
FLEA\Database - 数据库连接池
FLEA\Config - 配置管理(单例)
FLEA\Context - 请求上下文(新增)
FLEA\Router - HTTP 路由器(新增)
FLEA\Middleware - 中间件管道(新增)

基础用法

路由定义

中间件

Context 上下文

JWT 认证


配置说明

数据库配置(.env)

Context 配置

JWT 配置


环境要求


文档

文档 说明
SPEC.md 框架规格说明书
USER_GUIDE.md 用户手册
demo/APP_USAGE_GUIDE.md 博客应用使用手册
demo/BLOG_SETUP.md 博客安装指南
CHANGES.md 框架修改记录

许可证

本项目采用 MIT 许可证 开源。

注意:框架代码采用 MIT 许可,但 docs-book/ 目录下的图书项目版权归作者所有,未经许可不得用于商业出版。


作者

FleaPHP 框架团队


All versions of fleaphp-ex with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4
psr/log Version ^1.0
psr/container Version ^2.0
psr/simple-cache Version ^1.0
vlucas/phpdotenv Version ^5.5
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 toohamster/fleaphp-ex contains the following files

Loading the files please wait ...