
Speed up course videos to study efficiently, and use the resources tab to review GitHub file changes. Ask questions in Q&A and take time-stamped notes to capture key insights.
Cover Laravel installation prerequisites, including choosing the latest 7.x (or 8.x) version, PHP minimum, composer, and Git setup with tools like SourceTree or PhpStorm.
Initialize a git repository from the terminal, stage Laravel files in a visual git client, and commit changes with a message like 'installed Laravel' on the master branch.
Install Laravel UI, use Artisan UI to scaffold a frontend framework and login pages for Laravel 7, then run npm install and npm run dev to compile assets.
Learn to integrate your own CSS and JavaScript in a Laravel 7 project by compiling resources into public with mix. Test changes using npm run dev or npm run watch.
Create a new database and update your Laravel .env with the database name, username, and password; then clear config cache and run migrations to create the users table.
Register your first user by entering name, email, and a password of at least eight characters, then view the hashed password and hello message on the page.
Learn to test remember me and forgot your password flows in Laravel 7, using cookies, mail trap setup, and password reset tokens to securely reset user passwords.
Explore how double curly braces escape output like PHP echo, protecting the front end from unwanted HTML and scripts. See how {!! !!} unescapes output, rendering bold tags.
Create two static pages, wire routes to a starting page and an info page, and implement an active navigation highlight using conditional route checks and bootstrap styles.
Explore the Laravel templating system by using layouts, header and footer regions, and yielding content. Learn to extend templates, define sections, and override page titles and descriptions for better SEO.
Review installing a Laravel 7 project, running the dev server, configuring the database, migrating tables, and integrating front-end assets with blade layouts.
Learn Laravel mvc by using the artisan make model with -a to auto-create model, controller, factory, migration, and seeder. Follow naming conventions: singular model names and plural underscore table names.
Create the hobbies table in a Laravel 7 migration with name and description fields, run the migration to update the database, and explore a resourceful hobby controller with CRUD functions.
Learn to route to controller functions in Laravel, using get routes and placeholders to pass name and age as URL segments.
Define a Laravel 7 resource route named hobby bound to the HobbyController to generate seven RESTful routes. Access the index method at /hobby to see the HobbyController in action.
Display hobbies in Laravel 7 by building a hobby index view, looping with foreach to show each hobby name, and passing the hobbies variable from the controller to the view.
Add a button that links to the create method for hobbies, render the hobby create view, and include a back button to return to the overview page.
Configure a Laravel 7 post form with CSRF protection, implement the store method to save a hobby, and use fillable fields with Eloquent for persistence.
Learn to implement server-side validation in Laravel 7 using request->validate with rules for name and description, enforcing required fields and minimum lengths, and repopulate inputs with old values.
Display all form validation errors in a red bootstrap alert by looping over $errors and listing each message. Place the alert in the app layout above the content.
Explore field-level validation in Laravel 7 by applying a red border and red error text beneath inputs, and learn to show only the first error in a chain.
Display a success alert after creating a hobby in Laravel 7, showing 'drinking whiskey was created' by passing a message variable from the controller to the view.
Learn to build a detailed view for data records in Laravel 7 by linking list items to a show page, wiring routes, and a dedicated detail view.
Learn to edit records with the edit function in Laravel using route model binding, create an edit form, and prefill fields for a hobby resource.
Learn to update records in Laravel 7 with the update() method using a put request spoofed by a _method field in the form, then validate and return to the index.
Learn to delete records in Laravel 7 by adding a delete form next to each hobby, using the destroy method in the controller, and redirecting with a success message.
Practice Laravel 7 by building a tags CRUD with a guided challenge: create, edit, delete tags, copy-paste workflows, and explore category-based filtering as you progress.
Master crud for tags in a Laravel 7 project by creating a tag resource, migration with name and style, a tech controller, and corresponding views with validation.
Connects hobbies, users, and techs in a relational database by establishing one-to-many and many-to-many relations, using foreign keys and the Laravel naming convention for a hobby_tech pivot table.
Create a pivot table hobby_tag for the many-to-many relationship between hobbies and tech, using a primary key on hobby_id and tech_id with cascade on delete.
Add two fields to the users table: a motto and a text field for about me, both nullable; migrate fresh offers faster workflow but data is lost, avoid on live.
Create a static value seeder for the tags table by importing the tech model, iterating a techs array, saving each record, and seeding with migrate fresh or via --seed.
Seed 100 random users in Laravel 7 using a factory and faker-based seeder, adding hobby and about me fields, then migrate fresh to populate the database.
Learn how to seed linked tables in Laravel 7 by creating hobbies for each user, linking via user_id, and leveraging the db facade to seed and demonstrate cascading deletes.
Connect models using Eloquent relationships by implementing has many, belongs to, and belongs to many between users, hobbies, tech, and texts, enabling one to many and many to many associations.
Test eloquent relationships in Laravel Tinker by querying a user, retrieving related hobbies, plucking hobby names, finding the user for a hobby, and counting related records.
Learn to implement Laravel pagination on the hobbies index, display ten items per page, and preserve the current page when returning from a detail view using a previous link.
Add a user_id to hobbies and populate it with the authenticated user's id using Auth::id(). Guard create, edit, and delete actions with middleware and hide these controls from guests.
Explore Laravel 7 practical course concepts by displaying who posted each hobby and the user's total hobbies using eloquent relationships and count(), with front-end display logic and conditional blocks.
Install the Laravel debug bar via composer, then reload the app to reveal the SQL queries and performance timing in milliseconds, helping you diagnose query impacts.
Demonstrates rendering hobby tags as bootstrap badges in Laravel blade templates, using a for-each loop on index and show pages, and applying dynamic badge styles from the tag data.
Link the user names to the user detail page by creating a Laravel resource controller connected to the user model and implementing the show method as the challenge.
Copy resourceful routes, generate user routes, and adapt the show method to render a user’s name, motto, and about me in a dynamic Laravel view.
Showcases filtering hobbies by tag in a Laravel 7 app using a many-to-many pivot with tech, a dedicated hobby tech controller, and a tech model relation to fetch filtered hobbies.
Customize Laravel's error pages by publishing the framework's error templates, editing resources/views/errors, and replacing the default with your own HTML to handle 404 and other errors.
Learn to manage a many-to-many relationship in Laravel 7 by attaching and detaching tags to hobbies using attach() and detach(), covering controller methods, routes, and front-end updates.
Implement a small feature on the tax page to display 'used X times' links for each tech, linking to a filtered view that shows hobbies using that tech.
Insert the user's hobbies on the user detail page, following the step-by-step PDF in the resources tab to display the four hobbies on the users page.
Recap the Laravel 7 practical course with a cheat sheet, covering migrations, foreign keys, and one-to-many and many-to-many relationships. Explore seeders and factories, eloquent relationships, and custom error pages.
Upload images for hobbies and users and manage different sizes—from small to larger—and display them on the detail page. See how images become pixellated when users are not logged in.
Set up frontend image support by adding a public image folder and integrating image placeholders in hobby and user views. Create a git image-upload branch and prepare changes for commit.
Install lightbox2 with npm, import its CSS, and require the plugin in resources; then run npm run dev to compile and view the image lightbox on a detail page.
Install intervention image to simplify image tasks in Laravel, learn to run composer require intervention/image and update config app providers and aliases for seamless integration.
Refactor image handling by creating a reusable function for image input and hobby id, then call it from update and store methods with validation.
Display uploaded hobby images across the front end with thumbnails on key pages, and conditionally render large or pixellated images based on lock state.
Learn how to implement an image delete function in a Laravel 7 hobby controller, including file existence checks, unlinking image, thumbnail, and pixellated versions, routing, and user feedback.
Add motto and about me to the user model's fillable, adapt the user controller's update and edit methods, and implement image handling with Intervention Image plus redirect to home.
Fix session not found by importing Illuminate session facade, then copy and adapt the user edit blade and add image upload, routes, and a home page link for editing profile.
Explore the fundamentals of authorization in Laravel, including how to protect routes and ensure users can only view or edit their own data, using middleware, gates, and policies.
Learn to implement authorization in Laravel 7 by distinguishing authentication, middleware, policies, and gates, and plan user rights with roles like guests, locked-in users, owners, and admins.
Apply the authenticate middleware to routes and controllers, using explicit exclusions to let guests view index and show while protecting create, store, update, and delete actions.
Apply auth middleware to remaining controllers to restrict create and delete to authenticated users, while guests can only view index or show pages and get redirected to registration page.
Explore how middleware works in Laravel by examining the kernel, auth middleware, and web and api groups, then learn how to apply multiple middleware to routes and controllers.
Create and register an admin middleware in Laravel 7, then apply it to the tax routes so only admins can edit, delete, or create text.
Explore implementing the Hobbie policy in Laravel 7, add a before method to grant admin full access and enforce ownership for update and delete.
Fix an authorization flaw by implementing user and tech policies, restrict update and delete actions under admin checks, test middleware ordering, and prepare for button controls in the next lecture.
Learn to control frontend buttons with Laravel's @can by applying policies and gate logic to show or hide actions such as update, delete, and create for admins and non-admins.
Learn to secure hobby tag management in laravel 7 by implementing gates, enforcing ownership and admin privileges, and guarding attach and detach actions with middleware and abort messages.
Hey - you want to bring your PHP-Skills to the next level?
Save tons of time, many lines of code, problems, searching for solutions?
Create cool and save PHP based apps in no time?
Then LARAVEL is the right choice to learn!
I have been working with PHP professionally for 20 years now, and even I learn so much from Laravel, because it is so well done!
And anyway every PHP programmer nowadays should know how to use a PHP framework.
It also will increase your chances to get a great and well payed job as a software developer.
So let's go guys! Learn this great framework with me! It will be a lot of fun and very very interesting - I promise!
Martin