alexsunny123

Member Since 3 Months Ago

Experience Points
200
Total
Experience

4,800 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.

  • Community Pillar

    Earned once your experience points ranks in the top 10 of all Laracasts users.

Level 1
200 XP
Nov
28
1 month ago
Activity icon

Started a new Conversation Test That The Elements In A Collection Belongs To An User ?..

Hello,

I'm writing a Livewire component called Habits. I would like to test that the user only see the habits that belong to him. This is the current code of the render method.

public function render() { return view('livewire.habit.index', [ 'habits' => Habit::where('user_id', Auth::id())->paginate(10), ]); } I tried moving habits to a public property, but then Livewire complained about the public properties can't be a Collection. I converted the collection to an array and then the view complained about not finding the properties of the object. https://creditcardsupportx.com https://creditcardsupportx.com/target-red-credit-card https://creditcardsupportx.com/baby-r-us-credit-card Not sure what is the best strategy to accomplish this.

thanks jackyjoy

Oct
09
3 months ago
Activity icon

Started a new Conversation Why Users Are Not Activated With Cartalyst/sentinel Method?..

Hello,

With laravel 7 /"cartalyst/sentinel": "^4.0" app making seeding data for Users I want to activate users with code like:

    \DB::table('users')->insert(array (
        6 =>
        array (
            'id' => 7,
            'username' => 'JohnDoe',
            'email' => '[email protected]',
            'password' => NULL,
            'status' => 'A',
            'account_type' => 'I',
            'first_name' => 'John',
            'last_name' => 'Doe',
            'phone' => '7659879638765',
            'website' => 'http://[email protected]',
            https://krogerfeedback.nl/ https://talktosonic.onl/ https://talktowendys.vip/
            'notes' => 'Some notes on <strong>John Doe</strong>, who lorem <i>ipsum dolor sit</i> amet, consectetur adipiscing elit, sed do eiusmod  tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim  veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea  commodo consequat. Duis aute irure dolor in reprehenderit in voluptate  velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint  occaecat cupidatat non proident, sunt in culpa qui officia deserunt  mollit anim id est laborum. 

lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.', 'activated_at' => NULL, 'avatar' => NULL, 'created_at' => '2019-04-29 11:03:50', 'updated_at' => NULL, ),

    ...
    
    $user = Sentinel::findById(7);
    $customerRole->users()->attach($user);
    if (Activation::complete($user, generateRandomString(32))) {
        echo 'Activation::complete SUCCESS # 7::</br>';
    } else {
        echo 'Activation::complete ERROR # 7::</br>';
    }


function generateRandomString($length = 10) {
    $characters = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ';
    $charactersLength = strlen($characters);
    $randomString = '';
    for ($i = 0; $i < $length; $i++) {
        $randomString .= $characters[rand(0, $charactersLength - 1)];
    }
    echo '<pre>==$randomString::'.print_r($randomString,true).'</pre>';
    return $randomString;
}

As result I see error messages and new users are not activated. What can be reason? Has Sentinel some debugging mode to show errors ?

thanks jackyjoy

Oct
04
3 months ago
Activity icon

Started a new Conversation How Can I Iterate Imploded Data With Another Imploded Data ?.

Hello,

// database

// stocks id | name | time_frame | signal 1 test 3,5 test1,test2

//expected result 3 : test1 + 5 : test 2 // current result ( because idk how to iterate another imploded data ) test1 https://topdatingwebsitesx.com/chatiw https://topdatingwebsitesx.com/chatki https://topdatingwebsitesx.com/holla + test2

// blade {!! str_replace('+', ' + ', $stock->signal) !!}

thanks alexsunny

Oct
03
3 months ago
Activity icon

Started a new Conversation Database On Multi-Language Site?.

Hello,

I am confused about the best solution for storing data on a system that will have 20 languages.

I need to store in the database for each language the following:

-- News -- Events -- Itineraries -- Registration

What would be the best approach? Save each language in a database specific to it? https://ometv.onl/ https://chatroulette.top/ https://omegle.wtf/ https://bazoocam.cam/

Or store everything in the same database? If so, can you give me an example of the best way to make such translation references?

thanks alexsunny