Similar Posts
Laravel with InertiaJS
I’m not sure when this whole backend vs frontend battle started in my head. But I’m mainly a backend developer. Ever since I started development, I mainly focused on data structure and coding. I rarely paid attention to any of the frontend elements. My main focus were to ensure that my code worked as expected….
User Roles Many to Many
Another way to design user roles in your application is to create a many to many relationship. This means many users can have many roles.
Laravel 5.4 with Foundation 6.3
I wanted to share how I got Foundation Site 6.3 to work with Laravel 5.4 and webpack. I tried this on a brand new Laravel project. First, edit the package.json file and replace the bootstrap-sass entry with “foundation-sites”: “^6.3.1” Then run npm install. This will download all the dependencies and store them in the node_modules…
Laravel Homestead on Windows Issues
I really want to use Windows and Laravel Homestead as a dev environment so that I don’t have to keep pulling out my Macbook Pro when I’m at home. I have a 2015 iMac at home but I do want to utilize the better hardware on my PC. No matter how many times I try,…
Laravel Episode 2: Views, Layouts, and Elixir
Episode 2: Views, Layouts, and Elixir Introduction Get episode2 branch from Github. The V in MVC is View. Views are what is being displayed to the user. Views are found in the /resources/views directory. Show how the default is displayed by explaining the routes file and the view file. Show example of .gitignore file….
Laravel Episode 11: Updating My Profile
Episode 11: Updating My Profile Changes in between episode 10 and 11 Cleaned up code in routes file. Go through code and replaced Role::userHasRole() with User::hasRoles(). Removed __construct() from ProductController. Update database diagram to match current database schema. Create route for /my-profile. Create new route group for auth middleware. Create methods in UserController. myProfile()…