hafixihe

hafixihe

Member Since 5 Months Ago

Experience Points
810
Total
Experience

4,190 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-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-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-token Created with Sketch.

    Subscriber

    Earned if you are a paying Laracasts subscriber.

  • lifer-token Created with Sketch.

    Lifer

    Earned if you have a lifetime subscription to Laracasts.

  • lara-evanghelist 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
810 XP
Jan
21
1 month ago
Activity icon

Replied to Use Multiple Form Requests In Controller

Thanks you! I used second option with new custom request class that takes rules from other classes.

Activity icon

Started a new Conversation Use Multiple Form Requests In Controller

I have multiple form requests I need to combine for one controller. Based on the content I want to decide which request class should be used. How can I do that? Can I use multiple form request classes in Laravel?

public function create(ValidationOneRequest $request, ValidationTwoRequest $request2)
{
    
}
Jan
17
1 month ago
Activity icon

Started a new Conversation Valet And Connecting To Database.

In the docs you can find that you can connect to the database using the root user and 127.0.0.1. Can I connect to the database through the browser? How else can I connect?

Activity icon

Replied to Extra Guards Break Application

Thanks for helping this works.

Activity icon

Started a new Conversation Extra Guards Break Application

Hi.

I created extra guards. Now all routes are not working any more. I get guard not defined error. What is wrong with this?

'defaults' => [
    'guard' => 'web',
    'passwords' => 'users',
],
'guards' => [
    'admin' => [
        'driver' => 'session',
        'provider' => 'admins',
    ],
    'student' => [
        'driver' => 'session',
        'provider' => 'student',
    ],

    'api' => [
        'driver' => 'token',
        'provider' => 'users',
        'hash' => false,
    ],
],
'providers' => [
    'admins' => [
        'driver' => 'eloquent',
        'model' => App\Admin::class,
    ],
    'students' => [
        'driver' => 'eloquent',
        'model' => App\Student::class,
    ],

    // 'users' => [
    //     'driver' => 'database',
    //     'table' => 'users',
    // ],
],

Please help

Jan
07
1 month ago
Activity icon

Replied to How To Get Files From Server On Computer?

Thanks for all the options. My friend and I decided to go for rsync

Activity icon

Started a new Conversation How To Get Files From Server On Computer?

Hi,

I have some files on the server and I need them on my computer. I’m using a mac, but not sure how to do this. Can someone point me in the right direction?

Dec
23
1 month ago
Activity icon

Started a new Conversation Double Order By Not Working

I'm trying to order by two columns in my query. Some fields are null and some fields have values, but I can't get sorting working. Any help is appreaciated

This is my code:

$tvs = Tv::orderBy('purchased_at', 'desc')->orderBy('price', 'asc')->paginate();
Dec
17
2 months ago
Activity icon

Replied to 500 Error In Login

Thanks, indeed errors in logs file.

Activity icon

Started a new Conversation 500 Error In Login

I use the latest Laravel, but when I login I get 500 error.

I used php artisan ui:auth to install everything.

Locally this works good, but on my server I get only errors. I double checked .env file, but everything seems correct.

Any clues?

Dec
14
2 months ago
Activity icon

Started a new Conversation Learning How To Build Package

What is agood place to learn about creating Laravel packages?

Oct
08
4 months ago
Activity icon

Started a new Conversation Cant Find Carbon In View

Hi guys,

I want to have datetime column in Carbon. How can I do that in correct way?

My current code looks like this. It gives errors. Cant find Carbon

{{ Carbon::parse($post->publish_date) }}
Sep
28
4 months ago
Activity icon

Replied to Server With Email

Thanks for the reply. I will look into a third-party service. It makes sense that managing this as well will take extra time and effort that I don't have.

Activity icon

Started a new Conversation Server With Email

Hi,

I'm running a VPS at DigitalOcean in combination with Laravel Forge. How can I setup an email server for my own domain?

Sep
23
4 months ago
Activity icon

Replied to Sort By Variable In Function, How Does This Work?

Thanks! This works perfectly. PHP is pretty hard sometimes...

Activity icon

Started a new Conversation Change Auths Table

Hello, guys,

I want to use admins table. Now using users table by default in Laravel. Auth:: attempt method with "$userdata" credential always stores in users table. How can I make this work with admins table?

Activity icon

Started a new Conversation Sort By Variable In Function, How Does This Work?

I get undefined variable inside a function of this query. How can I make this work?

$sortby = $request->get('sortby');
$products  = Product::with([
    'categories' => function($p) {
        $p->orderBy('product_id', $sortby);
    },
    'categories.creators',
])->where('published', 1)
    ->orderBy('created_at', 'desc')
    ->get();
Sep
21
5 months ago
Activity icon

Started a new Conversation When Installing Laravel I Get 5.4

Is this normal behaviour? I followed official Laravel documentation. Why don't I get 6.0?

Do I have to upgrade myself? Why don't I get the latest version? Is the installer not working?

Sep
03
5 months ago
Activity icon

Started a new Conversation Disable Strict Mode Mysql In Latest Lumen?

How can I disable mysql strict mode in lumen? Where can I set the database config for this?

Sep
01
5 months ago
Activity icon

Started a new Conversation Explain Models And Database Connection

Hi,

I come from the symfony world (did 1 project 1 month ago) and trying to learn Laravel. How does the model (entity in Symfony) connect with the database in Laravel? In Symfony I have to specify a table name, but in Laravel I don't.

Activity icon

Started a new Conversation Vue Grab Content Editable Value

Hi, i'm trying to get the value of a contentEditable value from a html element. How can I do that in vuejs?,

<p v-text="widget.info" @blur="update" contentEditable>My Widget info</p>

Thanks in advanced