mulugu

Software Engineer at Nairobi, Kenya

Member Since 3 Years Ago

Nairobi

Experience Points
9,390
Total
Experience

610 experience to go until the next level!

In case you were wondering, you earn Laracasts experience when you:

  • Complete a lesson — 100pts
  • Create a forum thread — 50pts
  • Reply to a thread — 10pts
  • Leave a reply that is liked — 50pts
  • Receive a "Best Reply" award — 500pts
Lessons Completed
68
Lessons
Completed
Best Reply Awards
3
Best Reply
Awards
  • start your engines Created with Sketch.

    Start Your Engines

    Earned once you have completed your first Laracasts lesson.

  • first-thousand Created with Sketch.

    First Thousand

    Earned once you have earned your first 1000 experience points.

  • 1-year Created with Sketch.

    One Year Member

    Earned when you have been with Laracasts for 1 year.

  • 2-years Created with Sketch.

    Two Year Member

    Earned when you have been with Laracasts for 2 years.

  • 3-years Created with Sketch.

    Three Year Member

    Earned when you have been with Laracasts for 3 years.

  • 4-years Created with Sketch.

    Four Year Member

    Earned when you have been with Laracasts for 4 years.

  • 5-years Created with Sketch.

    Five Year Member

    Earned when you have been with Laracasts for 5 years.

  • school-in-session Created with Sketch.

    School In Session

    Earned when at least one Laracasts series has been fully completed.

  • welcome-newcomer Created with Sketch.

    Welcome To The Community

    Earned after your first post on the Laracasts forum.

  • full-time-student Created with Sketch.

    Full Time Learner

    Earned once 100 Laracasts lessons have been completed.

  • pay-it-forward Created with Sketch.

    Pay It Forward

    Earned once you receive your first "Best Reply" award on the Laracasts forum.

  • subscriber Created with Sketch.

    Subscriber

    Earned if you are a paying Laracasts subscriber.

  • lifer Created with Sketch.

    Lifer

    Earned if you have a lifetime subscription to Laracasts.

  • evangelist Created with Sketch.

    Laracasts Evangelist

    Earned if you share a link to Laracasts on social media. Please email [email protected] with your username and post URL to be awarded this badge.

  • chatty-cathy Created with Sketch.

    Chatty Cathy

    Earned once you have achieved 500 forum replies.

  • lara-veteran Created with Sketch.

    Laracasts Veteran

    Earned once your experience points passes 100,000.

  • 10k-strong Created with Sketch.

    Ten Thousand Strong

    Earned once your experience points hits 10,000.

  • lara-master Created with Sketch.

    Laracasts Master

    Earned once 1000 Laracasts lessons have been completed.

  • laracasts-tutor Created with Sketch.

    Laracasts Tutor

    Earned once your "Best Reply" award count is 100 or more.

  • laracasts-sensei Created with Sketch.

    Laracasts Sensei

    Earned once your experience points passes 1 million.

  • top-50 Created with Sketch.

    Top 50

    Earned once your experience points ranks in the top 50 of all Laracasts users.

  • Community Pillar

    Earned once your experience points ranks in the top 10 of all Laracasts users.

Level 2
9,390 XP
Mar
22
1 month ago
Activity icon

Started a new Conversation Beanstalkd Worker Stops Receiving Jobs

Hi, I have a beanstalkd worker that I have configured to listen on all hosts. My receivers are able to queue job only once to worker. Worker then only processes that one job and stops receiving other jobs. How can this be fixed?

Mar
07
2 months ago
Activity icon

Awarded Best Reply on Call To Undefined Function Csrf_token() LUMEN

Lumen is stateless. You must tokens to authenticate your requests. Use passport or the token driver

Activity icon

Replied to Laravel Passport Refreshing A Token Manually

That whats am looking far. I have created endpoint for creating token. And i want to provide another endpoint for refreshing it. Remember i generate based on email/password pair

Activity icon

Replied to Get Attribute Inside Model?

This may be stupid but calling $this->type from any method should return it

Activity icon

Replied to Laravel Passport CRUD

Actual tokens are not stored but their hashes. Same way passwords are hashed. Passport receives token from the header and then finds the client id and user id used to generate it. If you migrate passport migrations, check the oauth**tables for hints. Also check passport repositories

Activity icon

Replied to Laravel Http Facade Not Reading Body Params

Hi, use $response->body() instead on the response. You can then decode it

Activity icon

Replied to Can The Laravel Queue System Be Used For Communication Between Two Laravel Applications?

Yes, the payload is just an array lets say protected $data. Its a good hack. Lets you have 2 servers on the same network (VPC). One is a receiver and another worker. Then the same laravel job on both same only that the handle method implementation is missing on receiver but exists on worker. So on receiver you point your queue host to worker and dispatch there. Amazing thing, I couldnt believe it

Activity icon

Replied to Can The Laravel Queue System Be Used For Communication Between Two Laravel Applications?

True. But exploiting queues on servers in same VPC is fast and powerful

Activity icon

Replied to Call To Undefined Function Csrf_token() LUMEN

Lumen is stateless. You must tokens to authenticate your requests. Use passport or the token driver

Mar
05
2 months ago
Activity icon

Replied to Can The Laravel Queue System Be Used For Communication Between Two Laravel Applications?

I have done such an integration. You dispatch a job on to a queue on another server

Activity icon

Replied to Laravel Passport Refreshing A Token Manually

I'm issuing tokens manually from email/password pair.

Activity icon

Started a new Conversation Laravel Passport Refreshing A Token Manually

Has anyone refreshed a laravel passport token manually? I have tried with RefreshTokenRepository::create() and the attributes array passed to this method are not specific. I would appreciate your help.

Feb
08
3 months ago
Activity icon

Replied to How To Solve Laravel JSON Response Formatting Problem

Hi, use php stripcslashes($yourURL) function that strips out those escape characters.

example

$url = "http:\/\/localhost:8003\/\/book?key=4fCNcwyuWJgn8LQN.";
// http:\/\/localhost:8003\/\/book?key=4fCNcwyuWJgn8LQN

$stripped_url = stripcslashes($url);
// http://localhost:8003//book?key=4fCNcwyuWJgn8LQN.