validating icon indicating copy to clipboard operation
validating copied to clipboard

Support for Lumen without Facades?

Open jonaholsson opened this issue 9 years ago • 2 comments

Any plans to support Lumen with $app->withFacades(); disabled in /bootstrap/app.php and referencing the libraries manually (e.g. Input and Validator)?

jonaholsson avatar Jun 06 '15 17:06 jonaholsson

Yeah, wondering what the best approach to access those services would be then. The facades are currently used in the tests. I suppose one approach would be to use app('Illuminate\Validation\Factory') and app('Illuminate\Http\Request') but not sure how I would update the tests for that.

Happy for any other suggestions or PRs, I'd like to see Lumen support sans-Facades if possible.

dwightwatson avatar Jun 07 '15 02:06 dwightwatson

I'll take a look and see what can be done, but won't have time until end of next week I'm afraid.

jonaholsson avatar Jun 07 '15 16:06 jonaholsson