PHP code example of cawakharkov / laravel-balance
1. Go to this page and download the library: Download cawakharkov/laravel-balance library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
cawakharkov / laravel-balance example snippets
artisan vendor:publish
artisan migrate --path=database/migrations/laravel-balance
\CawaKharkov\LaravelBalance\Providers\TransactionsProvider::class,
protected $transactions;
/**
* TransactionController constructor.
* @param TransactionRepositoryInterface $repo
*/
public function __construct(TransactionRepositoryInterface $repo)
{
$this->transactions = $repo;
}