iabrar95

iabrar95

Member Since 7 Months Ago

Experience Points
1,300
Total
Experience

3,700 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
8
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,300 XP
Sep
24
3 days ago
Activity icon

Replied to Forget My Password

thank you .. where exactly should I put this code in the HomeController or somewhere else?

Activity icon

Replied to Forget My Password

yes I did

Activity icon

Started a new Conversation Forget My Password

does Laravel does not allow to send a rest link for my password when the project is working on the local host?

Sep
15
1 week ago
Activity icon

Replied to Can I Use Vue And React Together With Laravel?

I already finished the project with Vue. I tried to make the video call with Vue but it did not work

Activity icon

Started a new Conversation Can I Use Vue And React Together With Laravel?

I wanted to know if it possible to use Vue and react together with Laravel? Like my application is already done with Vue and I want to add new page for video call with react can this be possible?

Sep
01
3 weeks ago
Activity icon

Started a new Conversation Book A Doctor Appointment In Laravel

I want to add feature to my Web so that a could book a doctor appointment. I wanted to be very simple just choosing a doctor name and the date. and then it is saved in the database

does anyone knows how i could make it and if there is any resource that would help I want to make it with laravel

Aug
23
1 month ago
Activity icon

Replied to User Role Tables

thank you. the boolean is to make the doctors directed to dashboard that is different from the other users after login. but, i needed more information for doctors that why i needed new table for the doctors

Activity icon

Started a new Conversation User Role Tables

i have a user table

Schema::create('users', function (Blueprint $table) {

        $table->id();
        $table->string('name');

        $table->boolean('isDoctor')->default(0);

        $table->string('email')->unique();
        $table->timestamp('email_verified_at')->nullable();
        $table->string('password');
        $table->rememberToken();
        $table->timestamps();

the column boolean('isDoctor'); is where I made where the user a doctor or patient and they both has different dashboard the doctor and the patient if isDoctor has value of one then he is a doctor and when he logged it will redirect him to the doctor dash board

i want to make a doctor table where the information of the doctor is save in it like his name which is already saved in the user table and i want to add other columns like his specialization

Does anyone knows how to make Doctor table ?

Activity icon

Replied to Foreign Key Problems In User Table

the doctors table:

    Schema::create('doctors', function (Blueprint $table) {

        $table->id();
        $table->timestamps();
    });

the users table:

    Schema::create('users', function (Blueprint $table) {

        $table->id();
        $table->string('name');
        $table->boolean('isDoctor')->default(0);
        $table->string('email')->unique();
        $table->timestamp('email_verified_at')->nullable();
        $table->string('password');
        $table->rememberToken();
        $table->timestamps();

        $table->foreignId('doctor_id')->references('id')->on('doctors')->onDelete('cascade');
    });
}
Aug
22
1 month ago
Activity icon

Started a new Conversation Foreign Key Problems In User Table

I added a foreign key to my user table when I migrate there is an error occur

SQLSTATE[HY000]: General error: 1005 Can't create table medcare.users (errno: 150 "Foreign key constraint is incorrectly formed") (SQL: alter table users add constrai nt users_doctor_id_foreign foreign key (doctor_id) references doctors (id))

when I checked my database the column has been added but this error occur I am afraid it will not work when I add data to it

Aug
20
1 month ago
Aug
19
1 month ago
Activity icon

Replied to Best Way To Handle Different User Roles With Specific Attributes

hello, did you solve the problem? because i am facing the same problem but i only have a doctor and an patient. when i read the comments below your question i did not quite find the answer. if you ever did find a solution it would be nice to share it.

Aug
16
1 month ago
Activity icon

Started a new Conversation User Roles And Tables Connections

Hello I have a project that contain a doctor and a patient i have already made the authentication and when the doctors login the redirect to dashboard which is different than the patient dashboard

public function up() { Schema::create('users', function (Blueprint $table) { $table->id(); $table->string('name');

        $table->boolean('isDoctor')->default(0); >>>> here i differentiate between the doctor and patient

        $table->string('email')->unique();
        $table->timestamp('email_verified_at')->nullable();
        $table->string('password');
        $table->rememberToken();
        $table->timestamps();
    });
}

but their information is stored in the same table which is user table. i want to make a doctor table and other patient table what is the relationship that i can connect the information of the doctor in the user table to the new doctor table ???