
Explore building a hotspot management app with Laravel and RouterOS API, setting up authentication, user management, and payment integration (PayPal) for package-based access.
Learn the essentials of Laravel, including routing, controllers, and models, and install packages with Composer to interact with Micro API and magnetic API for hotspot management.
Download Winbox for your computer architecture, connect to the router, and begin configuring from scratch, including resetting configurations and preparing to authenticate users and set up the server.
configure the router's IP address using automatic address acquisition or a static range, apply the settings, and prepare for bridge configuration in the next session.
Configure a Mikrotik bridge to apply settings to multiple ethernet ports, add ports to the bridge, and assign IP address, gateway, and DNS for internet access via Router OS API.
Configure the dhcp server on the home bridge to assign ip addresses, gateway, subnet, and dns for clients using the specified range. The session also introduces nat for internet access.
Create a nat rule to enable internet access for hotspot clients by masquerading traffic through the internet-facing interface, enabling devices to browse online.
Configure the WLAN interface by creating a custom security profile with a password, applying it to the wireless interface, and managing internet access via bridge settings.
Install the user-manager package on RouterOS by downloading the exact version for your architecture from the MikroTik download page, then upload via system files and reboot.
Configure a radius server to authenticate hotspot users by installing the user manager package, disabling password-based login, creating a hotspot bridge, and defining the radius login flow.
Configure the radius server for the hotspot, add the hotspot address and secret, apply changes, reboot, and reconnect while adjusting the bridge and WPA to reach the login interface.
Master hotspot user management with a Router OS API and Laravel, using the user manager interface to auto-create customers, profiles, and paid user accounts.
Test hotspot login using radius server authentication, verify automatic redirection to the login page, and simulate mac-address authentication within a router os environment.
Test the hotspot login flow using radius server authentication, including redirect to the login screen, user provisioning via api and online database, and pay-based access controlled by the laravel application.
Set up a Laravel project by installing via composer or the Laravel installer, prepare a local development environment, and initialize the project folder through the terminal.
Set up a Laravel project, run the local server, and install a package to interact with the real-time router API, exploring Composer installation and manual setup options.
Learn to connect a Laravel app to a Mikrotik router via the RouterOS API by installing the package, configuring a controller method, and handling authentication with IP, admin, and password.
Connect to the Mikrotik router via Router OS API, update composer, install Laravel packages, and configure the net transmitter with a three-line JSON payload to establish a connection.
Connect to a Mikrotik router via the API interface and fetch devices on the hotspot. Retrieve their IP and MAC addresses from the response and iterate through all.
Learn to interact with mikrotik router to monitor devices, enforce conditions, and remove unauthorized users. Build user management workflows with a browser connection, command initialization, and api interfaces.
Install and configure the Laravel UI package to enable a bootstrap-based authentication system with register, login, and password reset pages, then compile assets with npm and verify the authentication flow.
Connect your Laravel app to a local database by creating the database, configuring the connection, and migrating the users table with fields like name, email, password, and Mac address.
Integrate the frontend theme into a Laravel app by copying assets into the public folder, linking plan packages, and enabling a subscription flow with registration and simulated payments.
Test user-manager commands by iterating over profiles, retrieving packages, and serving data to the database to validate dynamic display in a Laravel and RouterOS API powered hotspot app.
Explore MikroTik user profiles and data packages, including speed limits and expiry. Learn to create and assign profiles via the RouterOS interface to control hotspot access.
Add login and register on the page, enforce authentication to protect the subscription page, and validate phone, IP address, and MAC address in the register controller.
Build a robust user registration functionality by capturing IP address and MAC addresses, implementing a register controller, validating user data, and testing login redirects within the hotspot management app.
Create a hotspot subscriptions table in Laravel linked to users via user_id, define has many subscriptions, include status and plan details, and enable cascading delete on user removal.
Add and activate new users in the user-manager database by creating a customer, assigning them to a plan (bronze, diamond, gold), generating credentials, and activating their profile via subscription queries.
Create and register hotspot users, test the login flow, and verify access on the hotspot with Laravel and Router OS API. Manage users, IP address, and subscription data through login.
Add new users to the subscriptions table after their profiles activate, capturing user id, username, and plan details, and skip if the user already has an active subscription.
Shows how to fetch the logged-in user and their subscriptions in a Laravel controller and display the login information and active subscriptions on the home page.
Learn to integrate payment gateways before subscription, support multiple payment methods, and activate subscriptions after successful payments.
Connect the router login page to your application and implement redirects to a seamless login and register flow, including handling logged-in states and access to hotspot features.
Explore how a walled garden allows specific domains and API ports to reach the internet, enabling API calls and PayPal payments even when users aren’t authenticated.
Test the hotspot app by simulating user registration, subscription, and login flows, ensuring unique mac addresses and internet access via the Router OS API.
Wireless internet service provider software is one of the most expensive software that is also in high demand. However, most network engineers are not software developers and they shy away from programming. In the current world, there is always a need to automate things. In this course, you will learn how to build the application to automatically manage your hotspot users so that they have to register and a username and password will automatically be generated for them to be able to login into the hotspot. This course will give a glimpse of how the wireless internet service provider works and this can enable you to develop your own software if you would like to automatically manage your hotspot users using the Mikrotik API. Mikrotik API made it simple for developers to be able to work with the router os for automation.
The information about Mikrotik OS and API is very scarce on the internet and this makes it hard for the beginners working with or who would like to work with MikroTik API.
What we will cover in this course
The physical configuration of the Mikrotik router
Installation of Winbox software from Mikrotik to be able to configure our router
The basic configuration of our router to access the internet
Installation of a new Laravel application
Installation of packages required for interacting with router OS API interface and then we will go-ahead to build our application