Download the PHP package dnj/laravel-account without Composer
On this page you can find all versions of the php package dnj/laravel-account. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package laravel-account
Management user account and transaction inside laravel app
Introduction
The dnj/laravel-account package provides easy way to manage accounts and transactions of the users in your app. The Package stores all data in the accounts and transactions table.
- Latest versions of PHP and PHPUnit and PHPCsFixer
- Best practices applied:
README.md
(badges included)LICENSE
composer.json
phpunit.xml
.gitignore
.php-cs-fixer.php
Open Api 3
- Some useful resources to start coding
Here's a demo of how you can use it:
Installation
You can install the package via composer:
The package will automatically register itself.
After this you can create required tables by running the migrations:
You can optionally publish the config file with:
Config file:
Working With Accounts
Create new account:
Update account:
Destroy account:
Working With Transactions
Create transaction:
Update transaction:
Rollback transaction:
How to use package API
A document in YAML format has been prepared for better familiarization and use of package web services. which is placed in the openapi.json
file.
To use this file, you can import it on the Swagger site and see all available methods.
Contribution
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Testing
You can run unit tests with PHP Unit:
About
We'll try to maintain this project as simple as possible, but Pull Requests are welcomed!
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-account with dependencies
dnj/laravel-currency Version ^1.0.1
dnj/number Version ^1.0.0
laravel/legacy-factories Version ^1.3
dnj/laravel-user-logger Version ^1.0.0