MidhunMonachan

MidhunMonachan

Member Since 1 Month Ago

Experience Points
6,730
Total
Experience

3,270 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
63
Lessons
Completed
Best Reply Awards
0
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 2
6,730 XP
Oct
18
1 week ago
Activity icon

Replied to Alpine JS Support For IE11 And Legacy Browsers

Hi, It worked.

You're right! I need this to make seperate css and js files.

I'm loading javascript files using module/nomodule include.

If the legacy javascript loads, it replaces the css with legacy css. It's working now.

I'm doing this so that I can work on the older browsers later and it would be easier if it's seperate.

Thanks :)

Oct
17
1 week ago
Activity icon

Started a new Conversation Alpine JS Support For IE11 And Legacy Browsers

Hi, I see in the alpine js docs that to enable ie11 and legacy browser support, I can use

<script type="module" src="https://cdn.jsdelivr.net/gh/alpinejs/[email protected]/dist/alpine.min.js"></script>
<script nomodule src="https://cdn.jsdelivr.net/gh/alpinejs/[email protected]/dist/alpine-ie11.min.js" defer></script>

I use alpine as a npm package. So I include this in my js :

import 'alpinejs';

The problem is that I can't find any information on how to include the alpine-ie11.js which is in my alpine node module directory along with alpine.js. Is there any possible way to include this alpine-ie11.js using an import statement.

My goal is to host it myself without a cdn. I know I can just copy that file over from the node modules directory, but I don't want to deal with it everytime there is a new update.

Thanks

Oct
13
1 week ago
Activity icon

Commented on How And When To Extract Component Logic

Just wondering. What is the theme and the font you use in your videos. And are the code templates you use comes from a plugin or is it self configured?

Thanks

Oct
09
2 weeks ago
Activity icon

Started a new Conversation Laravel One To One - Delete Old Record On Creating New One

I have an OTP model for User with One to One Relationship.

I generate the new OTP by

(new Otp())->setUser($user)->refreshOtp();

Following is the Otp model class

public $fillable = ['otp'];

    /**
     * Get the user from the OTP
     */
    public function user(){
        return $this->belongsTo('App\Models\User');
    }

    public function setUser(User $user) {
        $this->user()->associate($user);
        return $this;

    }
    public function refreshOtp() {
        $this->otp = substr(md5(microtime()), 0, 6);
        $this->save();
    }

But everytime I run (new Otp())->setUser($user)->refreshOtp(); it creates new record so a user end up having multiple otp records. I realize that I can query for the latest record, but I would like to know if there is a way to delete old records so I don't end up having a daaaaaaaaaatabase instead of a database

Activity icon

Started a new Conversation Verification.resend Page Returns Page Expired

Hi, I did a post request to verification.resend page but returns 419 page expired. Should I pass csrf value to the post too? How can I achieve that in this case

<form action="{{route('verification.resend')}}" method="post">
     <button id="resend" type="submit">{{ __('Resend') }}</button>
</form>
Activity icon

Started a new Conversation SOLVED: Anyone Else Having Difficulties With Discussion Board?

UPDATE: I didn't clear the cache properly. Now it works!

Oct
03
3 weeks ago
Activity icon

Awarded Best Reply on Disabling Stack Trace In Only One Logging Method

I found a way.

I added

'short' => false, 
'context' => false,

to config\logging.php in slack driver configuration.

If you change 'short' to true, it will hide the error level too, returning just the error message.

Leaving this question here for my future reference and for anyone who is looking for the same

Activity icon

Replied to Disabling Stack Trace In Only One Logging Method

I found a way.

I added

'short' => false, 
'context' => false,

to config\logging.php in slack driver configuration.

If you change 'short' to true, it will hide the error level too, returning just the error message.

Leaving this question here for my future reference and for anyone who is looking for the same

Activity icon

Started a new Conversation Disabling Stack Trace In Only One Logging Method

I'm using 'daily' and 'slack' channels for logging. It is quite annoying when the slack messages are filled with stack trace. I looked up everywhere and I found how to disable it completely from logs.

I'm trying to find a way so that the Slack logging is readable without the stack trace and if I want to see what went wrong, I can refer back to my daily logs.

Sep
21
1 month ago
Activity icon

Started a new Conversation Looking To Run Npm Commands From Custom Command

I looked for it everywhere but I can't find a function that can run npm commands from custom command created using make:command.

I'm sure there is one as I have done it before, but I lost the file and can't find the source where I found it from.