Download the PHP package luoxiaojun/sw-fw-less without Composer

On this page you can find all versions of the php package luoxiaojun/sw-fw-less. 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 sw-fw-less

sw-fw-less

Description

Swoole http server without framework

Features

  1. Faster Router
  2. Router & Global Middleware
  3. Model(MySQL & Eleasticsearch、Json Serializable、Array Accessable)
  4. Query Builder(MySQL & Elasticsearch)
  5. Connection Pool(MySQL、Redis、Experimental AMQP-0-9-1、Experimental HBase)
  6. Storage(File、Qiniu、Alioss)
  7. Full Coroutine
  8. Log(Based on Monolog)
  9. Distributed Lock(Based on Redis)
  10. Parameter Validator
  11. Monitor
  12. AMQP-0-9-1
  13. Zipkin Trace
  14. Dynamic Fault Injection
  15. Hot Reload(including biz code、config、router, recommended for dev only)
  16. Experimental Grpc(must open http2)
  17. Apollo Config Center

Notice

  • Don't include io operation in controller or middleware constructor
  • Don't open preemptive scheduler

Composer Package Review Suggestion

  • Namespace conflicts
  • Duplication of functions without namespace

Requirements

  • Composer 1.x
  • PHP 7.1+
  • Swoole 4.2.10+

Installation

Deployment

Nginx

Nginx Config Demo(Modify according to your requirements)

Docker

Usage

Start Server

Demo Api

Grpc Generator

Performance

Environment:

  • OS: MacOS 10.14.1
  • CPU: 2.3 GHz Intel Core i5 4 Cores
  • Memory: 16 GB 2133 MHz LPDDR3
  • Swoole: 4.2.9
  • PHP: 7.2.8
  • Redis: 4.0.11
  • API: http://127.0.0.1:9501/redis?key=key
  • Concurrent: 300
  • Tool: JMeter 4.0 r1823414

Result:

Document

Please see document.

Roadmap

  • Add helper functions namespace

All versions of sw-fw-less with dependencies

PHP Build Version
Package Version
Requires php Version >=7.1
ext-json Version *
ext-swoole Version >=4.4.0
aura/sqlquery Version ^2
bt51/ntp Version ~0.1.0
cakephp/event Version ~3.7.1|~4
cakephp/validation Version ~3|~4
dragonmantank/cron-expression Version ^2.3
filp/whoops Version ~2.1@stable
league/flysystem Version ~1
luoxiaojun/closure-php Version dev-main
luoxiaojun/grpc Version dev-master
luoxiaojun1992/monolog-co-stream-handler Version ~1.0
monolog/monolog Version ^1
nesbot/carbon Version ^1.26.3|^2.0
nikic/fast-route Version ^1
opis/closure Version ^3.3
php-di/php-di Version ~6.0
psy/psysh Version ~0.10.4
ramsey/uuid Version ~3
swlib/saber Version ^1
symfony/console Version ~3.3.0|~5.3.0
symfony/polyfill-php80 Version ~1.23.1
vlucas/phpdotenv Version ~2.2
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 luoxiaojun/sw-fw-less contains the following files

Loading the files please wait ....