hafixihe

hafixihe

Member Since 1 Year Ago

Experience Points
1,340
Total
Experience

3,660 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
0
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 1
1,340 XP
Sep
06
2 weeks ago
Sep
02
2 weeks ago
Activity icon

Replied to Laravel With Trashed Relationship

Thank you. I created a new relationship called trashedPost and used that. It works perfect

Activity icon

Started a new Conversation Laravel Where To Place Cursor?

Where should I place the cursor when working with my array?

Post::query()->cursor()->whereDate('published_at', '>', Carbon::now()->subYear())->each(function ($post) {

});

Post::query()->whereDate('published_at', '>', Carbon::now()->subYear())->cursor()->each(function ($m){

});

Thank you

Activity icon

Started a new Conversation Cookie On Www.example.com And Example.com

Hi!

I have a application which you can access by using www.example.com and example.com. This gives me a cookie problem because my user needs to log on both domains and have two sessions. I think this because of the cookie domain is set to the main website URL.

How can I allow to accept example.com and www.example.com and share the same cookie?

Activity icon

Started a new Conversation Laravel With Trashed Relationship

I'm trying to load the related models including the deleted one. Do I need to create a second relationship or is there are better way?

Aug
13
1 month ago
Activity icon

Replied to Sanctum Login Route Missing

Thanks for your reply. Let me try your header approach.

Activity icon

Started a new Conversation Sanctum Login Route Missing

Hi,

I'm using sanctum for token authentication on mobile app. If I pass in wrong token I get not defined Route [login] error. Why does this only happen on incorrect token and not when logged in? How can I fix this?

Apr
26
4 months ago
Activity icon

Replied to More Videos

Thank you sir!

Activity icon

Started a new Conversation More Videos

I finished most of the full application series with tests. What is a good series now to get better in testing? Not Laravel specific please.

Apr
12
5 months ago
Activity icon

Started a new Conversation Access Denied For User In Database

Hi,

I changed my .env credentials from this

DB_CONNECTION=mysql DB_HOST=localhost DB_PORT=3306 DB_DATABASE=database_name DB_USERNAME=database_name_old DB_PASSWORD=database_password

to this

DB_CONNECTION=mysql DB_HOST=localhost DB_PORT=3306 DB_DATABASE=database_name DB_USERNAME=database_name_new DB_PASSWORD=database_password

When running the cron I get below message and seeing its using old password.

[2020-03-05 00:00:07] local.ERROR: SQLSTATE[HY000] [1045] Access denied for user 'database_name_old'@'localhost' (using password: YES)

Please help

Apr
04
5 months ago
Activity icon

Replied to Redirect To Back Method Not Working

@e.poltoruhin Thanks for the link

@bobbybouwmann Thanks for your answer

@loyd You copied the answer from someone else... But thanks anyway

Activity icon

Replied to Updating Model Does Not Work???

Thank you. that works.

Activity icon

Started a new Conversation Updating Model Does Not Work???

Hi,

I'm trying to update my model. I assign new values with array data, but it doesn't work

$data['score'] = $request->input('tries') * $request->input('score');

I get this error "Cannot use object of type stdClass as array"

Apr
03
5 months ago
Activity icon

Started a new Conversation Redirect To Back Method Not Working

Hi,

I have a controller that redirects the user back to the previous package. I use the back method for this. Here is my code

public function store(NoteRequest $request, Article $article) {
	$note = new Note();
	$note->article_id = $article->id;
	$note->body = $request->body;
	$note->save();
        
        back();
}

What am I doing wrong?