Developer at F9 Web Ltd.

Member Since 6 Years Ago

Experience Points
161,080
Total
Experience

3,920 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
1387
Lessons
Completed
Best Reply Awards
29
Best Reply
Awards
  • start your 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-in-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 Created with Sketch.

    Subscriber

    Earned if you are a paying Laracasts subscriber.

  • lifer Created with Sketch.

    Lifer

    Earned if you have a lifetime subscription to Laracasts.

  • evangelist 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.

  • Community Pillar

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

Level 33
161,080 XP
Apr
21
3 weeks ago
Activity icon

Replied to Laravel In GCP With Forge

As this page ranks highly in Google I'll add some very concise instructions, as GCP (Goole Cloud Platform) does work on Laravel Forge:

  • On the GCP dashboard visit "Compute Instance" and then click "create instance"
  • Select your instance type ensuring the disk size is >= 25 GB and Operating System is Ubuntu >= 20.10
  • When the server has been created login as the root user (I'd recommend copying the gcloud command)
  • leave your terminal open
  • Within Forge visit https://forge.laravel.com/servers and click "custom VDS"
  • Enter the server IP address (copy from the GCP site)
  • Click "create server" and await for a modal to appear
  • Save the root password
  • Copy the provisoon command i.e. the string starting with "wget -O forge.sh ..."
  • Jump back to your terminal (ensuring you're the root user) and paste in the provision command
  • When the script has finished running you can visit the server public IP address and view a nice Forge landing page

That's it to be honest.

Apr
09
1 month ago
Activity icon

Replied to Laravel Sail / Docker Is Slow

Have you tried Laradock?

Mar
29
1 month ago
Activity icon

Started a new Conversation Laravel Envoy & Multiple Servers

I have a simple Envoy file as below (all working and displaying the correct output for each server):

@servers(['.se' => 'ee-se', '.co.uk' => 'ee-couk'])

@story('deploy')
pwd
@endstory

@task('pwd')
cd ~ && pwd;
@endtask

I anyone aware of a way to determine the current server a given task is being run upon?

Using my example, if the script is currently deploying on the .se server I'd like to access .se or ee-se variables?

Thanks

Mar
28
1 month ago
Activity icon

Replied to PhpStorm Envoy Blade Template Highlighting

It is supported as PHPStorm allows you add your own Blade tags, which is fairly common as custom Blade directives can be specified.

In PHPStorm: Settings > Languages & Frameworks > PHP > Blade

Click the Directives tab and click the small plus icon towards the bottom left.

For directives without an argument, such as @setup, simply type setup in the name field. Repear for the associated closing tag, in this case @endsetup.

For directives with a parameter, such as @story, follow the latter instructions but check the has parameter checkbox. Set the prefix field to story(' and the suffix to '). You'll now see syntax highlighting and autocompletion when you save your changes. Be sure the add the endstory tag too.

Jan
29
3 months ago
Activity icon

Replied to Google ReCaptcha + Laravel + GuzzleHttp

In case any is reading this in 2021, now Laravel has it;s own wrapper around Guzzle, this can be acheived as follows:

use Illuminate\Support\Facades\Http;
    
    $response = Http::asForm()
      ->post('https://www.google.com/recaptcha/api/siteverify', [
        'secret' => 'your secret key',
        'response' => 'g-response from your form',
      ])->json();

$response is the array described at https://developers.google.com/recaptcha/docs/verify#api-response

Nov
30
5 months ago
Activity icon

Commented on Make It Reusable

abort_if could be a cleaner option here.