{"repo":"danjohnson95/pinout","free":true,"listed":false,"github":"https://github.com/danjohnson95/pinout","clone":"git clone https://github.com/danjohnson95/pinout.git","description":"Control hardware using Laravel 🔌","language":"PHP","stars":325,"topics":["gpio","hardware","laravel","raspberry-pi"],"license":"MIT","category":"self-hosted-apps","readme_excerpt":"Pinout Connect your Laravel application to the physical world with Pinout, where code meets circuitry. Hardware and web, seamlessly united 🤝 Features With a Laravel application running on supported hardware, you can: - Get the current state of any GPIO pin - Set the state of any GPIO pin These basic features open up a world of possibilities, from simple LED control to complex robotics. And with the included drivers, you can also: - Display digits on a 7 segment display - Display anything on a 16x2 LCD display Hardware support At the moment, Pinout supports the following hardware: Model Supported --- --- Raspberry Pi Model A ✅ Raspberry Pi Model B ✅ Raspberry Pi Model B+ ✅ Raspberry Pi Model 2 ✅ Raspberry Pi 3 Model B ✅ Raspberry Pi 3 Model B+ ✅ Raspberry Pi 3 Model A+ ✅ Raspberry Pi 4 Model B ✅ Raspberry Pi 400 ✅ Raspberry Pi 5 ✅ Raspberry Pi Zero ✅ Raspberry Pi Zero v1.3 ✅ Raspberry Pi Zero W ✅ Raspberry Pi Zero WH ✅ Raspberry Pi Zero 2 W ✅ Getting started Install the package to an existing Laravel project: If you're using Laravel 11 or later, the package will be auto-discovered. If you're using an earlier version, you'll need to add the service provider to your config/app.php file: Usage PinService facade This package allows you to interact with hardware using the PinService facade, and also comes with a couple of Artisan commands for convenience. Use the pin method to get a Pin instance for a specific pin: The argument is a reference to the GPIO pin number. (The BCM pin n","default_branch":null,"files":null,"tree":[],"storefront":"/r/danjohnson95","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/danjohnson95/pinout/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}