
Learn to accelerate real-time online game development with the Laravel framework by building an original project, avoiding boilerplate, and having fun through practical, time-saving techniques.
Explore setting up the lamp stack for a real-time online game, including Linux, Apache, MySQL, and PHP. The lecture covers macOS and Windows, and composer as a dependency manager.
Build a real-time online game with Laravel, featuring login, registration, and password recovery. Join a live lobby, view user scores, invite players, and play in real time with Gravatar avatars.
Create a Laravel 5.4 project scaffold named tic tac toe with composer, configure storage and bootstrap/cache permissions, set up a virtual host to public directory, update hosts, and restart Apache.
Create a database and tables for Laravel app by configuring a local MySQL connection, creating a tic tac toe schema, and running migrations to add users and password reset tables.
Learn how Laravel migrations manage database schema, create and modify tables like users, games, and turns, and use artisan commands to migrate and rollback with up and down methods.
Explore how Laravel models extend a base class to manage table data, including user authentication, fillable fields, primary keys, incrementing, and relationships like belongs to and has many.
Adjust the storage level.log permissions to full access and scaffold a Laravel login and registration system using artisan, including remember me, forgot password, and note the Score column requirement.
Explore how to wire routes, controllers, and views in Laravel to register users, manage authentication, and render Blade templates for a real-time online game.
Test email delivery with mail trap, inspect a fake inbox, and configure credentials to send a password reset email; next, build the game lobby and real-time events.
Create a real-time game lobby by displaying the logged-in user profile with avatar, name, and score in a responsive Laravel view, using Gravatar, compact data passing, and Bootstrap styling.
Create a paginated home page user list with Gravatar avatars and Bootstrap styling; seed 100 fake users and enable inviting a user to a new game with preloaded turns.
Learn to implement a searchable, paginated user list in a Laravel app, preserving the search query and applying a conditional where like filter for future real time invitations.
Learn to implement real-time events in Laravel by defining events and listeners, broadcasting via pushier to a channel, and updating the client UI with new game invitations.
Register a Laravel route with a game id, build a game controller method, fetch players and turns, and render a dynamic tic tac toe board.
Implement real-time turn-taking in a Laravel-based game by using Ajax and jQuery to submit moves, broadcast updates via a unique game channel, and update the UI accordingly.
Implement real-time win, lose, or tie logic for a Laravel-based online game by validating moves on the client, broadcasting game over events, and offering an exit to the lobby.
Learn advanced programming techniques, and take advantage of the latest tools on the web to create a fully functional online game using PHP and MySQL
Create a web application using the latest Laravel Framework with live notifications and events in real time.
By the end of this course, you will acquire advance techniques on:
Take Your PHP knowledge To The Next Level
We are going beyond the regular To-Do List, or Blog project. We are making an online game. Not only that, our web application will respond to events in real time without having to reload the page! The knowledge acquired at the end of this course will serve you to create great looking applications that can display information live, without user interaction. Like customer service chats or company dashboards with real time sales, just to name a few examples.