Skip to content

Matkolit/Expense-tracker-CLI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Expense tracker application to manage your finances in CLI.


Features:

  • Users can add an expense with a description and amount
  • Users can update an expense.
  • Users can delete an expense.
  • Users can view all expenses.
  • Users can view a summary of all expenses.
  • Users can view a summary of expenses for a specific month (of current year).
  • Users can add expense categories and allow users to filter by category.
  • Users can set a budget for each month and app shows a warning when the user exceeds the budget.
  • Users can export expenses to CSV file.

Commands Example:

Add expenses

./index.php add --description "Lunch" --amount 20 --category "Food"

List expenses

# List All Expenses:

./index.php all

# Or list by category:

./index.php all --category "Food"
  • Listed Expenses

Expenses table

Delete expenses

./index.php delete --id 1

Update expenses

./index.php udpate --id 1 --description="Monday Lunch" --amount 25

Summary of expenses

# Summary of the expenses

./index.php summary 

# Summary of the selected month

./index.php summary --month 9

Set budget for month

./index.php budget --limit 1000 --month 3

Export budget to CSV

./index.php export

Instalation

  1. Clone the repository to your local machine:
  git clone https://github.com/F4eNn/Expense-tracker-CLI.git
  1. Install dependencies:
  composer install

About

Expense tracker in CLI

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages