Download the PHP package loeyae/loeye without Composer
On this page you can find all versions of the php package loeyae/loeye. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package loeye
loeye
php framework
Installation
Quick Start
初始化应用
运行应用
或者直接运行根目录下的App.php
Demo默认监听80端口,如需修改,编辑app/config/app/master.yml
Demo在php安装有Swoole扩展的情况下,会默认使用Swoole\Http\Server作为服务启动,如果没有安装Swoole,会使用React\Http\Server作为服务启动
开发应用前,将app目录加入到自动加载的namespace,比如编辑composer.json,增加psr-4自动加载规则
更新autoload
根据已有数据库快速搭建应用
-
初始化应用
- 修改默认监听端口
- 增加app目录namespace自动加载规则
- 修改conf/database/master.yml中数据配置
- 生成数据表对应实体
生成好的实体自带简单的验证规则,可根据实际情况进行调整
- 生成实体类对应server
-
生成实体类对应的plugin
- 生成实体类对应的module
生成的module默认使用jwt作为权限验证方式, 用于生成token, 默认通过 可访问, 访问其他module时在header中增加 token信息,
- 运行应用
根据已有数据库快速搭建service应用
-
初始化service应用
- 修改默认监听端口
- 增加app目录namespace自动加载规则
- 修改conf/database/master.yml中数据配置
- 生成数据表对应实体
生成好的实体自带简单的验证规则,可根据实际情况进行调整
- 生成实体类对应server
- 生成默认service
service中会生成client的配置文件和client类,可用于其它应用访问该service使用, 使用时复制conf/clien,service/client目录下的文件到相应应用,注意修改conf/client/master.yml 中的service.server_url地址,以及service/client目录下各文件的namespace。 如果需要创建相应的plugin,可使用命令
- 运行应用
License
Licensed under Apache 2 license.
All versions of loeye with dependencies
react/http Version ^v0.8.6
smarty/smarty Version ^3.1
monolog/monolog Version ^1.23
symfony/yaml Version ^4.1
symfony/cache Version ^4.1
symfony/validator Version ^4.1
symfony/config Version ^4.1
symfony/console Version ^4.1
symfony/translation Version ^4.1
symfony/intl Version ^4.1
symfony/finder Version ^4.1
symfony/http-foundation Version ^4.1
php-amqplib/php-amqplib Version ^2.7
doctrine/orm Version ^2.6
gedmo/doctrine-extensions Version ^2.4
workerman/workerman Version ^3.5
workerman/channel Version ^1.0.5
jsonrpc/jsonrpc Version ^1.0
twbs/bootstrap Version ^4.1
guzzlehttp/guzzle Version ^6.3
phpstan/phpdoc-parser Version ^0.4.3
mtdowling/jmespath.php Version ^2.5.0
ext-intl Version *
ext-iconv Version *
ext-json Version *
ext-curl Version *
ext-openssl Version *
ext-xmlreader Version *
ext-xmlwriter Version *
ext-simplexml Version *
ext-libxml Version *
ext-dom Version *
ext-redis Version *
ext-zlib Version *
ext-fileinfo Version *