Skip to content
Larabank built with aggregates and projectors
Branch: master
Clone or download
Latest commit 6d19cd6 Apr 16, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
app wip Apr 16, 2019
bootstrap wip Apr 6, 2019
config update package Apr 16, 2019
database upgrade to stable v2 of projector Apr 8, 2019
docs wip Apr 7, 2019
public wip Apr 6, 2019
resources wip Apr 6, 2019
routes wip Apr 6, 2019
storage wip Apr 6, 2019
tests wip Apr 6, 2019
.editorconfig wip Apr 6, 2019
.env.example wip Apr 6, 2019
.gitignore wip Apr 6, 2019
.php_cs wip Apr 6, 2019 Merge branch 'master' of… Apr 7, 2019
composer.lock wip Apr 16, 2019
phpunit.xml wip Apr 6, 2019
server.php wip Apr 6, 2019
tailwind.js wip Apr 6, 2019
webpack.mix.js wip Apr 6, 2019
yarn.lock wip Apr 6, 2019

Larabank built with an aggregate and projectors 📽

Larabank accounts page

This is an example app used in the documentation of laravel-event-projector.

These rules are implemented:

  • a user cannot go below -5000 on an account
  • when hitting the limit three times in a row a loan proposal mail must be sent

Getting started

  • Clone the repo
  • copy env.example to .env
  • set the DB_ environment variables in .env to your liking
  • create a database with the name specified in DB_DATABASE
  • composer install
  • yarn, yarn run dev (or the npm equivalents)
  • migrate and seed the database with php artisan migrate:fresh --seed
  • you can now loging in with user "", password "secret"


Support us

Spatie is a webdesign agency based in Antwerp, Belgium. You'll find an overview of all our open source projects on our website.

Does your business depend on our contributions? Reach out and support us on Patreon. All pledges will be dedicated to allocating workforce on maintenance and new awesome stuff.


The MIT License (MIT). Please see License File for more information.

You can’t perform that action at this time.