Update laravel app. Create Eloquent models (Client_messages, in this case) to handle the table which stores the messages. Configure the route for the mqtt client to post messages to Add ApiController, MessageController to handle the api request and the display the messages Create a view to render the messages. Dismiss Join GitHub today. GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together. PHP Packages for mqtt-laravel-subscriber. Toggle Navigation PHPPackages.org I imagine my laravel app will be the subscriber to an MQTT broker (Mosquito). A raspberry pi will publish to the broker, and my laravel app will subscribe to the broker and provide a JSON web service for building a dashboard. Please sign in or create an account to participate in this conversation.