{"id":22537671,"url":"https://github.com/dbrax/tigopesa-tanzania","last_synced_at":"2025-07-04T13:03:20.854Z","repository":{"id":55510149,"uuid":"312203408","full_name":"dbrax/tigopesa-tanzania","owner":"dbrax","description":"A Laravel library  that adds Tigopesa mobile money payment functionality to your application","archived":false,"fork":false,"pushed_at":"2024-09-26T18:12:32.000Z","size":233,"stargazers_count":15,"open_issues_count":0,"forks_count":12,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-07T11:07:55.479Z","etag":null,"topics":["emmanuel-mnzava","laravel","payments","php","tigo-client","tigopesa-tanzania"],"latest_commit_sha":null,"homepage":"https://dbrax.github.io/tigopesa-tanzania","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dbrax.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-11-12T07:45:59.000Z","updated_at":"2024-09-26T18:09:02.000Z","dependencies_parsed_at":"2024-06-19T20:42:42.266Z","dependency_job_id":"6e49efae-e44d-4cd4-aae3-fb6cf5d6da25","html_url":"https://github.com/dbrax/tigopesa-tanzania","commit_stats":{"total_commits":45,"total_committers":3,"mean_commits":15.0,"dds":0.4,"last_synced_commit":"dc33dfb58163dc7dd75cdb8a0b91b7ed055534e8"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbrax%2Ftigopesa-tanzania","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbrax%2Ftigopesa-tanzania/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbrax%2Ftigopesa-tanzania/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbrax%2Ftigopesa-tanzania/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dbrax","download_url":"https://codeload.github.com/dbrax/tigopesa-tanzania/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230423564,"owners_count":18223435,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["emmanuel-mnzava","laravel","payments","php","tigo-client","tigopesa-tanzania"],"created_at":"2024-12-07T11:08:00.118Z","updated_at":"2024-12-19T11:13:02.027Z","avatar_url":"https://github.com/dbrax.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg src=\"https://github.com/dbrax/tigopesa-tanzania/blob/master/Tigopesa%20Laravel%20Library.jpeg\"\u003e\n# Tigopesa Secure API\n\n[![Latest Version on Packagist](https://img.shields.io/packagist/v/epmnzava/tigosecure.svg?style=flat-square)](https://packagist.org/packages/epmnzava/tigosecure)\n[![Total Downloads](https://img.shields.io/packagist/dt/epmnzava/tigosecure.svg?style=flat-square)](https://packagist.org/packages/epmnzava/tigosecure)\n[![Emmanuel Mnzava](https://img.shields.io/badge/Author-Emmanuel%20Mnzava-green)](mailto:epmnzava@gmail.com)\n\nThis package is created to help developers intergrate with Tigopesa Tanzania secure online api. More information of this can be found [here](https://epmnzava.medium.com/)\n\n## Installation\n\n\n## Version Matrix\n\nVersion | Laravel   | PHP Version\n------- | --------- | ------------\n1.0.0   | 8.0       | \u003e= 8.0 \n1.0.1   | 8.0       | \u003e= 7.3 \u003e= 8.0\n1.0.2   | 8.0       | \u003e= 7.2.5 \u003e= 9.0\n\nYou can install the package via composer:\n\n```bash\ncomposer require epmnzava/tigosecure\n```\n\n## Update your config (for Laravel 5.4 and below)\n\nAdd the service provider to the providers array in config/app.php:\n\n```php\nEpmnzava\\Tigosecure\\TigosecureServiceProvider::class,\n```\nAdd the facade to the aliases array in config/app.php:\n\n```php\n'Tigosecure' =\u003e\\Epmnzava\\Tigosecure\\TigosecureFacade::class,\n```\n\n## Publish the package configuration (for Laravel 5.4 and below)\n\nPublish the configuration file and migrations by running the provided console command:\n\n```bash\nphp artisan vendor:publish --provider=\"Epmnzava\\Tigosecure\\TigosecureServiceProvider\"\n```\n### Environmental Variables\n\n- TIGO_CLIENT_ID ` your provided tigopesa client id `\u003cbr/\u003e\n\n- TIGO_CLIENT_SECRET ` your provided tigopesa client secret `\u003cbr/\u003e\n\n- TIGO_API_URL ` your provided tigopesa api url  `\u003cbr/\u003e\n\n- TIGO_PIN ` your provided tigopesa pin number `\u003cbr/\u003e\n\n- TIGO_ACCOUNT_NUMBER ` your provided tigopesa  account number `\u003cbr/\u003e\n\n- TIGO_ACCOUNT_ID ` your provided tigopesa account id  `\u003cbr/\u003e\n\n- TIGO_REDIRECT    ` your  redirect url `\u003cbr/\u003e\n\n- TIGO_CALLBACK    ` your  callback url `\u003cbr/\u003e\n\n- APP_CURRENCY_CODE ` currency put TZS for Tanzanian Shillings `\u003cbr/\u003e\n\n- LANG ` language code  en for english and sw for swalihi`\u003cbr/\u003e\n\n## Usage\n\nThis release does not come with database tables for transaction or payments you need to create then  After you have filled all necessary variables , providers and facades this is how the package can be used.\n\nOn your controller \n\n``` php\n\u003c?php\n\nnamespace App\\Http\\Controllers;\n\nuse Tigosecure;\n\nuse Illuminate\\Http\\Request;\nclass TransactionController extends Controller\n{\n\n    public function customer_transaction(){\n\n        \n        // Tigosecure::make_payment(\"customerfirstname\",\"customerlastname\",\"customerlastname\",\"amount\",\"transaction_id\");\n        $tigopesa_response=Tigosecure::make_payment(\"jacob\",\"laizer\",\"jacob@primeware.co.tz\",\"3000\",\"98778835628\");\n\n       \n     return redirect($tigopesa_response-\u003eredirectUrl);\n\n    }\n\n```\n\n\nOn your controller you can also call it through this way.\n``` php\n\u003c?php\n\nnamespace App\\Http\\Controllers;\n\nuse BillMe;\nuse Illuminate\\Http\\Request;\nuse Epmnzava\\LocationDemografia\\Models\\Country;\nuse Epmnzava\\LocationDemografia\\Models\\State;\nuse Epmnzava\\Bulksms\\Bulksms;\nuse Epmnzava\\Telerivet\\Telerivet;\nuse Epmnzava\\Tigosecure\\Tigosecure;\nuse Spatie\\SslCertificate\\SslCertificate;\nuse Illuminate\\Http\\Request;\n\nclass TransactionController extends Controller\n{\n\n    public function customer_transaction(){\n\n        \n         $payment=new Tigosecure;\n        $response=$payment-\u003emake_payment(\"emmanuel\",\"mnzava\",\"epmnzava@gmail.com\",4000,\"48fhldplofhf\".rand(5,100));\n\n       \n        return redirect($response-\u003eredirectUrl);\n\n    }\n\n```\n\n### Testing\n\n``` bash\ncomposer test\n```\n\n### Changelog\n\nPlease see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.\n\n## Contributing\n\nPlease see [CONTRIBUTING](CONTRIBUTING.md) for details.\n\n### Security\n\nIf you discover any security related issues, please email epmnzava@gmail.com instead of using the issue tracker.\n\n## Credits\n\n- [Emmanuel Mnzava](https://github.com/dbrax)\n- [All Contributors](../../contributors)\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdbrax%2Ftigopesa-tanzania","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdbrax%2Ftigopesa-tanzania","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdbrax%2Ftigopesa-tanzania/lists"}