Download the PHP package simba/api without Composer
On this page you can find all versions of the php package simba/api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package api
🎯 Simba API - CodeIgniter 4 & Laravel Library
Pustaka (library) ini menyediakan cara mudah untuk berinteraksi dengan API Simba BAZNAS RI di dalam aplikasi CodeIgniter 4 dan Laravel.
✨ Latest in v2.1.0: Full Laravel support with auto-detection HTTP client, enhanced error handling, and comprehensive integration guide!
⚡ Quick Start
For CodeIgniter 4.x
1. Install
2. Configure .env
3. Use in Controller
For Laravel
Quick Method (⭐ Recommended - Simplest)
Setup Steps
Alternative Method - Using Service Container
📖 Complete Laravel Integration Guide: See LARAVEL_INTEGRATION_GUIDE.md
📚 Available Libraries
| Library | Purpose |
|---|---|
| Muzakki | Donatur (Muzakki) Management |
| Mustahik | Penerima Manfaat (Mustahik) Management |
| Pengumpulan | Pengumpulan (Inbound Transaction) |
| Penyaluran | Penyaluran (Outbound Transaction) |
| Upz | UPZ (Unit Pengumpul Zakat) Management |
✨ Key Features
✅ Auto-Detecting HTTP Client - Automatically selects Laravel Http Facade or CodeIgniter Services
✅ Laravel Integration - Works seamlessly with Laravel 8+
✅ CodeIgniter Support - Full CodeIgniter 4 compatibility
✅ Response Formatter - Consistent response format
✅ Validation Trait - Reusable validation logic
✅ Exception Handling - Custom exception classes
✅ Service Provider - Easy dependency injection
✅ Type Hints - Full type-safe methods
✅ Error Logging - Built-in error tracking
✅ PSR-4 Autoloading - Modern PHP standards
📝 Response Format
🔒 Validation Available
📚 File Structure
�️ Available Commands
Publish Configuration & Migrations
This command publishes the configuration and migration files to your application:
- Copies
Config/Simba.phptoapp/Config/Simba.php - Copies migrations to
app/Database/Migrations/
Install & Setup Database
This command performs complete setup:
- Publishes configuration and migration files
- Runs all pending migrations
- Seeds default configuration data
Output:
Step-by-Step Setup with Commands
�📖 Examples
Register Donatur
Search Recipient
Get Total Donation
Save Transaction
Distribute Assistance
🚀 Production Checklist
- ✅ All files syntax validated
- ✅ Type-safe methods
- ✅ Error handling implemented
- ✅ Security best practices
- ✅ Comprehensive documentation
- ✅ Extensible architecture
📚 Documentation
For complete documentation and guides:
- 📘 LARAVEL_INTEGRATION_GUIDE.md ⭐ - Complete Laravel integration guide with examples
- 📗 LARAVEL_READY.md - Quick start checklist
- 📕 DOCUMENTATION.md - Full API reference
- 📙 INSTALLATION.md - Installation instructions
- 📓 PERBAIKAN_SUMMARY.md - Changes summary
🔗 HTTP Client Priority
The library automatically detects and selects the appropriate HTTP client:
- Laravel Http Facade (Laravel 8+) ← Preferred in Laravel
- CodeIgniter Services (CodeIgniter 4) ← Preferred in CodeIgniter
- PHP cURL Extension ← Fallback
- Custom HTTP Client ← If injected
No manual configuration needed! 🎯
📞 Support
For issues or questions:
- 📧 Email: [email protected]
- 📖 Documentation: See LARAVEL_INTEGRATION_GUIDE.md for troubleshooting
📄 License
MIT License - See license.md for details
Version: 2.1.0
Last Updated: November 2025
Status: ✅ Production Ready
Frameworks Tested: CodeIgniter 4 ✅ | Laravel 8+ ✅