Member Since 1 Year Ago
1,120 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.
mpchean left a reply on Facebook's Relay And GraphQL Are Going To Be HUGE!
How about a series on Laravel Lighthouse? I think Graphql has the potential to simplify the DB interface. In the meantime there is this series on Youtube https://youtu.be/hvjW-MQEwIM
mpchean started a new conversation I Need Assistance With The Laravel From Scratch - Readability Episode
I have 1 issue, and I'm not sure if it's my doing, or if there is a discontinuity in the tutorial. -- The projects index page can only be viewed by user 1 who is the user defined in the gate from the auth episode. I comment this out and I get a 403. My expectation is that either of the two users should be able to see their index, but somehow I've messed up. Any help would be appreciated. Along this line is there anyone here who would be willing to mentor me for pay of course.
Thank you all! The composer command worked. I thought that composer played a role in the initial setup and updating a project. Was not aware that it was involved in running the application. I actually ran a composer install which cleared it up. I do have a git repository, and will use it in the future, though not really clear on all of its functions.
At one point in the Projects tutorial I renamed my ProjectsController.php to oldProjectsController.php when some of my routing stopped working. I thought it would be a good idea to start clean. I created a new ProjectsController.php using resource. Now however I'm getting the following error when I enter the following route: http://project.test/projects (I'm using Laragon for pretty urls).
ErrorException (E_WARNING) include(C:\laragon\www\project\vendor\composer/../../app/Http/Controllers/oldProjectsController.php): failed to open stream: No such file or directory.
The routing only works if there is an oldProjectsController.php. This is my route:
and this is the top of my ProjectsController.php:
namespace App\Http\Controllers; use App\Project; use Illuminate\Http\Request; // created with php artisan make:controller ProjectsController -r -m Project class ProjectsController extends Controller
But isn't that what we're doing with each extended model? That at least is my reasoning.
Hi Cronix: So there is nothing that is going to bite me in the backside if I take the approach of extending Model? I'm sort of surprised Laravel doesn't include this capability, but I will look into creating my own artisan command.
Ok along this line of questioning... I want to use soft deletes in all of my models. Right now I've extended the Model class with BCSModel which has the appropriate use statements. But I would like to have artisan make:model use this extended class. Is this the correct approach, and if not what is a better way to do this?
@Moenchfracht, I'm also starting a potentially multi-tenancy project. In my case each company is a distinct entity, so there is no need to consolidate data. Is that your situation? I wonder, for myself, if it would be better to keep companies in separate databases.