CTO at Bleetic

Member Since 3 Years Ago


Experience Points

4,050 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 3
10,950 XP
1 month ago
Activity icon

Started a new Conversation Problem When Provisioning A Custom VPS


I'm trying to provision a Forge server using a custom VPS, using Ubuntu 18.04 LTS. I have a PHP script (using phpseclib) that connects to the server and launch the provision command, so it must be 100% non-interactive.

I have two problems.

[solved] NON-INTERACTIVE and redis

The pecl command which install redis can't be run in non-interactive mode, I had to modify the provision command as follow :

wget -O forge.sh https://forge.laravel.com/servers/337750/vps?forge_token=nOFdTasHQj2P8Dmi0RY3oCpc4Ns7OBWaq2DCRjm5; sed s/"pecl install redis"/"yes '' |pecl install redis"/ forge.sh |bash forge.sh

Script blocks after a while

My provision script stops after a while.

I dumped its output to a log file, here are the last lines :

Setting up libhttp-parser2.7.1:amd64 (2.7.1-2) ...
Setting up libc-ares2:amd64 (1.14.0-1) ...
Setting up nodejs (8.10.0~dfsg-2ubuntu0.4) ...
update-alternatives: using /usr/bin/nodejs to provide /usr/bin/js (js) in auto mode
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Reading package lists...
Building dependency tree...
Reading state information...

It looks like something is broken when it tries to install node/npm.

The relevant part of the provisioning script is this :

usermod -a -G www-data forge
id forge
groups forge

curl --silent --location https://deb.nodesource.com/setup_10.x | bash -

apt-get update

sudo apt-get install -y --force-yes nodejs

npm install -g pm2
npm install -g gulp
npm install -g yarn

On my server, the forge user is correctly added to the www-group, nodejs is installed (v8.10.0), but npm isn't.

I didn't find any error in my syslog.

If someone as a lead on this, it would be greatly appreciated.

1 month ago
Activity icon

Replied to Process.env.MIX_<variable> Not Working

I added require("dotenv").config(); in my webpack.mix.js, and now it's working.

Activity icon

Replied to Process.env.MIX_<variable> Not Working

Same problem here. On a Laravel fresh install, using "npm run dev" to compile, my MIX_PUSHER_APP_KEY is empty.

1 month ago
Activity icon

Replied to Fetch Eamil_verifed Or Not From Users Table In Laravel

Maybe you shoud check if your user is logged in first.

Something like this :

@auth // or @if (auth()->check)
  @if (auth()->user()->hasVerifiedEmail())
    // auth and verified
    // auth but not verified
    // guest (not logged in)
@endauth // or @endif
Activity icon

Started a new Conversation Choose Trial Plan


I'm using Spark with Teams. My app has 3 plans : Free, Pro and Agency. When an user signs up, he is placed in a Trial mode for 30 days, on the Free plan.

Instead, I'd like to offer the Pro (paid) plan to my users during their trial period. After this period, IF they didn't sign up for a paid plan, I'd like them to "fallback" to the free plan.

Do you have any idea how to achieve this ?

The Free plan is added using Spark::freeTeamPlan() The other ones with Spark::teamPlan()

Thank you very much !