Download the PHP package abelzhou/fisherman without Composer
On this page you can find all versions of the php package abelzhou/fisherman. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download abelzhou/fisherman
More information about abelzhou/fisherman
Files in abelzhou/fisherman
Download abelzhou/fisherman
More information about abelzhou/fisherman
Files in abelzhou/fisherman
Vendor abelzhou
Package fisherman
Short Description A data access service library.
License Apache-2.0
Package fisherman
Short Description A data access service library.
License Apache-2.0
Please rate this library. Is it a good library?
Informations about the package fisherman
Fisherman
一个遵循psr4的业务类库,集成了数据库与缓存层。
主要适用于单纯想使用sql,不想使用orm的朋友。
成天用orm都快用傻了,sql都不会写了。
安装
使用
构造项目目录
构造完项目目录后,会生成如下文件及目录
- Conf:配置文件目录
- 环境文件夹(local|rls|test),取决于"RUNTIME_ENV"环境变量。Default:local
- cache.yml memcache缓存配置(可更换引擎,目前只实现memcache)
- config.yml 项目配置文件
- db.yml 数据库配置
- 环境文件夹(local|rls|test),取决于"RUNTIME_ENV"环境变量。Default:local
- model:底层数据交互目录,原则上一个数据库一个文件夹
- module:业务逻辑目录,原则上一个数据库一个文件夹
- bootstrap.php 引导文件,在某些web或者常驻内存项目中,需要引入该文件让业务类库生效。
- composer.json
修改conf
构造完项目后,需要手工处理两个文件才能生成对应的model和module
1、config.yml
2、db.yml
生成对应的model以及module
详细信息参考
配置说明
cache.yml
config.yml
db.yml
All versions of fisherman with dependencies
PHP Build Version
Package Version
Requires
php Version
>5.3.0
symfony/yaml Version 4.2.0
symfony/console Version ^4.2
twig/twig Version 1.x
phpmyadmin/sql-parser Version ^4.2
icanboogie/inflector Version ^1.4
nadar/php-composer-reader Version ^1.0
symfony/yaml Version 4.2.0
symfony/console Version ^4.2
twig/twig Version 1.x
phpmyadmin/sql-parser Version ^4.2
icanboogie/inflector Version ^1.4
nadar/php-composer-reader Version ^1.0
The package abelzhou/fisherman contains the following files
Loading the files please wait ...