
Preview the course project.
Overview of the Laminas Framework.
Make PHP and MySQL globally accessible by updating the path with their bin directories, then verify installations using php --version and mysql --version in the terminal.
Learn to download and install the Laminas MVC framework with composer, set up apps directories, and configure essential packages. Access get luminous.org and discourse.laminas.dev for guidance and support.
Download and install the Xampp web server on a Linux machine by visiting apachefriends.org, downloading the Linux zip, setting permissions, and running the installer to completion.
Create a signup form in Laminas MVC by building form, view, route, and controllers; validate input with filters, regex, and length checks; save data to database; add flash messages.
Create a users table in the Laminas MVC project by adding data/sql/user.sql. Define user_id, username, email, password, avatar, birthdate, role_id, enabled, created, and updated, with primary and unique keys.
Register the user module so the luminous framework recognizes it, update modules.config.php, configure composer.json for autoload, run composer dump autoloader, and verify the signup route and view render correctly.
Create the registration view in Laminas MVC for beginners, fix field labels, add meta keywords and description, and build a bootstrap sign-up form with username, email, password, birth date, CSRF.
In Laminas MVC for beginners, this lecture shows creating an insertAccount method to save user data to the users table, including username normalization, bcrypt password hashing, and role assignment.
Create the login view with meta tags and SEO text. Build a Bootstrap form for email and password, include a remember checkbox, CSRF protection, and signup or forgot password links.
Create a getLoginFormSanitizer method to build an input filter that sanitizes and validates login form fields, including email, a password of 8–25 characters, and a zero and one checkbox.
Create a url service class to encode and decode url strings in a laminas mvc beginner module, using base64 and replacements for plus, slash, and equals.
Create a user entity class in the Laminas mvc framework for beginners, mapping user table columns to private properties and providing getters and setters, with plans to join roles table.
Create a findById method to fetch a user by id from the users table, joining with user_roles and hydrating a user entity.
Create an account plugin class to access users data on the controller side, and wire its factory to supply the authentication service and users table to the service manager.
Create a forgot password form class in the Laminas MVC framework that uses a post form with an email input and Google reCAPTCHA verification to send a password reset link.
Create a password controller in laminas mvc to handle password resets, wire forgot form view, register controller with the service manager using an invocable factory, and define the forgot route.
Implement getResetFormSanitizer in the users table to filter and validate reset form data, enforce 8–25 character passwords, require confirmation, and align with token cleanup logic for 12-hour expiration.
Implement the reset password action in Laminas MVC by validating the token and user id, updating the password securely, removing the token, and redirecting to login with a confirmation.
Create the change email address view by adapting the settings template to include current and new email fields, CSRF, route details, and a polished form UI with login enforcement.
Create a settings password action and form with current, new, and confirm fields; validate and match passwords, hash and update the password, and require login.
Learn how to implement a profile picture upload in laminas mvc: build an avatar form, validate images, resize to 200x200, and update the user's profile with the new image.
Create a reusable pagination partial in the Laminas mvc framework by building a navigation with PHP-generated page links, previous and next controls, and an active current page state.
Note to potential students: The Laminas MVC Framework core developers have decided to stop maintaining the framework. As a result of this unfortunate development, please do not purchase this course. It is not worth learning something that has ceased operation.
Laminas MVC Framework For Beginners
Unlock the full potential of web application development with our course. This hands-on learning experience is designed to equip you with the skills and knowledge needed to build robust and scalable web applications using the PHP Laminas MVC Framework, MySQL, Bootstrap 5, and ES6 JavaScript.
What You'll Learn:
Authentication and Authorization:
- Implement secure user authentication mechanisms to safeguard your applications.
- Understand and apply authorization to control access to different parts of your web application.
Pagination and Database Access:
- Learn effective pagination techniques for managing large datasets.
- Master database access using the laminas-db component, ensuring efficient and optimized data retrieval.
Creating Plugins and View Helpers:
- Explore the power of plugins and view helpers to enhance the functionality and user experience of your applications.
Adding Comments and User Interaction:
- Implement comment features to encourage user interaction and feedback.
- Understand best practices for handling and displaying user-generated content.
Form Handling and Data Manipulation:
- Dive into form creation and usage, making your applications interactive and user-friendly.
- Fetch data from the database and seamlessly integrate it into your form classes.
Why Take This Course:
Practical Application: Gain hands-on experience by working on real-world projects throughout the course.
In-Depth Learning: Master each topic through detailed explanations, code examples, and guided exercises.
Embark on your journey to becoming a proficient web developer.
Enroll now and elevate your skills.