Member Since 4 Years Ago

Experience Points

4,265 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
Best Reply Awards
Best Reply
  • 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.


    Earned if you are a paying Laracasts subscriber.

  • lifer-token Created with Sketch.


    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 1
735 XP
3 years ago
Activity icon

Replied to Multiple Connection Use Orm And SetConnection Way,it Can Not Work!

Hi, I had this problem too. I solved putting this code in the constructor of the Model


namespace App\Models; // or different place where you put your models

class SecondModel extends \Illuminate\Database\Eloquent\Model
public function __construct(Array $attributes = [])

        $this->setConnection('yourOtherConnectionName'); // see config/database.php where you have specified this second connection to a different DB

Then your "Test" class must extend this "SecondModel", so that it inherits this connection.

<?php namespace App\Models;
use Illuminate\Database\Eloquent\Model;

class Test extends SecondModel {

    protected $table = "Your_table";
    protected $fillable = ['col1', 'col2', 'col3'];
    public $timestamps = false;


Now you can use:

Test::find($id); // it uses the non-default connection

The suggetion of use

$this->connection = 'connection_to_use';

in the manual IS NOT CORRECT! It simply does not work! Use my code instead.

4 years ago
Activity icon

Started a new conversation Laravel Uses The Default Queue Even If I Specified A Different Queue/tube

I'm using Laravel 5.0.2. I need to use two different queues in my code. They must use the beanstalkd driver. So I specified those queues in config/queue.php:

    'default' => env('QUEUE_DRIVER', 'sync'),
    'connections' => [

        'sync' => [
            'driver' => 'sync',

        'bean-high'  => [
                'driver' => 'beanstalkd',
                'host'   => '',
                'queue'  => 'bean-high',
                'ttr'    => 60,

        'bean-low'  => [
                'driver' => 'beanstalkd',
                'host'   => '',
                'queue'  => 'bean-low',
                'ttr'    => 60,

In my code, I used:

Queue::pushOn('bean-low', new SendEmail($message )); 

My listener is:

php artisan queue:work --daemon --queue="bean-high","bean-low" --tries=3 --env="production"

My actual environment is "production".

It seems ok, but Laravel uses always the default queue (the "sync" driver) even if I specified a different queue. I tried to change the default driver to a fake one and I've seen that it uses this driver (throwing an exception).

If I specify the "bean-high" or "bean-low" connection as the default driver in the queue.php file, my queues works correctly, but the queue/tube parameter in "Queue::pushOn" is always skipped.

What am I doing wrong?

4 years ago
Activity icon

Replied to Google Map Problem

I had the same problem. The map is hidden because you didn't specify the height of the . I solved adding a "height: 400px" to the map-canvas-0 id. You can add this css style to your file:

into the tag. Every "map-canvas-xy" IDs are targeted by that css rule.

Hope this helps