Questions tagged as 'lumen'

0
answers

Ubuntu 16.04 Lumen PHP and Apache, only works the route / the others do not work [duplicate]

Hello, I used Ubuntu 16.04 and installed apache and Lumen. I created a Lumen test project called financas. The project folder is in the / var / www / html / sub-zero / financas folder When accessing in my localhost / sub-zero / financas...
asked by 13.04.2017 / 04:13
1
answer

Using DB in Middleware Lumen

I'm trying to get an instance of the DB class inside my Middleware and it's giving the following error: Class 'DB' not found public function handle($request, Closure $next) { $results = DB::select("SELECT * FROM usuarios"); var_dum...
asked by 05.04.2017 / 01:49
1
answer

Lumen blocks only one route in CORS, all others run

I have a system that was working, but suddenly it stopped working. "I've been using Lumen with the package barryvdh / laravel-cors, the whole site works except for a public form that gives me this error . The request is made through Angular:...
asked by 30.07.2018 / 13:37