osarze / account
A basics package for all account related actions
dev-main
2022-03-27 07:40 UTC
Requires
- php: ^7.4|8.*
Requires (Dev)
- orchestra/testbench: ^5.0|^6.0
- phpunit/phpunit: ^8.0|^9.0
This package is auto-updated.
Last update: 2025-06-27 15:01:38 UTC
README
#Installation
You can install the package via composer:
composer require osarze/account dev-main
Run Migration
php artisan migrate
End Points
To create account, Create a Post request
/account
To Credit Account Create a Post request to
/credit
passing the amount
and account
as the request body
To Debit Account Create a Post request to
/credit
passing the amount
and account
as the request body
To check account balance send a Get request to
{accountNo}/balance
Replacing accountNo
with the actual account number