lockeyo

lockeyo

Member Since 4 Years Ago

Karlsruhe

Student at PTV Group

Experience Points 985
Experience Level 1

4,015 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 26
Lessons
Completed
Best Reply Awards 0
Best Reply
Awards
  • Start Your Engines Achievement

    Start Your Engines

    Earned once you have completed your first Laracasts lesson.

  • First Thousand Achievement

    First Thousand

    Earned once you have earned your first 1000 experience points.

  • One Year Member Achievement

    One Year Member

    Earned when you have been with Laracasts for 1 year.

  • Two Year Member Achievement

    Two Year Member

    Earned when you have been with Laracasts for 2 years.

  • Three Year Member Achievement

    Three Year Member

    Earned when you have been with Laracasts for 3 years.

  • Four Year Member Achievement

    Four Year Member

    Earned when you have been with Laracasts for 4 years.

  • Five Year Member Achievement

    Five Year Member

    Earned when you have been with Laracasts for 5 years.

  • School In Session Achievement

    School In Session

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

  • Welcome To The Community Achievement

    Welcome To The Community

    Earned after your first post on the Laracasts forum.

  • Full Time Learner Achievement

    Full Time Learner

    Earned once 100 Laracasts lessons have been completed.

  • Pay It Forward Achievement

    Pay It Forward

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

  • Subscriber Achievement

    Subscriber

    Earned if you are a paying Laracasts subscriber.

  • Lifer Achievement

    Lifer

    Earned if you have a lifetime subscription to Laracasts.

  • Laracasts Evangelist Achievement

    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 Achievement

    Chatty Cathy

    Earned once you have achieved 500 forum replies.

  • Laracasts Veteran Achievement

    Laracasts Veteran

    Earned once your experience points passes 100,000.

  • Ten Thousand Strong Achievement

    Ten Thousand Strong

    Earned once your experience points hits 10,000.

  • Laracasts Master Achievement

    Laracasts Master

    Earned once 1000 Laracasts lessons have been completed.

  • Laracasts Tutor Achievement

    Laracasts Tutor

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

  • Laracasts Sensei Achievement

    Laracasts Sensei

    Earned once your experience points passes 1 million.

  • Top 50 Achievement

    Top 50

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

23 Apr
2 years ago

lockeyo left a reply on Homestead Installation Problem

Just type in

vagrant box add laravel/homestead -c

27 Dec
4 years ago

lockeyo started a new conversation Problems With Testing Laravel 5 App & Sessions!

Hello Laravel Community,

i really enjoy learning more about the Laravel Framework, but now i ran into something i can not figure out myself. I want to write a Test for checking if a Page of my WebApp returns the response code 200 (OK). To do this i need to set a cookie (Session-Cookie) with the information of the user. I had wrote some code, but it isn't working. If anybody has an idea it would be awesome to share the info with me.

Code: public function testUsersWithLoginProfilPage(){ $this->session(['userrole' => '1']); $this->session(['username' => 'marcel']); $this->session(['userclass' => 'on13']); $this->session(['vorname' => 'Marcel']); $this->session(['nachname' => 'Example']); $this->session(['email' => 'marcel@example.com']);

    $response = $this->call('GET', 'users');
    $this->assertResponseOk();

}

Greetings form Germany,

Marcel

25 Dec
4 years ago

lockeyo left a reply on Where Are You All From?

Germany :)

06 Dec
4 years ago

lockeyo left a reply on Laravel 5 - Dompdf Doesn't Work - Any Fix There?

Wonderful, it works now using "\PDF::"

Thanks for your help! :)

lockeyo left a reply on Laravel 5 - Dompdf Doesn't Work - Any Fix There?

Okay strangely enough it's working when I don't call an controller action, but trigger it in routes.php directly

get('/pdf', function(){
    $pdf = PDF::loadHTML('<h1>Test</h1>');
    return $pdf->stream();
});

Any suggestions what the reason is?

lockeyo left a reply on Laravel 5 - Dompdf Doesn't Work - Any Fix There?

Doesn't work as well! :/

lockeyo left a reply on Laravel 5 - Dompdf Doesn't Work - Any Fix There?

I easily followed the instructions listed here: https://github.com/barryvdh/laravel-dompdf

Then I created this method in one of my controllers and set a route to it:

public function generate() { $pdf = PDF::loadHTML('

Test

'); return $pdf->stream(); }

But when opening this site in the browser, it's empty!

lockeyo started a new conversation Laravel 5 - Dompdf Doesn't Work - Any Fix There?

Hello Laravel-Community,

i use Laravel 5 for a little project and want to create a pdf out of a webpage. Therefore i used the laravel-dompdf package from github "https://github.com/barryvdh/laravel-dompdf". I tried out many things but none of the codes i could find on the internet have worked. Maybe someone can guide me to a tutorial or help me to integrate this functionality.

Greetings and thanks in advance,

Marcel

03 Dec
4 years ago

lockeyo left a reply on How Do I Create A Custom 404 / Error Page?

@bestmomo @henrique Thank you so much! The code from @bestmomo worked!

02 Dec
4 years ago

lockeyo started a new conversation How Do I Create A Custom 404 / Error Page?

Hello Laravel Community,

i'm new to Laravel and want to ┬┤create a little app with this great framework. Now i have the problem that if some user enters a wrong url => http://www.example.com/abuot (wrong) => http://www.example.com/about (right) i want to present a custom error page. I use Laravel 5, because my app isn't relevant to my business and i want to keep up to the latest technology. How can i create a custom 404 / error page for my web-app? Would be awesome if somebody can help.

Greetings from Germany,

Marcel