Skip to content

Esmond-M/invoice-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Freelance Time Tracker & Invoice Manager

A full-stack web app for freelancers to track billable hours, manage clients, and generate professional PDF invoices — built with Laravel 12, Tailwind CSS, and Alpine.js.

Live Demo

🔗 invoicer.esmondmccain.com

Field Value
Email demo@example.com
Password password

Features

  • Clients — CRUD, default hourly rate, currency
  • Projects — link to clients, per-project hourly rate, status (active / paused / completed)
  • Time Entries — manual log or live timer start/stop from the dashboard
  • Invoices — auto-generated invoice numbers, line items from billed time entries, tax rate, PDF export
  • Dashboard — hours this week/month, unbilled amount by project, live elapsed clock for running timers
  • Filters — filter time entries by project and/or date range
  • PDF export — clean A4 invoice PDF via dompdf (/invoices/{id}/pdf)
  • Auth — login / register via Laravel Breeze (Blade stack)

Tech Stack

Layer Choice
Framework Laravel 12.x
PHP 8.4
Auth Laravel Breeze (Blade)
Database SQLite (local dev)
Frontend Tailwind CSS + Alpine.js via Vite
PDF barryvdh/laravel-dompdf

Getting Started

# 1. Clone
git clone https://github.com/Esmond-M/invoice-app.git
cd invoice-app

# 2. Install dependencies
composer install
npm install

# 3. Environment
cp .env.example .env
php artisan key:generate

# 4. Database + demo seed
php artisan migrate --seed

# 5. Build assets
npm run build

# 6. Serve
php artisan serve

Open http://localhost:8000 and log in with the demo account:

Field Value
Email demo@example.com
Password password

Demo Data

The seeder creates:

  • 2 clients (Acme Corp, Nova Digital)
  • 3 projects (Website Redesign, REST API Integration, Internal Tools)
  • 13 time entries across 3 weeks
  • 1 sent invoice (INV-0001)

Project Structure

app/
  Http/Controllers/   # Dashboard, Client, Project, TimeEntry, Timer, Invoice
  Models/             # Client, Project, TimeEntry, Invoice, InvoiceLineItem
  Policies/           # Ownership-based auth (ClientPolicy, ProjectPolicy, ...)
resources/views/
  layouts/app.blade.php   # Sidebar layout with Alpine.js mobile toggle
  dashboard.blade.php
  clients/
  projects/
  time-entries/
  invoices/               # includes pdf.blade.php for dompdf
database/
  migrations/
  seeders/DatabaseSeeder.php

License

MIT

Build Status Total Downloads Latest Stable Version License

About Laravel

Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel takes the pain out of development by easing common tasks used in many web projects, such as:

Laravel is accessible, powerful, and provides tools required for large, robust applications.

Learning Laravel

Laravel has the most extensive and thorough documentation and video tutorial library of all modern web application frameworks, making it a breeze to get started with the framework. You can also check out Laravel Learn, where you will be guided through building a modern Laravel application.

If you don't feel like reading, Laracasts can help. Laracasts contains thousands of video tutorials on a range of topics including Laravel, modern PHP, unit testing, and JavaScript. Boost your skills by digging into our comprehensive video library.

Laravel Sponsors

We would like to extend our thanks to the following sponsors for funding Laravel development. If you are interested in becoming a sponsor, please visit the Laravel Partners program.

Premium Partners

Contributing

Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the Laravel documentation.

Code of Conduct

In order to ensure that the Laravel community is welcoming to all, please review and abide by the Code of Conduct.

Security Vulnerabilities

If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell via taylor@laravel.com. All security vulnerabilities will be promptly addressed.

License

The Laravel framework is open-sourced software licensed under the MIT license.

About

A full-stack web app for freelancers to track billable hours, manage clients, and generate professional PDF invoices — built with Laravel 12, Tailwind CSS, and Alpine.js.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors