My personal expenses tracking using the PHP Slim Framework with Laravel's Eloquent as database provider and Twig as template engine.
- PHP 5.5 or greater
- MySQL or MariaDB database
- Composer dependency manager for PHP
intl
andpdo_mysql
PHP extensions
Install 3rd party PHP dependencies using Composer:
composer install
Create database using the scripts in db/
.
Customize configuration in src/app/settings.php
.
Install node dependencies:
npm install
Build CSS from SASS:
grunt dev
To run in development use one of the following commands:
composer start
# or
php -S 0.0.0.0:4000 -t src/public
Then open http://localhost:4000 in a web browser.
Build CSS from SASS:
grunt
Point your virtual host document root to the application's src/public/
directory and ensure logs/
is web writeable.
Copy src/app/settings-local.php.example
to src/app/settings-local.php
and apply your production settings.