osarze / account
A basics package for all account related actions
Installs: 3
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/osarze/account
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-12-27 16:04:05 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