Harish

Member Since 3 Years Ago

Mumbai

Experience Points 10,750
Experience Level 3

4,250 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 60
Lessons
Completed
Best Reply Awards 2
Best Reply
Awards
  • Start Your Engines Achievement

    Start Your Engines

    Earned once you have completed your first Laracasts lesson.

  • First Thousand Achievement

    First Thousand

    Earned once you have earned your first 1000 experience points.

  • One Year Member Achievement

    One Year Member

    Earned when you have been with Laracasts for 1 year.

  • Two Year Member Achievement

    Two Year Member

    Earned when you have been with Laracasts for 2 years.

  • Three Year Member Achievement

    Three Year Member

    Earned when you have been with Laracasts for 3 years.

  • Four Year Member Achievement

    Four Year Member

    Earned when you have been with Laracasts for 4 years.

  • Five Year Member Achievement

    Five Year Member

    Earned when you have been with Laracasts for 5 years.

  • School In Session Achievement

    School In Session

    Earned when at least one Laracasts series has been fully completed.

  • Welcome To The Community Achievement

    Welcome To The Community

    Earned after your first post on the Laracasts forum.

  • Full Time Learner Achievement

    Full Time Learner

    Earned once 100 Laracasts lessons have been completed.

  • Pay It Forward Achievement

    Pay It Forward

    Earned once you receive your first "Best Reply" award on the Laracasts forum.

  • Subscriber Achievement

    Subscriber

    Earned if you are a paying Laracasts subscriber.

  • Lifer Achievement

    Lifer

    Earned if you have a lifetime subscription to Laracasts.

  • Laracasts Evangelist Achievement

    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 Achievement

    Chatty Cathy

    Earned once you have achieved 500 forum replies.

  • Laracasts Veteran Achievement

    Laracasts Veteran

    Earned once your experience points passes 100,000.

  • Ten Thousand Strong Achievement

    Ten Thousand Strong

    Earned once your experience points hits 10,000.

  • Laracasts Master Achievement

    Laracasts Master

    Earned once 1000 Laracasts lessons have been completed.

  • Laracasts Tutor Achievement

    Laracasts Tutor

    Earned once your "Best Reply" award count is 100 or more.

  • Laracasts Sensei Achievement

    Laracasts Sensei

    Earned once your experience points passes 1 million.

  • Top 50 Achievement

    Top 50

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

18 Feb
2 years ago

Harish started a new conversation Laravel Decomposer

Made this coz I feel it would be of use to someone like me who wants to see things quickly and could be of more general use.

Laravel Decomposer - https://github.com/lubusIN/laravel-decomposer

23 Nov
2 years ago

Harish left a reply on How Can I Fix This Complexity In My Code

Thank you so much @ohffs understood a lot in a minute! You joined all the scattered points in my mind! Have marked your answer correct now while waiting for @pmall 's reply! Let's see what he will teach me , you both putting efforts & time to help people like me is so amazing spirit, much respect :)

Harish left a reply on How Can I Fix This Complexity In My Code

@ohffs the paths are like routes that COULD COULD? I got the rest of the part , but in my case there are no 4 execution paths like I get the stuff and create a record , where is the execution path? Sorry if I am being a noob , but could you explain it with my example that image in the tweet , will help me understand better, and thank you so much for all your efforts :)

Harish left a reply on How Can I Fix This Complexity In My Code

@pmall its from my first Laravel package I have developed , here is the repo , and the file that has this code is Mojo.php

https://github.com/lubusIN/laravel-mojo

Hope to learn something from you , do reply :) pasted the repo link for better reference

Harish left a reply on How Can I Fix This Complexity In My Code

@ohffs away from system for few hours , will test it when back , for time being can you teach what are those "execution paths" ?? I mean what does that term mean and what are those in that image? Thanks :)

Harish started a new conversation How Can I Fix This Complexity In My Code

How can I find what are those 4 execution paths and how can I reduce them in this case?

https://twitter.com/scrutinizerci/status/801369553133510656

21 Nov
2 years ago

Harish left a reply on Resources To Learn OOP With PHP

Thank you @willvincent and @ohffs for your suggestions :) marked @NickeyGod 's answer as correct because the resource phpenthusiast is just so awesome , feels like heaven for starting learning OOP with PHP plus they also have a playground & an eBook :) Thank you so so much nickey!

Harish started a new conversation Resources To Learn OOP With PHP

I want to re learn the OOP with PHP basics start from the definations to the practical use of it , want to understand it more coz I still get stuck at it? Any good resources or recommendations , books , series something? Something more practical other than the one on the laracasts right now! Any help would be much appreciated :)

07 Nov
2 years ago

Harish left a reply on Need Resources To Learn Server Basics

Yep @jcorry made a list in evernote of their tutorials :)

Harish left a reply on Need Resources To Learn Server Basics

Thank you so much for your suggestions @ejdelmonico & @jlrdw , much appreciated :)

06 Nov
2 years ago

Harish started a new conversation Need Resources To Learn Server Basics

2 years of experience working with HTML, CSS, PHP, Laravel, & JS , now starting off with servers like setting & configuring a droplet on Digital Ocean. So can anyone guide me where to start with? Like first i want to learn all the terminologies like , what does SSH actually do , what are firewalls , Ports , what does actually apacahe do , etc. then learn setting & configuring my own VPS. Can anyone guide me to such resources where i can start with these basics and then move further? Any help & guidance much appreciated :)

28 Oct
2 years ago

Harish started a new conversation How To Get Download Count On Github

I created my first repo : https://github.com/harishtoshniwal/laravel-53-email-verification

Now I want to get the count how many times this boilerplate has been downloaded? How do I get this? Did Google search about it but none helpful resources found so looking for some help from you guys as always :)

16 Oct
2 years ago
15 Oct
2 years ago

Harish left a reply on Which Linux Distro Should I Use

Yes Command line is where my aim is , starting with Ubuntu tomorrow :) thanks much @willvincent

Harish left a reply on Which Linux Distro Should I Use

@willvincent that's a huge amount of experience, I am thinking to start with Ubuntu, any guidance about it or suggestions to switch to something else?

Harish started a new conversation Which Linux Distro Should I Use

I started learning web development 2 years ago when I was 18 with HTML , CSS , JS (mostly jquery) & then PHP . To be honest I have not worked with vanilla PHP much but fairly good with Laravel (now over 13-15 months) . For atleast next year or 2 I plan to work with Laravel while trying to be a better full stack web developer. From the start I have been using windows , but now the screwed up windows 10 updates are irritating me & Linux seems interesting thing to work with daily so which Linux distro would be better for me considering the above conditions ? Please help guys :) any advice much appreciated

17 Sep
2 years ago

Harish left a reply on Enable Submit Button If 2 Or More Checkboxes Are Checked

Yeah @tisuchi , that's working fine brother :) Also thank you @Theairusa for the answer bro :)

16 Sep
2 years ago

Harish left a reply on Enable Submit Button If 2 Or More Checkboxes Are Checked

@tisuchi

 [This code is not working] (https://d.pr/xOnl) can you help with a fiddle? Would help me understand better

Harish left a reply on Enable Submit Button If 2 Or More Checkboxes Are Checked

@postitief but i need to perform a request using that button to merge 2 things. So should i just use a Anchor tag that performs a get request which calls a controller method that does the required logic, is it okay if i do that?

Harish left a reply on Enable Submit Button If 2 Or More Checkboxes Are Checked

@tisuchi I am using this snippet to check the length

     $("input:checked").length;

But I need to recalculate it eveytime a checkbox is checked or unchecked in the loop right? What is the correct way to do that?

Harish started a new conversation Enable Submit Button If 2 Or More Checkboxes Are Checked

I know this is not the best place to ask this question , but i cannot find a solution on the web so I am back to you guys : How do i enable the submit button only if 2 or more checkboxes are checked using jquery? The checkboxes are being generated in the @ foreach loop . It would be great if you guys could help , been stuck for more then a hour on this small but big problem for me.

01 Sep
2 years ago

Harish left a reply on Eager Loading HasOne Relationship

@pmall thanks got it, learned something new :) @InaniELHoussain yup got your point!

29 Aug
2 years ago

Harish left a reply on Eager Loading HasOne Relationship

@Snapey there are only 2 dummy records in the DB right now , one has a profile and one doesn't. But how does this effects the query? As I am only asking for the Auth::User WITH it's profile, not for everyone as one will only land up on the edit page if he/she has already filled up the details.

Harish left a reply on Eager Loading HasOne Relationship

cc @pmall , saw your replies on similar issue threads , maybe you can help!

Harish started a new conversation Eager Loading HasOne Relationship

My USER model

        public function userProfile()
         {
            return $this->hasOne('App\UserProfile');
        }

My UserProfile model

    class UserProfile extends Model
{
    protected $table = 'user_profile';

    protected $fillable = [
            'user_id',
            'contact',
            'etc',
       'etc',
    ];

    protected $touches = ['user'];

    public function user()
    {
        return $this->belongsTo('App\User');
    }
}

When I do this in my controller

    $user = Auth::user()->with('userProfile')->first();

        return view('UserProfile.edit',compact('user'));

and then in blade when i try to access some value like this

    {{ $user->userProfile->contact }}

I get the following error

    Trying to get property of non-object
25 Aug
2 years ago

Harish left a reply on Laravel Certification

Yup no updates yet what how and when! I can only hope it would be soon at the moment

24 Aug
2 years ago

Harish left a reply on Laravel Certification

Yeah same here! Waiting for the updates :)

Harish started a new conversation Laravel Certification

Go do it guys https://laravel.com/certification #Zondaaaa

Harish left a reply on Media Uploads And Handling

@usama.ashraf actually there's a Product table and a ProductsAttributes(keys & values) so the product can be anything out of the 3 different media types. Now I hope the doubt is more clear. So how do i do it , using a custom package that will group different types of media together?

Harish left a reply on Media Uploads And Handling

@usama.ashraf

  • If i use a random string , the only way to retrieve the media in view is by using the relationship? Right? I have three different types of media attached to a single person so is it the best way?

Harish left a reply on Media Uploads And Handling

Can anyone guide please? cc @bobbybouwmann @bashy

Harish started a new conversation Media Uploads And Handling

Guys i need to accept 3 different types of media from the user on the same page , so what are the best resources to use?

  1. Dropzone at frontend and Laravel 5.3's built in file handling
  2. A custom media package from third party?

And if not a package , what are the best practices for storing media? Like what should go in the database? File name or a new name? Is the storage directory best place to store the media? (Not going with services like s3 for at the moment) What should be the best practise?

Cheers :)

20 Aug
2 years ago

Harish started a new conversation Enable Search Results From Community Links Section

Hey @JeffreyWay , Since laracasts is the mini stack overflow for me as learning Laravel + Vue , I always have a tab pinned in chrome for laracasts. Anything I need I search it first here. I love the community links section , so it would be good if I search something and the results also include the tutorial and articles from that section as well like the forum ones.

12 Jul
2 years ago

Harish left a reply on Found Some Awesome Laravel Merchandise

@SaeedPrez I just bought it and liked the stuff so thought to share with you all , nothing else brother :) also good thought!

Harish started a new conversation Found Some Awesome Laravel Merchandise

Just found this really neat and awesome laravel T-shirt so hence sharing with you all :) seems like they even have Laravel special Coffee mugs and mobile covers too. Loved them!

http://matoo.in/product/laravel-love-printed-t-shirt/

07 Jul
2 years ago

Harish left a reply on What Happens When Laravel Is Updated?

@ohffs yeah saw that in the upgrade guide. The confusion is only about the AuthController's traits and the console commands that I have added in the kernel. I have the complete version control in my Git extensions. I will update you what actually happened!

Harish left a reply on What Happens When Laravel Is Updated?

@tomo_pongrac that was scary to even look at! But i guess my weird question deserves that! Thanks :)

@ohffs Yeah seems the only way out :) I hope it's just the first half of your answer.

Harish started a new conversation What Happens When Laravel Is Updated?

I am learning laravel and have made a small project using laravel 5.1 , now i want to upgrade to 5.2 . So the question is what files will be updated in the upgrade? Just the illuminate folder? I have overwritten the methods of AuthController (Postlogin and all) , so will they break? Please don't point to the upgrade guide , i just want to know what happens i.e. what files are updated when you upgrade your laravel version? Thanks :)

18 Jun
3 years ago

Harish started a new conversation Cashier With Other Payment Gateways

Hey can anyone help me with how do I integrate cashier with other payment gateways? Taylor often says when asked that build your own , but how do I do it? Any docs or helpful links?

14 Jun
3 years ago

Harish started a new conversation Laravel Shots 101

Hey guys , I just started a small alternative to the long blogs & tutorials. Sharing the tips and tricks we discovered on our Laravel adventure. Quick and simple. I hope you all like the idea and will support it. Feedbacks and shares are most welcome :) Btw , still learning laravel daily :)

https://twitter.com/LaravelShots

11 Jun
3 years ago

Harish started a new conversation Happy Birthday Laravel

As Laravel's first beta release was made available on June 9, 2011 , Laravel is now 5 years young. Yes young, you read it right and also know why :)

28 May
3 years ago

Harish left a reply on It's Taylor's Birthday Today!

@SaeedPrez I just said it in a fun light way brother :)

Harish left a reply on It's Taylor's Birthday Today!

Haha @ohffs , btw curious .. how young are you ? :D

Harish left a reply on It's Taylor's Birthday Today!

@SaeedPrez that's strange! But yeah everyone has his own choices :)

Harish started a new conversation It's Taylor's Birthday Today!

Just a reminder it is @TaylorOtwell 's birthday today (28th may). He deserves tons of wishes and love , right?

27 May
3 years ago

Harish left a reply on Installing PHPShell By Facebook On Windows

Okay so the one by fb and also PHP's own interactive shell doesn't work on windows!

Harish started a new conversation Installing PHPShell By Facebook On Windows

I was brushing up my PHP fundamentals today by watching @JeffreyWay 's PHP fundamentals series on net tuts. He showed up a nice tool there, the PHPshell by facebook. But unfortunately while installing it on windows , this error has stuck me up.

Desktop\fb-phpshell>python setup.py build
Traceback (most recent call last):
  File "setup.py", line 8, in <module>
    from phpsh import __version__
  File "src\phpsh.py", line 1, in <module>
    __init__.py
NameError: name '__init__' is not defined

I tried to google and find solutions for it but was unable to locate even 1 helpful link. Can anyone here help me with this please ? Thanks :)

11 May
3 years ago

Harish left a reply on BUG In Posting Links

Told jeffrey about it long back on twitter : https://twitter.com/introwit/status/717387092519596033

05 May
3 years ago

Harish left a reply on Laravel Valet

@ohffs oh okay , thank you for the input :) helped me!

@christopher my recipe includes WAMP & GIT extensions on windows. I find it smooth and neat :)