ngbin framework
1.0.0
NGBIN Framework est un micro-framework PHP développé pour introduire une nouvelle façon de gérer et de traiter la demande HTTP
Exécutez simplement la commande "Composer Exiger Bakangoa / Ngbin-Framework".
Créez dans votre code une instance de "ngbin framework app". Ajoutez à cette instance certains travailleurs, routes et méthode d'appel s'exécuter pour démarrer votre application.
Un service qui retourne "Hello World" lorsque son itinéraire "Get /" s'appelle
$ app = new App ();
$ app -> get ( " / " , function ( Request $ req ) {
return new Response ( " Hello world " );
});
$ app -> run ();Documentation officielle sur https://bakangoa.github.io/ngbin-framework/