Member Since 1 Year Ago

Experience Points 8,330
Experience Level 2

1,670 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 81
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.

15 May
5 days ago

ctyler left a reply on Telescope Not Logging Registered Event

I was just doing some more research on this. Apparently internal events are ignored - per the documentation:

Event Watcher The event watcher records the payload, listeners, and broadcast data for any events dispatched by your application. The Laravel framework's internal events are ignored by the Event watcher.

ctyler left a reply on How To Create Custom Email Verification Template | Laravel 5.7


It looks like you can access the users details because the event is called from the user in vendor/laravel/framework/src/Illuminate/Auth/Listeners/SendEmailVerificationNotification.php

class SendEmailVerificationNotification
     * Handle the event.
     * @param  \Illuminate\Auth\Events\Registered  $event
     * @return void
    public function handle(Registered $event)
        if ($event->user instanceof MustVerifyEmail && ! $event->user->hasVerifiedEmail()) {

I am assuming that means you can personalize the email? How would you access the user detail from the emails.verify markdown?

P.S. I just asked this question before I seen this post, sorry.

ctyler started a new conversation Telescope Not Logging Registered Event

So I am using Telescope for testing and troubleshooting.

When a person registers they are to select an employer form a drop down. The employer is to get an email so they can log in and verify that that person was in-fact hired by them. I need to be able to fire an email off to the employer notifying them they have a new employee register and they need to approve it.

So I go into the EventServiceProvider.php and see:

protected $listen = [
        Registered::class => [

I see the event Registers and its listener, however there is no Event or Listener folders in app/. That is not surprising, however, what is surprising is telescope is not picking up the Event Registered when the email verification is mailed. Telescope picks up that but not the event itself and therefore not the listener either.

I heard of logging being effected if the APP_ENV is not local. Mine is local.

Any help in this area would be appreciated.

ctyler started a new conversation How To Modify/Personalize Email Verification Email

Good Morning, I am having an issue with customizing the email verification email. I have seen a few work-arounds that seem clumsy to me and uncharacteristic of what I have seen so far from laravel. I would like to use a custom markdown that I can pass the user to so I can personalize the email. Is there a way to do this and if so, what is the best way to do this?

Thanks in advance Casey

26 Apr
3 weeks ago

ctyler started a new conversation Modify Migration File For MSSQL Datatype

Good after noon. I am using MSSQL with a laravel application. When retrieving a date from the database I am getting a carbon error. This is basically due to the format that MSSQL uses. This is corrected by adding:

protected $dateFormat = 'Y-m-d H:i:s';

to the model and updating the date columns to datetime2.

Everything works correctly after that. My problem is the migrations. Is there a way I can update this in the migrations file so when I do something like migrate:refresh I don't have to modify my columns to change them to the datetime2 format? I want to change $table->timestamp('created_at') ; to something like $table->datetime2('created_at'):

Any help would be appreciated.

19 Apr
1 year ago

ctyler left a reply on Cannot Use Migrate With MSSQL, WAMP, And 7.1 Server On Local Machine

Snapey, you are awesome my friend. I had the correct dll file noted in one php.ini file but not the other. Once that was fixed I had some permission errors that were fixed easy enough. Thank you for your time. I really appreciate it.

17 Apr
1 year ago

ctyler started a new conversation Cannot Use Migrate With MSSQL, WAMP, And 7.1 Server On Local Machine

Hello, WAMP: 3.1.0 64 bit PHP: PHP 7.1.9 LARAVEL: 5.6 SQL_SERVER: Microsoft SQL Server Developer (64-bit)

I set up all of the info in .env correctly: DB_CONNECTION=sqlsrv DB_HOST= DB_PORT=1433 DB_DATABASE=test_database DB_USERNAME=test_user DB_PASSWORD=test_pass

When I go to GIT Bash and Execute php artisan migrate i get:

Illuminate\Database\QueryException : could not find driver (SQL: select * from sysobjects where type = 'U' and name = migrations)

at C:\wamp64\www\laravel-adldap2-test\vendor\laravel\framework\src\Illuminate\Database\Connection.php:664 660| // If an exception occurs when attempting to run a query, we'll format the error 661| // message to include the bindings with SQL, which will make this exception a 662| // lot more helpful to the developer instead of just the database's errors. 663| catch (Exception $e) {

664| throw new QueryException( 665| $query, $this->prepareBindings($bindings), $e 666| ); 667| } 668|

Exception trace:

1 PDOException::("could not find driver") C:\wamp64\www\laravel-adldap2-test\vendor\laravel\framework\src\Illuminate\Database\Connectors\Connector.php:68

2 PDO::__construct("sqlsrv:Server=,1433;Database=test_database", "test_user", "test_pass", []) C:\wamp64\www\laravel-adldap2-test\vendor\laravel\framework\src\Illuminate\Database\Connectors\Connector.php:68

Please use the argument -v to see more details.

A couple of points to keep in mind.

  1. I can connect to same DB with other application 2)I can connect to this data base with this application

If I create a view and route and add this to the view:

try { $conn = new PDO("sqlsrv:Server=,1433;Database=test_database", "test_user", "test_pass"); $conn->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); } catch (PDOException $ex) { echo $ex->getMessage(); }

if($conn) { echo "Connection worked"; } else { echo "No joy"; }

This echos "Connection Worked"

Is there anything else I can check? Has anyone ran into this?

Thank you Casey