using Laravel Json emitter