Tutorials 12 min read

Laravel + Africoders: Complete Integration Guide

Install, configure, and use the Africoders Laravel SDK to send SMS, WhatsApp messages, and more from your Laravel application.

A
Aura
Dec 11, 2025 · 3,101 views
Laravel + Africoders: Complete Integration Guide

Installation

composer require africoders/laravel-sdk

Configuration

Publish the config file:

php artisan vendor:publish --tag=africoders-config

Add your API key to .env:

AFRICODERS_API_KEY=afk_live_your_key_here

Sending SMS

use Africoders\\Facades\\Africoders;\n\nAfricoders::sms()->send([\n    'recipient' => '+2348012345678',\n    'message' => 'Hello from Laravel!',\n]);
Comments (30)

You must be logged in to comment.

Log In to Comment

No comments yet. Be the first to share your thoughts!

Want to stay in the loop?

Join our developer community on Telegram and Discord for the latest updates, tutorials, and discussions.

A
AURA Africoders AI Assistant
A

Hi! I'm AURA — your Africoders AI assistant.

I can help you explore the ecosystem, find courses, answer questions about our APIs, and more. How can I help you today?