msaied

Full Stack web developer at Freelancer

Member Since 1 Year Ago

Cairo , Egypt

Experience Points
10,370
Total
Experience

4,630 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
96
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 3
10,370 XP
Jun
30
1 week ago
Activity icon

Replied to Is There Better Way To Write This Code !

@michaloravec Hello this is just an example in many time I'd like to make code short as possible in this example above I only change 1 variable what is the status , can you write an example of model one

it will be like

    public function total_under_review($status,$user_id)
    {
        return $this->where('referral_by_user_id', $user_id)
            ->where('status',$status)
            ->sum('commission_amount');
    }
Activity icon

Started a new Conversation Is There Better Way To Write This Code !

Hello i have this code below , is there better way to write it ! it's too long and am repeat query only change is in status number

$data['total_under_review'] = referral::where('referral_by_user_id',auth()->user()->id)->where('status',0)->get()->sum('commission_amount');

$data['total_approve'] = referral::where('referral_by_user_id',auth()->user()->id)->where('status',1)->get()->sum('commission_amount');
Jun
29
1 week ago
Activity icon

Awarded Best Reply on Laravel + 2checkout

@bobbybouwmann they replace sandbox url to live url but to make test transaction I should pass demo parameter

Jun
27
1 week ago
Activity icon

Replied to Laravel + 2checkout

@bobbybouwmann they replace sandbox url to live url but to make test transaction I should pass demo parameter

Activity icon

Replied to Migrate Users Data From Old System To Laravel

Oh I did it <3 Thanks a lot dude it's messy code but its work btw ^_^ I will try to make it more cleaner

Activity icon

Replied to Migrate Users Data From Old System To Laravel

I did already import login method , so i can do the normal verification!

Activity icon

Replied to Migrate Users Data From Old System To Laravel

Yes maybe too, but my question how to do this! I had searched how to edit auth controller with my custom login rule but I can't reach any tutorial for that

Activity icon

Replied to Laravel + 2checkout

Thanks a lot, I already try it and it's work to me, but 2checkout made to the system for sandbox just 2 months ago so I face some problem, but it's work fine in live mode Thanks <3

Activity icon

Started a new Conversation Migrate Users Data From Old System To Laravel

Hello I built my website since 2016 and I have a lot of customer and invoice data so I decided to move to laravel, I Successfully move all accounts data to laravel but the problem is I was using old way to encrypt passwords and as you know there's no way to decode passwords to make it with laravel hash, so I got an idea to add old_password Column and make password null, so when user login check if their user already with this username or email and if exist check if normal column password is null compare with old_password and if it's equal redirect him to remake new password and this time with laravel normal password with hash and remove old_password

I hope I had clarified my point

Jun
26
2 weeks ago
Activity icon

Started a new Conversation Laravel + 2checkout

Is there anyone here who already integrate 2Checkout with Laravel?

Jun
19
3 weeks ago
Activity icon

Replied to Where Are You All From?

Cairo , Egypt

Activity icon

Replied to How To Count Tickets That Not Attach To Any Category

your amazing <3 thank you

Activity icon

Replied to How To Count Tickets That Not Attach To Any Category

I test this and work for me Thanks :)

Activity icon

Started a new Conversation How To Count Tickets That Not Attach To Any Category

Hello, I have Ticket And Category Model ( many to many relationship with category_ticket Table),

  • I need to get a count of tickets that not category which does not have a relationship in category_ticket table
Jun
18
3 weeks ago
Activity icon

Replied to I Need Help To Understand Nested Relationship

Your Amazing <3 Thanks

Activity icon

Started a new Conversation I Need Help To Understand Nested Relationship

I have Many to Many relationship

  • tickets
  • comments when I fetch query I use $ticket->load('comments');

and foreach data , in this comments data I have user_id how can I get the user data

May
20
1 month ago
Activity icon

Started a new Conversation Am A Member Right Now <3

Thanks, Jeff for this content it's really helped me so I pay for the subscription because you deserve more and Hope everyone does the same