Member Since 4 Months Ago
3,670 experience to go until the next level!
In case you were wondering, you earn Laracasts experience when you:
Earned once you have completed your first Laracasts lesson.
Earned once you have earned your first 1000 experience points.
Earned when you have been with Laracasts for 1 year.
Earned when you have been with Laracasts for 2 years.
Earned when you have been with Laracasts for 3 years.
Earned when you have been with Laracasts for 4 years.
Earned when you have been with Laracasts for 5 years.
Earned when at least one Laracasts series has been fully completed.
Earned after your first post on the Laracasts forum.
Earned once 100 Laracasts lessons have been completed.
Earned once you receive your first "Best Reply" award on the Laracasts forum.
Earned if you are a paying Laracasts subscriber.
Earned if you have a lifetime subscription to Laracasts.
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.
Earned once you have achieved 500 forum replies.
Earned once your experience points passes 100,000.
Earned once your experience points hits 10,000.
Earned once 1000 Laracasts lessons have been completed.
Earned once your "Best Reply" award count is 100 or more.
Earned once your experience points passes 1 million.
Earned once your experience points ranks in the top 50 of all Laracasts users.
Thank you, @alanholmes
Started a new Conversation Naming Pivot Tables When The Model Use Multiple Words
If the name of the model tables are:
is there any inconvenient you can think of if the pivot table in a many-to-many relationship is named
following the naming recommendations?
Started a new Conversation [Jetstream][Teams] Customizing TeamController
Can anyone suggest a way to customize the
Laravel\Jetstream\Http\Controllers\Livewire\[email protected] ?
Basically, I need to change
$team = Jetstream::newTeamModel()->findOrFail($teamId);
so it will get the team based on a
In my case that line should be:
$team = Jetstream::newTeamModel()->where('slug', $teamId)->firstOrFail();
Replied to Validating Unique URLs In Laravel 7
Thank you for your time, Bobby.
Yes. I did that.
Started a new Conversation Validating Unique URLs In Laravel 7
I encountered a problem validating unique URLs in Laravel 7.
The problem is that the URLs are stored in the database (MySQL) in the following format :
"http:\/\/test.com" instead of
The field in the migration file is:
Now, if I validate a text field containing http://test.com it will pass because I assume it is validated against
Any suggestions will be much appreciated. Thank you,
Thank you very much, Snapey.
You are right... The middleware was in the controller constructor for other reasons and I didn't realize that will affect the API routes, too.
Again, thank you for pointing me in the right direction.
Started a new Conversation 'verified' Middleware Automatically Added To My API Routes - Is This Normal?
I notice that the 'verified' middleware is automatically added to an API route I create.
It shows in php artisan route:list
Is this normal? Is there a solution to remove it from the API route?
Route::post('validateModelName', '[email protected]') ->name('validateModelName');
php artisan route:list
| | POST | api/validateModelName | validateModelName | App\Http\Controllers\[email protected] | api,verified
Email Verification implemented
Thank you very much for your time.