mastermarco

mastermarco

Member Since 6 Months Ago

Experience Points 360
Experience Level 1

4,640 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 0
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.

09 May
2 months ago

mastermarco left a reply on Api Over Virtual Host And Port?

does anyone had this problem in the past?

30 Apr
2 months ago

mastermarco started a new conversation Create Api Documentation In Laravel?

Does anybody use a plugin to create api documentation like for swagger? Are there some recommendations?

27 Apr
2 months ago

mastermarco started a new conversation Api Over Virtual Host And Port?

I installed laravel passport and access my api over http://127.0.0.1:8000/api, that works. But I also have my valet virutalhost like https://myapp.test, I would wish to access now the api over https://myapp.test/api, is that possible? Will I have also api directly online on my domain?

07 Mar
4 months ago

mastermarco started a new conversation View Composer Alternative?

I use View composer in my application for navigation where I have a lot of logic about user groups, rights, different user setup... the application is now big and I have to many duplicate queries.

The main logic what I use in view composer is also stored in MainController and I can use this logic trough the whole application.

My question is, can I somehow use the logic from main controller and skip so many duplicate queries or if I export this navigation into a view and generate a route to "include" that route into master view to get the right content?

14 Feb
5 months ago

mastermarco left a reply on Laravel 5.7 Cronjob "--force" Doesn't Work?

because it's in laravel docs written :), that's the reason

mastermarco left a reply on Laravel 5.7 Cronjob "--force" Doesn't Work?

Got the same error with... I just removed from cronjob call the "--force" and it works, can I then ignore "--force" or better try to solve this problem?

mastermarco started a new conversation Laravel 5.7 Cronjob "--force" Doesn't Work?

I try to start my command with this call:

$schedule->command(DailyVotesReminder::class, ['--force'])->dailyAt('13:00');

Like in docs: https://laravel.com/docs/5.7/scheduling#scheduling-artisan-commands

I get in the log following error:

The "--force" option does not exist.

I upgraded the laravel version few days ago and the cronjobs were not available in older versions...

Do I have to update something others?

31 Jan
5 months ago

mastermarco left a reply on Ubuntu Server Doesn't Send Emails?

MAIL_FROM_ADDRESS -> my parameter is ok. because the config comes from a older version, the value was wrong and not from my domain, thank you very much

30 Jan
5 months ago

mastermarco left a reply on Ubuntu Server Doesn't Send Emails?

MAIL_DRIVER=smtp
MAIL_ENCRYPTION=null
MAIL_HOST=mail.myhost.org
MAIL_PORT=25
MAIL_USERNAME=fjksadier
MAIL_PASSWORD=*************
[email protected]

I use swift mailer to send messages, locally it works with same data without any problems.

29 Jan
5 months ago

mastermarco left a reply on Ubuntu Server Doesn't Send Emails?

  1. successfull test was for 587 and I changed it...
  2. No, only email
  3. I tried to setup "ssl" and "tls", no changes
  4. Laravel log is empty

mastermarco started a new conversation Ubuntu Server Doesn't Send Emails?

I deployed my app on ubuntu server, but emails can't be sent, I use external smtp connection, from locally it is ok. but from forge server emails are not going out... Is there something to activate?

04 Jan
6 months ago

mastermarco started a new conversation Where On Foreign Table In BelongsToMany Relation?

Every of my users can have more "games", I handle it over belongsToMany relation and the connection is saved in "middle table" 'game_users', model: GameUser.

Now I added field "locked"

User.php

public function games(){
    return $this->belongsToMany(Game::class);
}

how can I add condition with model GameUser in this relation games()? Where GameUser locked = 0?