Getting validation errors from the Validation Exception

I want to catch and handle validation errors in my own way, but I don't know how to get validation errors array from the ValidationException:...
02

optional parameters in lumen

how to do for optional parameters in lumen 5.4 . please show me some sample...
00

Intercept a Request

I want the best, most simple and cleanest way of intercepting a request in my Lumen app. I have an API, and I want to record all requests, and list...
01

How to soundex in lumen. here i have tried but get error FatalErrorException in CourseRepository.php line 24: Can't use function return value in write context

Here is my code: $coursename = Course::where(SOUNDEX($searchword)= SOUNDEX('Course.sName')) ->take(10) ->select('Course.sName','Course...
00

ReflectionException in Container.php line 681:

Class App\Http\Controllers\App\Http\Controllers\SearchController does not exist here is my routes\web.php $app->get('/', function...
06

Auto Facading on Lumen?

Hello, I just upgraded to Lumen 5.4 but automatic facading not working. This feature is exclusively for Laravel? It's easy to include this f...
00

Lumen : use config constant file from other folder(from parallel laravel folder)

I have laravel and lumen running parallel on a server. and structure is like var/www/application/laravel var/www/application/lumen Now larav...
00

Lumen 5.4 - Auth guard driver [api] is not defined.

Hi there, I have setup a standard Lumen installation and all works fine until I activate Authentication (uncommenting 2 parts in app.php) an...
02

Application sometimes goes 500 error without giving any callback.

I'm using Angular2 + Lumen. And sometimes queries from angular fail with 500 error and no description provided. APP_DEBUG=true in .env...
01

Password Reset Link in Lumen

I'm trying to create a PasswordReset API in Lumen 5.3. I've the same setup from a default Laravel 5.3 app. $app->post('/pa...
00

[LUMEN 5.4] Class 'Memcached' not found

Hello everyone. I'm using Lumen 5.4 (PHP 5.6.30 used, XAMPP on Windows). When I try to run php artisan, I get this error: [Symfony\C...
04

How to install JWT Auth in Lumen

Could someone shed some light on a step by step guide to include JWT Auth in Lumen? I am totally confused about this....
01

Send notifications from Lumen (API) or Laravel (Website) to respect the user's language

Hi, I wonder what's the best choice between sending notifications from Lumen (API) or Laravel (Website) to respect the user's language. I me...
00

Migration comment not working in Postgres SQL

Lumen: 5.4 Postgres: 9.3.10 PHP: 5.6.29 This is my migration code: public function up() { Schema::create('user_permission...
00

Now that Laravel 5.4 no longer support 'kernel.handled' events, what do we do in Lumen?

Some popular libraries such as barryvdh/laravel-cors requires HTTP headers being added after a request have been handled. It does it i...
00

KONG API Gateway and Laravel.

I have some Multitasking Modules each in Lumen sytem. Each of them serves in different Serves. So I'm using KONG as API gateway. When i try to con...
00

Installing JWT Auth on Lumen 5.4

I am trying to convert my Laravel application to Lumen since I am making the front end in Angular. I have used TymonDesigns's JWT Auth...
02

How do I unregister the default queue service provider in Lumen

In Laravel if you want to register a custom queue service provider you just comment the default service provider in config\app.php and...
00

Specifying a testing database in an .env.testing file

I am trying to set up (migrate) a testing database with Lumen 5.4.5. I was hoping I could do this by making a separate .env.testing file and specif...
00

pulling in a vendor package?

whats the right way to add a vendor package to lumen? Like in laravel you add it in config/app.php? could someone give me an example?...
03