====== Lumen ====== Lumen is a "micro-framework" built on top of [[/informatique/php/laravel|Laravel]]'s components, and is the official micro-framework of Laravel. Lumen is built for speed, and is one of the fastest PHP micro-frameworks available - even significantly faster than similar frameworks such as Silex. http://lumen.laravel.com Voir aussi le framework complet [[/informatique/php/laravel|Laravel]]. ===== Documentation ===== http://lumen.laravel.com > et pour certains points voir la documentation http://laravel.com/docs/5.1 Tutoriels: * [[http://laravel.sl-creation.org/lumen/|Lumen]] Tutorials: * [[http://loige.co/developing-a-web-application-with-lumen-and-mysql/|Developing a web application with Lumen and MySql]] * [[http://www.codetutorial.io/lumen-first-tutorial/|Lumen by Laravel first Tutorial]] with a simple REST API * [[http://www.codetutorial.io/lumen-storage-and-angular-js-tutorial/|Lumen Storage and AngularJS]] 2015-04-24 * [[https://mattstauffer.co/blog/introducing-lumen-from-laravel|Introducing Lumen from Laravel]] by providing a simple caching layer in front of a slow or unreliable external service. * [[http://blog.enge.me/post/building-an-api-for-your-laravel-application-with-lumen|Building an API for your Laravel Application with Lumen ]] * [[http://tuts.codingo.me/laravel-social-and-email-authentication/|Laravel 5 Social and Email Authentication]] ==== Discussions ==== * http://laravel.io/forum * https://laracasts.com/discuss/channels/lumen ==== Tips & Tricks ==== On retrouve l'instance de l'application partout grâce à ''app()''. ====== Packages ====== * [[http://packalyst.com/|Packalyst]] is a directory of Packages for your Laravel projects ===== API ===== ==== laravel-apicontroller & laravel-fractalhelper ==== laravel-fractalhelper : A simple api controller helper utilizing league fractal. You also get all the functionality provided by https://github.com/eventhomes/laravel-apicontroller laravel-apicontroller : A simple api controller helper trait, compatible with Lumen 5+ and Laravel 5+. The goal of this project is to make creating API projects simple. Inspired by Jeffrey Way * http://packalyst.com/packages/package/eventhomes/laravel-fractalhelper * http://packalyst.com/packages/package/eventhomes/laravel-apicontroller ==== limoncello-shot ==== Limoncello Shot is a [[http://jsonapi.org/|JSON API]] quick start application. Technically it is a default Lumen application integrated with * JSON API implementation * JWT, Bearer and Basic Authentication * Cross-Origin Resource Sharing CORS for Laravel/Lumen http://packalyst.com/packages/package/neomerx/limoncello-shot ==== laravel5-json-api ==== JSON API Transformer Package. Implementing the PSR-7 Request Interface. Using this request object will provide you access to all the interactions expected in a JSON API. This library attempts to comply with PSR-1, PSR-2, [[http://www.php-fig.org/psr/psr-4/|PSR-4]] and [[http://www.php-fig.org/psr/psr-7/|PSR-7]]. http://packalyst.com/packages/package/nilportugues/laravel5-json-api ===== Auth ===== ==== sentinel ==== Sentinel is a PHP 5.4+ fully-featured authentication & authorization system. It also provides additional features such as user roles and additional security features. Sentinel is a framework agnostic set of interfaces with default implementations, though you can substitute any implementations you see fit. http://packalyst.com/packages/package/cartalyst/sentinel ===== Developper side ===== ==== lumen-generators ==== I installed Lumen and wanted to use it to create a REST API (since this is the main usage of Lumen). But I didn't find commands which will speed up my workflow. That's why I created this package and included useful commands to build a RESTful API. https://github.com/webNeat/lumen-generators ==== larasupport ==== Laravel Support for Lumen: Adds missing helpers that are not being made to the core of Lumen. Lets you use Laravel Packages in Lumen. There are some helper functions that are available in core of Laravel framework which are being used in Laravel Packages. Now because of these helpers missing in core of the Lumen, You won't be able to use those amazing Laravel Packages. Fournie par exemple ''vendor:publish'' http://packalyst.com/packages/package/irazasyed/larasupport ==== laravel-debugbar ==== This is a package to integrate [[http://phpdebugbar.com/|PHP Debug Bar]]. http://packalyst.com/packages/package/barryvdh/laravel-debugbar ===== Divers ===== ==== language-detector ==== This package provides an easy way to detect and apply the language for your application using browser preferences, subdomains or route prefixes. http://packalyst.com/packages/package/vluzrmos/language-detector ==== laravel-tinymce ==== TinyMCE editor for Laravel and Lumen Framework. Powerful WYSIWYG editor with easy installation and already configured to use quickly and simply. http://packalyst.com/packages/package/ktquez/laravel-tinymce ==== service-email ==== Microservice developed in Lumen for sending emails in real time or by queue. http://packalyst.com/packages/package/rlacerda83/service-email ===== Tips & Tricks ===== ==== Cache ==== Cache with APCu * https://laracasts.com/discuss/channels/lumen/enableuse-cachecachemanager-in-order-to-use-apc-caching