Skip to content

A robust, lightweight PHP application designed for small businesses and freelancers to generate and manage invoices efficiently.

License

Notifications You must be signed in to change notification settings

digifoxlk/invoice-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Invoice App SaaS

A robust, lightweight PHP application designed for small businesses and freelancers to generate and manage invoices efficiently. Built on a custom MVC framework, this application demonstrates core web development concepts including routing, authentication, and database interaction without relying on heavy frameworks.

Features

  • Secure Authentication: User registration and login system handling secure sessions.
  • Invoice Management:
    • Create detailed invoices with multiple line items.
    • Automatic tax and total calculations.
    • View and manage invoice history.
  • PDF Generation: Instant PDF export functionalities using mpdf, allowing users to download or print invoices.
  • Custom MVC Architecture: built from scratch to provide a deep understanding of core PHP mechanics.
  • Responsive UI: Clean and user-friendly interface.

Tech Stack

  • Backend: PHP 8.0+
  • Database: MySQL
  • Frontend: HTML5, CSS3, JavaScript
  • Dependencies: mpdf/mpdf (PDF generation), vlucas/phpdotenv (Environment management)

Requirements

  • PHP 8.0+
  • MySQL
  • Composer

Installation

  1. Install Dependencies

    composer install
  2. Database Setup

    • Create a database named invoice_app.
    • Import the schema:
      mysql -u root -p invoice_app < database/schema.sql
    • Check .env and update DB credentials if necessary.

Running the App

Option A: PHP Built-in Server (Recommended)

Run the following command in the project root:

php -S localhost:8000 -t public

Visit: http://localhost:8000

Option B: Apache (XAMPP/WAMP)

About

A robust, lightweight PHP application designed for small businesses and freelancers to generate and manage invoices efficiently.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages