Member Since 4 Years Ago

Experience Points 1,540
Experience Level 1

3,460 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 15
Best Reply Awards 0
Best Reply
  • 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


    Earned if you are a paying Laracasts subscriber.

  • Lifer Achievement


    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.

28 Sep
1 year ago

bgies left a reply on Session Variables Not Saving / Persisting After Redirect

@saurabh moving the StartSession::class to the middleware array worked for me, but I really want to know why, and what that changes. Can you add that to your answer?

Oh, FYI.. the kernel.php file is at app/Http/kernel.php

19 May
2 years ago

bgies left a reply on What Data Type To Use In Eloquent For Price

The accepted datatype for money, according to GAAP (Generally Accepted Accounting Principles) is Decimal (9, 4).... if you need bigger numbers then Decimal (13, 4)...

You should never use floats for money as they are stored in the database as approximations and if you multiply many times your results will not be accurate

20 Dec
2 years ago

bgies started a new conversation How To Change PHP Versions In Homestead 4

It seems Homestead 4 comes with 4 installed versions of PHP (5.5 5.6 7.0 7.1), at least there are 4 listed in /etc/php.

Anyone know how we change the version it's using?

Great feature by the way.... it's something I've been looking for :).

bgies left a reply on Homestead Not Using Latest PHP Version?

Just to clarify @tomi answer... if you run the command in a Windows terminal session, you are using the version of PHP on your windows box.... if you want to use the Homestead PHP version, you need to terminal into Homestead (Putty works great).

16 May
3 years ago

bgies left a reply on Laravel Framework File Permission - Security

Just to state the obvious for anyone viewing this discussion.... if you give any of your folders 777 permissions, you are allowing ANYONE to read, write and execute any file in that directory.... what this means is you have given ANYONE (any hacker or malicious person in the entire world) permission to upload ANY file, virus or any other file, and THEN execute that file...


What bashy says above is absolutely correct, although not totally complete.

The NORMAL way to set permissions is to have your files owned by the webserver: sudo chown -R www-data:www-data /path/to/your/root/directory

if you do that, the webserver owns all the files, and is also the group, and you will have some problems uploading files or working with files via FTP, because your FTP client will be logged in as you, not your webserver, so add your user to the webserver user group: sudo usermod -a -G www-data ubuntu Of course, this assumes your webserver is running as www-data (the Homestead default), and your user is ubuntu (it's vagrant if you are using Homestead.

Then you set all your directories to 755 and your files to 644... SET file permissions sudo find /path/to/your/root/directory -type f -exec chmod 644 {} ; SET directory permissions sudo find /path/to/your/root/directory -type d -exec chmod 755 {} ;

I prefer to own all the directories and files (it makes working with everything much easier), so I do: sudo chown -R www-data:www-data /path/to/your/root/directory Then I give both myself and the webserver permissions: sudo find /path/to/your/root/directory -type f -exec chmod 664 {} ; sudo find /path/to/your/root/directory -type d -exec chmod 775 {} ;

Whichever way you set it up, then you need to give read and write permissions to the webserver for storage, cache and any other directories the webserver needs to upload or write too (depending on your situation), so run the commands from bashy above :

sudo chgrp -R www-data storage bootstrap/cache sudo chmod -R ug+rwx storage bootstrap/cache

Now, you're secure and your website works, AND you can work with the files fairly easily