3,920 experience to go until the next level!
In case you were wondering, you earn Laracasts experience when you:
Earned once you have completed your first Laracasts lesson.
Earned once you have earned your first 1000 experience points.
Earned when you have been with Laracasts for 1 year.
Earned when you have been with Laracasts for 2 years.
Earned when you have been with Laracasts for 3 years.
Earned when you have been with Laracasts for 4 years.
Earned when you have been with Laracasts for 5 years.
Earned when at least one Laracasts series has been fully completed.
Earned after your first post on the Laracasts forum.
Earned once 100 Laracasts lessons have been completed.
Earned once you receive your first "Best Reply" award on the Laracasts forum.
Earned if you are a paying Laracasts subscriber.
Earned if you have a lifetime subscription to Laracasts.
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.
Earned once you have achieved 500 forum replies.
Earned once your experience points passes 100,000.
Earned once your experience points hits 10,000.
Earned once 1000 Laracasts lessons have been completed.
Earned once your "Best Reply" award count is 100 or more.
Earned once your experience points passes 1 million.
Earned once your experience points ranks in the top 50 of all Laracasts users.
Earned once your experience points ranks in the top 10 of all Laracasts users.
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:
That's it to be honest.
Replied to Laravel Sail / Docker Is Slow
Have you tried Laradock?
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
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.
Settings > Languages & Frameworks > PHP > Blade
Directives tab and click the small plus icon towards the bottom left.
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.
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
Commented on Make It Reusable
abort_if could be a cleaner option here.