You can edit almost every page by Creating an account and confirming your email.

Comet Framework

From EverybodyWiki Bios & Wiki


Comet
Original author(s)Serge Gotsuliak
Stable release
0.7.0 / 15 June 2020 (2020-06-15)
Written inPHP
Engine
    TypeWeb framework
    LicenseMIT License
    Website{{URL|example.com|optional display text}}

    Search Comet Framework on Amazon.

    Comet is a modern PHP framework for building fast REST APIs and microservices.

    Features

    • Blazing fast with 100K HTTP requests per second and ~0.1 ms latency on commodity cloud hardware
    • Really cross-platform, works like a charm on Linux, MacOS and Windows 7/8/10
    • Based on bullet-proof components from Guzzle, SlimPHP and Workerman
    • Extendable with Composer: use ORM and templating engine of your choice
    • PSR compliant with native implementations of all PSR-7 interfaces
    • Has its own HTTP client with a simple interface

    Example

    The following code shows a simple web application that echoes "Hello, Comet!!":

    require_once __DIR__ . '/vendor/autoload.php';
    
    $app = new Comet\Comet();
    
    $app->get('/hello', 
        function ($request, $response) {              
            return $response
                ->with("Hello, Comet!");
    });
    
    $app->run();
    

    See also

    External links


    This article "Comet Framework" is from Wikipedia. The list of its authors can be seen in its historical and/or the page Edithistory:Comet Framework. Articles copied from Draft Namespace on Wikipedia could be seen on the Draft Namespace of Wikipedia and not main one.