
Discover how to build a complete blog using PHP, MySQL, and Bootstrap, with a from-scratch admin panel in a Laravel-powered web app, featuring user authentication, posts, categories, and search.
Skip the setup if your editor is ready and go straight to the authentication system. Note the instructor is rusty with Laravel and slower for beginners.
Install XAMPP to run a local development server with Apache, MySQL, PHP, and phpMyAdmin, including Perl, then download from Apache Friends and start Apache and MySQL via the control panel.
Install Visual Studio Code by downloading the Windows installer, running it to install, and optionally creating a desktop icon, then start coding.
Explore the category-based index template with header navigation, search form, and pages like about, contact, login, and register, plus category counts and popular posts.
Create a Laravel project with composer, run the built in server via php artisan serve, and configure a MySQL database in .env for the Bloggy app.
Learn to scaffold a Laravel authentication system using the Laravel UI package with bootstrap, generating routes, controllers, and views, migrating the users table, and handling login and register.
Learn how to integrate a custom theme into a Laravel blog by importing assets, creating public assets folders, and wiring the header and navigation in Blade templates.
Integrate and style the login and register flows by re-adding bootstrap, wiring forms with csrf, and aligning the nav bar and layout within the app blade structure.
Fetch posts via a new posts controller and route, display them in a Blade index view, and define a post model with fillable fields for the posts table and images.
Learn to fetch and display posts in a Laravel PHP CMS: implement dynamic post links, use assets for images, and refine listing with limiting, ordering, and single-post routing.
Pull two posts from the business category, display images, and render the title and description, while wiring a single post page with the created date for a CMS blog.
Expand the CMS by adding a culture category section that fetches random posts in posts controller, displays short titles and descriptions with image assets, and uses substring for formatting.
Learn to fetch posts for the politics category, limit results, and render each post with its title, description, image, user name, and created date on the index page.
Fetch travel posts in a Laravel CMS by filtering the travel category. Limit results, render dynamic images from assets, and order by title descending and by id.
Learn how to fetch a single post by id in Laravel, pass it to a single post view, and display dynamic image, category, description, and author details.
Display author info by retrieving the user via the user model in the post controller, then render username and bio in the single blade view using the user_images assets.
Display popular posts by fetching three posts ordered by id descending, render them dynamically in a blade view with images and truncated titles.
Learn to display blog categories with post counts in Laravel by joining categories and posts, grouping by category, and rendering counts in a Blade view.
Build a comments model and database table, define fields (id, body, user_id, user_name, post_id, created_at), and fetch/display post comments in the blog post view using Laravel.
Display related posts from the same category on the post page, excluding the current post, and limit results to a few entries for the more blog posts section.
Learn to insert comments in a Laravel blog by posting via the comment.store route, using auth user data and post_id, and saving to the comments table while handling timestamps.
Display the number of comments dynamically on a blog post page with Laravel, using comment inserts, success alerts, and blade driven conditional messaging for empty categories.
Learn to insert posts by creating a new post page, wiring routes to the post controller create post method, and building a form with title, image, description, and category.
Learn to insert a post in a Laravel content management system by building a post form, handling the post request in the controller, and uploading an image to assets/images.
Build a dynamic post form in Laravel, load categories dynamically, and submit posts with images to the admin panel, then verify the insertion.
Enable post ownership by showing update and delete buttons only to the post creator, wire a delete route to a controller action, and redirect to posts index after deletion.
Learn to implement an update post workflow in Laravel by building an edit form, preloading the title, description, and category, and wiring routes and controller logic.
Update posts via a form submission using the post update route, validate authentication and ownership, and abort with 404 if the user does not own the post.
Refine the Laravel blog by updating blade templates, routing posts to the post controller, and displaying posts on the index page. Hide the create post page for guests.
Fix the post link to use post/single/tool, update date formatting in blade templates for a friendlier display, and add contact and about pages with corresponding routes and views.
Learn to display posts by category in a Laravel CMS blog, building category views, routes, and a categories controller to fetch and present posts with blade templates.
Display posts by category within the CMS blog page, integrating popular posts and category links while wiring dynamic category routes in Laravel.
Implement user profile updates in a Laravel CMS blog by creating a users controller, routes, and blade views to edit name, email, and bio, with dynamic category display.
Update user data by applying the post update logic, wiring routes, editing the profile, including bio and image in fillable, and displaying a success message before redirecting to the index.
Validate forms and enforce access control in a Laravel CMS by implementing request-based validation for user profiles and posts, ensuring authorized edits and clear error messages.
Create a public profile page in a Laravel CMS blog, linking 'read my bio' to a profile view. Display the user’s image, name, and bio with their latest posts.
Implement a Laravel-based post search by connecting a form to a route and controller, querying titles with a like clause and wildcards to filter results.
Design and code a practical admin panel for a PHP with Laravel CMS, enabling login, admin creation, category view, update, and delete, plus post view and delete.
Learn to set up admin panel authentication in Laravel by configuring guards, providers, and an admins model and table, and building a login page.
Build and connect an admin login system in Laravel by creating routes, an admins controller, login view, and a dashboard, then validate credentials with an admin guard and redirect.
Display the admin name and implement login validation, logout, and admin guard-based access control using Laravel Blade templates, routes, and middleware to secure the admin panel.
log in to display statistics index showing counts of posts, categories, and admins by querying post, category, and admin models and passing results to admin view; validate admin login inputs.
Learn to build an admin panel in Laravel by creating the admins index, fetching admin data with the Admin model. Wire routes and blade templates for a functional dashboard.
Develop a create admin flow in a Laravel CMS by building the create admin view, wiring routes and controller, validating inputs, hashing passwords, and showing success feedback.
Create and display categories in the admin panel by wiring a categories.show route, building the categories view with blade templates, looping through each category, and enabling update and delete actions.
Create a new category in a Laravel admin panel by building the create form, validating the name, and storing it in the category model while confirming the category appears.
Set up a delete workflow for categories in the admin panel by wiring a delete route with the category ID and displaying a category deleted successfully message.
Build and update categories in a Laravel admin panel by creating an edit form, wiring routes and controller methods, validating the name, and showing a success message after updating.
Learn to display posts in a Laravel CMS blog by building an admin posts view, fetching posts via the post model, looping through them, and trimming the title with substr.
Delete a post in the Laravel cms by finding it by id, invoking the delete method on the post model, and redirecting to admin/show posts with a success message.
If you're interested in learning how to build a CMS blog with PHP Laravel, this course is perfect for you. Throughout the course, you will learn how to create a complete content management system (CMS) with the Laravel PHP framework. You'll be creating your CMS from scratch, complete with page, user, and blog management capabilities.
The course is designed to be hands-on, so you will be working on real-world projects throughout the course. You will learn how to use PHP Laravel to create a dynamic and interactive web application that is both functional and user-friendly. By the end of the course, you will have a complete CMS blog that you can use as a template for your own web applications.
Here's what you can expect to learn in the course:
How to install and set up PHP Laravel
How to create a database and connect it to your application
How to create a user authentication system
How to integrate your own theme
How to create a full posting system
How to create a full categories system
How to create a commenting system
How to create a full comments system
How to create a search system
How to build a custom admin panel
How to work with MVC structure
and So much more. Whether you are a beginner or an experienced developer, this course is perfect for anyone who wants to learn how to build a complete CMS blog using PHP Laravel. So, if you're ready to take your web development skills to the next level, enroll in the course today!