├── .env.example ├── .gitattributes ├── .gitignore ├── LICENSE ├── README.md ├── cli.php ├── composer.json ├── composer.lock ├── database.sql ├── public ├── .htaccess ├── about.php ├── assets │ └── main.css └── index.php ├── src ├── App │ ├── Config │ │ ├── Middleware.php │ │ ├── Paths.php │ │ └── Routes.php │ ├── Controllers │ │ ├── AboutController.php │ │ ├── AuthController.php │ │ ├── ErrorController.php │ │ ├── HomeController.php │ │ ├── ReceiptController.php │ │ └── TransactionController.php │ ├── Exceptions │ │ └── SessionException.php │ ├── Middleware │ │ ├── AuthRequiredMiddleware.php │ │ ├── CsrfGuardMiddleware.php │ │ ├── CsrfTokenMiddleware.php │ │ ├── FlashMiddleware.php │ │ ├── GuestOnlyMiddleware.php │ │ ├── SessionMiddleware.php │ │ ├── TemplateDataMiddleware.php │ │ └── ValidationExceptionMiddleware.php │ ├── Services │ │ ├── ReceiptService.php │ │ ├── TransactionService.php │ │ ├── UserService.php │ │ └── ValidatorService.php │ ├── bootstrap.php │ ├── container-definitions.php │ ├── functions.php │ └── views │ │ ├── about.php │ │ ├── errors │ │ └── not-found.php │ │ ├── index.php │ │ ├── login.php │ │ ├── partials │ │ ├── _csrf.php │ │ ├── _footer.php │ │ └── _header.php │ │ ├── receipts │ │ └── create.php │ │ ├── register.php │ │ └── transactions │ │ ├── create.php │ │ └── edit.php └── Framework │ ├── App.php │ ├── Container.php │ ├── Contracts │ ├── MiddlewareInterface.php │ └── RuleInterface.php │ ├── Database.php │ ├── Exceptions │ ├── ContainerException.php │ └── ValidationException.php │ ├── Http.php │ ├── Router.php │ ├── Rules │ ├── DateFormatRule.php │ ├── EmailRule.php │ ├── InRule.php │ ├── LengthMaxRule.php │ ├── MatchRule.php │ ├── MinRule.php │ ├── NumericRule.php │ ├── RequiredRule.php │ └── UrlRule.php │ ├── TemplateEngine.php │ └── Validator.php └── storage └── uploads └── .gitkeep /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZTMLuisRamirez/phpiggy/HEAD/.env.example -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZTMLuisRamirez/phpiggy/HEAD/.gitattributes -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZTMLuisRamirez/phpiggy/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZTMLuisRamirez/phpiggy/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # phpiggy 2 | A PHP application for tracking expenses. 3 | -------------------------------------------------------------------------------- /cli.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZTMLuisRamirez/phpiggy/HEAD/cli.php -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZTMLuisRamirez/phpiggy/HEAD/composer.json -------------------------------------------------------------------------------- /composer.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZTMLuisRamirez/phpiggy/HEAD/composer.lock -------------------------------------------------------------------------------- /database.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZTMLuisRamirez/phpiggy/HEAD/database.sql -------------------------------------------------------------------------------- /public/.htaccess: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZTMLuisRamirez/phpiggy/HEAD/public/.htaccess -------------------------------------------------------------------------------- /public/about.php: -------------------------------------------------------------------------------- 1 | About page -------------------------------------------------------------------------------- /public/assets/main.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZTMLuisRamirez/phpiggy/HEAD/public/assets/main.css -------------------------------------------------------------------------------- /public/index.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZTMLuisRamirez/phpiggy/HEAD/public/index.php -------------------------------------------------------------------------------- /src/App/Config/Middleware.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZTMLuisRamirez/phpiggy/HEAD/src/App/Config/Middleware.php -------------------------------------------------------------------------------- /src/App/Config/Paths.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZTMLuisRamirez/phpiggy/HEAD/src/App/Config/Paths.php -------------------------------------------------------------------------------- /src/App/Config/Routes.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZTMLuisRamirez/phpiggy/HEAD/src/App/Config/Routes.php -------------------------------------------------------------------------------- /src/App/Controllers/AboutController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZTMLuisRamirez/phpiggy/HEAD/src/App/Controllers/AboutController.php -------------------------------------------------------------------------------- /src/App/Controllers/AuthController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZTMLuisRamirez/phpiggy/HEAD/src/App/Controllers/AuthController.php -------------------------------------------------------------------------------- /src/App/Controllers/ErrorController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZTMLuisRamirez/phpiggy/HEAD/src/App/Controllers/ErrorController.php -------------------------------------------------------------------------------- /src/App/Controllers/HomeController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZTMLuisRamirez/phpiggy/HEAD/src/App/Controllers/HomeController.php -------------------------------------------------------------------------------- /src/App/Controllers/ReceiptController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZTMLuisRamirez/phpiggy/HEAD/src/App/Controllers/ReceiptController.php -------------------------------------------------------------------------------- /src/App/Controllers/TransactionController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZTMLuisRamirez/phpiggy/HEAD/src/App/Controllers/TransactionController.php -------------------------------------------------------------------------------- /src/App/Exceptions/SessionException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZTMLuisRamirez/phpiggy/HEAD/src/App/Exceptions/SessionException.php -------------------------------------------------------------------------------- /src/App/Middleware/AuthRequiredMiddleware.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZTMLuisRamirez/phpiggy/HEAD/src/App/Middleware/AuthRequiredMiddleware.php -------------------------------------------------------------------------------- /src/App/Middleware/CsrfGuardMiddleware.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZTMLuisRamirez/phpiggy/HEAD/src/App/Middleware/CsrfGuardMiddleware.php -------------------------------------------------------------------------------- /src/App/Middleware/CsrfTokenMiddleware.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZTMLuisRamirez/phpiggy/HEAD/src/App/Middleware/CsrfTokenMiddleware.php -------------------------------------------------------------------------------- /src/App/Middleware/FlashMiddleware.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZTMLuisRamirez/phpiggy/HEAD/src/App/Middleware/FlashMiddleware.php -------------------------------------------------------------------------------- /src/App/Middleware/GuestOnlyMiddleware.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZTMLuisRamirez/phpiggy/HEAD/src/App/Middleware/GuestOnlyMiddleware.php -------------------------------------------------------------------------------- /src/App/Middleware/SessionMiddleware.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZTMLuisRamirez/phpiggy/HEAD/src/App/Middleware/SessionMiddleware.php -------------------------------------------------------------------------------- /src/App/Middleware/TemplateDataMiddleware.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZTMLuisRamirez/phpiggy/HEAD/src/App/Middleware/TemplateDataMiddleware.php -------------------------------------------------------------------------------- /src/App/Middleware/ValidationExceptionMiddleware.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZTMLuisRamirez/phpiggy/HEAD/src/App/Middleware/ValidationExceptionMiddleware.php -------------------------------------------------------------------------------- /src/App/Services/ReceiptService.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZTMLuisRamirez/phpiggy/HEAD/src/App/Services/ReceiptService.php -------------------------------------------------------------------------------- /src/App/Services/TransactionService.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZTMLuisRamirez/phpiggy/HEAD/src/App/Services/TransactionService.php -------------------------------------------------------------------------------- /src/App/Services/UserService.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZTMLuisRamirez/phpiggy/HEAD/src/App/Services/UserService.php -------------------------------------------------------------------------------- /src/App/Services/ValidatorService.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZTMLuisRamirez/phpiggy/HEAD/src/App/Services/ValidatorService.php -------------------------------------------------------------------------------- /src/App/bootstrap.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZTMLuisRamirez/phpiggy/HEAD/src/App/bootstrap.php -------------------------------------------------------------------------------- /src/App/container-definitions.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZTMLuisRamirez/phpiggy/HEAD/src/App/container-definitions.php -------------------------------------------------------------------------------- /src/App/functions.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZTMLuisRamirez/phpiggy/HEAD/src/App/functions.php -------------------------------------------------------------------------------- /src/App/views/about.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZTMLuisRamirez/phpiggy/HEAD/src/App/views/about.php -------------------------------------------------------------------------------- /src/App/views/errors/not-found.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZTMLuisRamirez/phpiggy/HEAD/src/App/views/errors/not-found.php -------------------------------------------------------------------------------- /src/App/views/index.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZTMLuisRamirez/phpiggy/HEAD/src/App/views/index.php -------------------------------------------------------------------------------- /src/App/views/login.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZTMLuisRamirez/phpiggy/HEAD/src/App/views/login.php -------------------------------------------------------------------------------- /src/App/views/partials/_csrf.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZTMLuisRamirez/phpiggy/HEAD/src/App/views/partials/_csrf.php -------------------------------------------------------------------------------- /src/App/views/partials/_footer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZTMLuisRamirez/phpiggy/HEAD/src/App/views/partials/_footer.php -------------------------------------------------------------------------------- /src/App/views/partials/_header.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZTMLuisRamirez/phpiggy/HEAD/src/App/views/partials/_header.php -------------------------------------------------------------------------------- /src/App/views/receipts/create.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZTMLuisRamirez/phpiggy/HEAD/src/App/views/receipts/create.php -------------------------------------------------------------------------------- /src/App/views/register.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZTMLuisRamirez/phpiggy/HEAD/src/App/views/register.php -------------------------------------------------------------------------------- /src/App/views/transactions/create.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZTMLuisRamirez/phpiggy/HEAD/src/App/views/transactions/create.php -------------------------------------------------------------------------------- /src/App/views/transactions/edit.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZTMLuisRamirez/phpiggy/HEAD/src/App/views/transactions/edit.php -------------------------------------------------------------------------------- /src/Framework/App.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZTMLuisRamirez/phpiggy/HEAD/src/Framework/App.php -------------------------------------------------------------------------------- /src/Framework/Container.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZTMLuisRamirez/phpiggy/HEAD/src/Framework/Container.php -------------------------------------------------------------------------------- /src/Framework/Contracts/MiddlewareInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZTMLuisRamirez/phpiggy/HEAD/src/Framework/Contracts/MiddlewareInterface.php -------------------------------------------------------------------------------- /src/Framework/Contracts/RuleInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZTMLuisRamirez/phpiggy/HEAD/src/Framework/Contracts/RuleInterface.php -------------------------------------------------------------------------------- /src/Framework/Database.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZTMLuisRamirez/phpiggy/HEAD/src/Framework/Database.php -------------------------------------------------------------------------------- /src/Framework/Exceptions/ContainerException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZTMLuisRamirez/phpiggy/HEAD/src/Framework/Exceptions/ContainerException.php -------------------------------------------------------------------------------- /src/Framework/Exceptions/ValidationException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZTMLuisRamirez/phpiggy/HEAD/src/Framework/Exceptions/ValidationException.php -------------------------------------------------------------------------------- /src/Framework/Http.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZTMLuisRamirez/phpiggy/HEAD/src/Framework/Http.php -------------------------------------------------------------------------------- /src/Framework/Router.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZTMLuisRamirez/phpiggy/HEAD/src/Framework/Router.php -------------------------------------------------------------------------------- /src/Framework/Rules/DateFormatRule.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZTMLuisRamirez/phpiggy/HEAD/src/Framework/Rules/DateFormatRule.php -------------------------------------------------------------------------------- /src/Framework/Rules/EmailRule.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZTMLuisRamirez/phpiggy/HEAD/src/Framework/Rules/EmailRule.php -------------------------------------------------------------------------------- /src/Framework/Rules/InRule.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZTMLuisRamirez/phpiggy/HEAD/src/Framework/Rules/InRule.php -------------------------------------------------------------------------------- /src/Framework/Rules/LengthMaxRule.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZTMLuisRamirez/phpiggy/HEAD/src/Framework/Rules/LengthMaxRule.php -------------------------------------------------------------------------------- /src/Framework/Rules/MatchRule.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZTMLuisRamirez/phpiggy/HEAD/src/Framework/Rules/MatchRule.php -------------------------------------------------------------------------------- /src/Framework/Rules/MinRule.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZTMLuisRamirez/phpiggy/HEAD/src/Framework/Rules/MinRule.php -------------------------------------------------------------------------------- /src/Framework/Rules/NumericRule.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZTMLuisRamirez/phpiggy/HEAD/src/Framework/Rules/NumericRule.php -------------------------------------------------------------------------------- /src/Framework/Rules/RequiredRule.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZTMLuisRamirez/phpiggy/HEAD/src/Framework/Rules/RequiredRule.php -------------------------------------------------------------------------------- /src/Framework/Rules/UrlRule.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZTMLuisRamirez/phpiggy/HEAD/src/Framework/Rules/UrlRule.php -------------------------------------------------------------------------------- /src/Framework/TemplateEngine.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZTMLuisRamirez/phpiggy/HEAD/src/Framework/TemplateEngine.php -------------------------------------------------------------------------------- /src/Framework/Validator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZTMLuisRamirez/phpiggy/HEAD/src/Framework/Validator.php -------------------------------------------------------------------------------- /storage/uploads/.gitkeep: -------------------------------------------------------------------------------- 1 | --------------------------------------------------------------------------------