nikocraft

nikocraft

Member Since 3 Years Ago

Malmö

Experience Points
31,710
Total
Experience

3,290 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
136
Lessons
Completed
Best Reply Awards
5
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.

Level 7
31,710 XP
Dec
28
5 months ago
Activity icon

Replied to Route Named Same As Existing Folder

@fylzero it seems you are right, how about content that exists inside the folder /something, will it still be reachable by the browser when a route takes precedence?

For example something/css/styles.css

if there is route that takes over. Will the assets still be reachable?

Dec
27
5 months ago
Activity icon

Started a new Conversation Route Named Same As Existing Folder

Can I have a route that is named as existing folder inside public/something.

I created also a route /something

upon entering: www.website.com/something

Nginx server returns a message saying that the folder is not accessible.

Has anyone got a trick on how to make it possible but without having to change folder name?

Dec
25
5 months ago
Activity icon

Replied to Sending Email With Sendmail Type, Has Anyone Used It Succesfully?

It seems it's complicated to use pure sendmail driver due to reasons even if email is fired, its probably gonna end-up in spam folder in gmail accounts. To configure everything correctly so it does not do this is a mayor work on its own. So much for sticking to sendmail. Not simple type at all.

It's better to stick with the mailgun. If anyone disagrees ping me.

Activity icon

Started a new Conversation Sending Email With Sendmail Type, Has Anyone Used It Succesfully?

These are my settings for mail:

MAIL_DRIVER=sendmail
MAIL_SENDMAIL="/usr/sbin/sendmail -bs"
[email protected]
MAIL_FROM_NAME="${APP_NAME}"

However when I an email like this:

public function toMail($notifiable)
{
    $url = URL::temporarySignedRoute('backend.user.activate', now()->addHours(72), ['user' => $this->user->id]);

    return (new MailMessage)
                ->subject('Activate your user account')
                ->line('Hi ' . $this->user->username . '!')
                ->line('An account associated with this email has been created. To activate the account click the button below.')
                ->action('Activate Account', $url)
                ->line('If you did not create this account, you can ignore this email.')
                ->line('Thank you.');
}

There are no errors, however, email never arrives. I've tested this now couple of times and while no errors are reported emails are not sent.

This is first time for me using sendmail type. I wanted to test it for its simplicity, sendmail is present in the system. So why are emails not being sent?

Has anyone ever settled with using sendmail, and what issues have you had before you got it to work?

Dec
24
5 months ago
Activity icon

Replied to Env Helper Returns Null Even If Providing Default Value

yes. thanks, I somehow missed to click the link, was in a working mode. Thanks guys! :)

Dec
23
5 months ago
Activity icon

Replied to Env Helper Returns Null Even If Providing Default Value

how about this

 ATLAS_RELEASES=
 ATLAS_DOWNLOAD=

I still get empty env variables above instead of a default value by env(). Btw in my code config values are properly namespaced. I removed that namespace by mistake while posting here.

Activity icon

Started a new Conversation Env Helper Returns Null Even If Providing Default Value

Inside my .env I got these two

ATLAS_RELEASES=null
ATLAS_DOWNLOAD=null

inside my own config file I have this

    'releases_url' => env('ATLAS_RELEASES', $baseUrl . 'atlas/raw/master/releases.json'),
    'download_url' => env('ATLAS_DOWNLOAD', $baseUrl . 'atlas/releases/download'),

once some code runs, that uses

    $relasesUrl = config('releases_url');
    $downloadUrl = config('download_url');

null is returned instead of the second option, which I've specified in the config file. Since I'm not using .env outside of config files, I wonder why do I get this behavior?

The above only works if I remove these two completely from the env file

ATLAS_RELEASES
ATLAS_DOWNLOAD

Any ideas why this strange behavior of env?