vd

vd

Member Since 1 Year Ago

Experience Points
5,840
Total
Experience

4,160 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
57
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.

Level 2
5,840 XP
Oct
11
1 week ago
Activity icon

Replied to Testing Process In Laravel Application Development

Thank you for your opinion

Oct
10
1 week ago
Activity icon

Started a new Conversation Testing Process In Laravel Application Development

I'm following TDD technique in my new project. Thus I have a set of tests which cover my controllers, model classes, services, etc. Most of these tests are HTTP test, so I stored them in the /tests/Feature directory. Additionally I have few unit tests, which cover quite specific methods, which are not (easily) reachable from the HTTP tests.

If I understand correctly, each HTTP test is a functional tests, because it covers a lot of classes included Controller. Should I in that situation separately create unit tests for each method in my project even if it is already covered by HTTP tests? If yes, what benefit can I take from it.

Thank you in advance for explanations.

May
02
1 year ago
Activity icon

Replied to Is PHP 7.1 Required For Laravel 5.5?

@rin4ik Thank you! Now it is clear for me. Indeed, I have few php versions on my machine and php -v shows the latest one, that is why I received a code for PHP 7.1...

It works properly after this changes https://github.com/laravel/framework/issues/22955#issuecomment-361407384

Thank you!

Activity icon

Replied to Is PHP 7.1 Required For Laravel 5.5?

Yes, I am sure, I receive an error with php version 7.0.29, if I change version to the 7.2.4 it works as expected...

I have even tried that with fresh Laravel installation, in vendor class ?string $value code is present

Activity icon

Started a new Conversation Is PHP 7.1 Required For Laravel 5.5?

Hi,

Today I received an error when tried to reset a password using Laravel native controllers...

Parse error: syntax error, unexpected '?', expecting variable (T_VARIABLE)

This error is related to the AttributeMatchingExtension class in vendor/symfony/css-selector/XPath/Extension/AttributeMatchingExtension.php file. In that file I found following syntax:

public function translateExists(XPathExpr $xpath, string $attribute, ?string $value): XPathExpr
    {
        return $xpath->addCondition($attribute);
    }

I am working with Laravel 5.5 and PHP 7.0.29, which is good according to the default composer.json, but feature with nullable type declaration like ?string $value appears only in PHP 7.1.

Is it some way to keep Laravel 5.5 running on PHP 7.0.*?

May
01
1 year ago
Activity icon

Replied to Incorrect Integer Value

I just suppose, you want create a new meeting with some doctor, in that case, your method in Controller should looks like following:

public function createMeeting(Request $request){
    $meeting = new Meeting;
    $meeting->doctor_id = $request->select; // or you can use $request->input('select') or $request->get('select')
    ...
    $meeting->save();

    return 
}

If my suggestion is wrong, please provide us more details...