codebuglab/letsbot-php ? reverse-engineered prompt
Reverse engineered prompt
Build me a PHP package that makes it really simple to connect a PHP or Laravel app to the LetsBot WhatsApp API. I want something that feels clean and straightforward, where I can set my API key once, optionally turn SSL verification on or off for development, and then call common WhatsApp actions in a consistent way. It should cover the main things a business would need, like checking session status, sending text messages, sending media, replying or reacting to messages, using interactive buttons and lists, managing chats and groups, checking user info, handling products, and working with QR code or session features.
Please make it usable in both Laravel and plain PHP, with sensible config, clear examples, and a fluent style so calls read naturally. Include tests and basic docs so someone can quickly see how to use each feature. If anything is unclear, look up the current LetsBot docs online and match their API behavior as closely as possible.
Have a live product UI? Try website reverse