lucasctd

lucasctd

Member Since 3 Years Ago

Salvador, Bahia

Experience Points 4,140
Experience Level 1

860 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 38
Lessons
Completed
Best Reply Awards 0
Best Reply
Awards
  • start-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-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-token Created with Sketch.

    Subscriber

    Earned if you are a paying Laracasts subscriber.

  • lifer-token Created with Sketch.

    Lifer

    Earned if you have a lifetime subscription to Laracasts.

  • lara-evanghelist 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.

05 Apr
3 months ago

lucasctd left a reply on Lumen - Current Route In View

I know it's too old but, if somebody else is looking for the same thing, they can acchieve it as shown below

//Lumen 5.8
app()->router->getRoutes()[$request->method() . $request->getPathInfo()]
28 Mar
3 months ago

lucasctd left a reply on Optional Parameters Inside Group

@JLRDW - I guess you didn't get my problem. In the link you sent me, the problem reported is about a optional parameter in the middle of the route, which is not supported by FastRoute and it's not the problem I am facing... Lumen's route parameters section states it's totally possible to acchieve what I want. Just look at the "Optional Parameters" and Route Groups sections. Anyway, thx for the effort on trying to help me.

27 Mar
3 months ago

lucasctd left a reply on Optional Parameters Inside Group

@JLRDW - I don't want a workaround, I already have one. I just wanted it to work. Your suggestion would be okay If FastRoute doesn't allow optional parameters, but it does accept optional parameters, so I want make use of it in groups. I have also opened a issue there.

lucasctd left a reply on Optional Parameters Inside Group

@JLRDW - I may try it, but I don't think it will work. I am using Lumen, not Laravel, they use different routers. Have you at least tried it?

lucasctd left a reply on Optional Parameters Inside Group

@FTIERSCH - If you pass the parameter, it works, but if you don't, you'll get 404.

lucasctd started a new conversation Optional Parameters Inside Group

For some reason if you write a route with inside a group only with a optional parameter, Lumen will return 404. For example:


$router->group(['prefix' => 'client'], function () use ($router) {
       $router->get('[/{id}]', ['as' => 'findClient', 'uses' => '[email protected]']);
});

However, if I write:

$router->get('/client[/{id}]', ['as' => 'findClient', 'uses' => '[email protected]']);

It works. It also works:

$router->group(['prefix' => 'client'], function () use ($router) {
       $router->get('blabla[/{id}]', ['as' => 'findClient', 'uses' => '[email protected]']);
});

I think it's a bug. Have any of you guys faced this problem?

04 Feb
5 months ago

lucasctd left a reply on Lumen - Route With Optional Parameters

@PRITI - gdecris' answer worked for me in the three cases you have written.

24 Sep
2 years ago

lucasctd left a reply on Rollup Error In Laravel 5.3

Can you compite it through webpack? It does not work when I am using mix.webpack. Webpack works fine if I run it as a npm script (webpack -p) though. Idk why I can't make this work with Elixir...

11 Jul
3 years ago

lucasctd left a reply on Homestead Fails To MySQL Setup

It worked. Thanks :)

08 Jul
3 years ago

lucasctd left a reply on Laracast Discount Coupon

Thanks. FULLSTACK2016 is still working.