{"id":13828309,"url":"https://github.com/spatie/larabank-aggregates","last_synced_at":"2025-07-24T21:06:49.185Z","repository":{"id":47637257,"uuid":"179868759","full_name":"spatie/larabank-aggregates","owner":"spatie","description":"Larabank built with aggregates and projectors","archived":false,"fork":false,"pushed_at":"2024-08-20T09:33:45.000Z","size":2241,"stargazers_count":138,"open_issues_count":0,"forks_count":54,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-03-02T13:11:16.269Z","etag":null,"topics":["event-sourcing","laravel","laravel-event-projector","php"],"latest_commit_sha":null,"homepage":"https://spatie.be/docs/laravel-event-sourcing","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/spatie.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-04-06T18:03:45.000Z","updated_at":"2024-12-14T21:23:42.000Z","dependencies_parsed_at":"2023-11-13T09:50:06.123Z","dependency_job_id":null,"html_url":"https://github.com/spatie/larabank-aggregates","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spatie%2Flarabank-aggregates","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spatie%2Flarabank-aggregates/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spatie%2Flarabank-aggregates/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spatie%2Flarabank-aggregates/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spatie","download_url":"https://codeload.github.com/spatie/larabank-aggregates/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244066180,"owners_count":20392406,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["event-sourcing","laravel","laravel-event-projector","php"],"created_at":"2024-08-04T09:02:40.767Z","updated_at":"2025-03-17T16:10:30.049Z","avatar_url":"https://github.com/spatie.png","language":"PHP","funding_links":[],"categories":["PHP"],"sub_categories":[],"readme":"\n[\u003cimg src=\"https://github-ads.s3.eu-central-1.amazonaws.com/support-ukraine.svg?t=1\" /\u003e](https://supportukrainenow.org)\n\n# Larabank built with an aggregate and projectors 📽\n\n![Larabank accounts page](https://spatie.github.io/larabank-traditional/screenshot.png)\n\nThis is an example app used in the documentation of [laravel-event-sourcing](https://spatie.be/docs/laravel-event-sourcing).\n\nThese rules are implemented:\n- a user cannot go below -5000 on an account\n- when hitting the limit three times in a row a loan proposal mail must be sent\n\n## Support us\n\n[\u003cimg src=\"https://github-ads.s3.eu-central-1.amazonaws.com/larabank-aggregates.jpg?t=1\" width=\"419px\" /\u003e](https://spatie.be/github-ad-click/larabank-aggregates)\n\nWe invest a lot of resources into creating [best in class open source packages](https://spatie.be/open-source). You can support us by [buying one of our paid products](https://spatie.be/open-source/support-us).\n\nWe highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on [our contact page](https://spatie.be/about-us). We publish all received postcards on [our virtual postcard wall](https://spatie.be/open-source/postcards).\n\n## Getting started\n\n- Clone the repo\n- copy `.env.example` to `.env`\n- set the `DB_` environment variables in `.env` to your liking\n- create a database with the name specified in `DB_DATABASE`\n- `composer install`\n- `yarn`, `yarn run dev` (or the npm equivalents)\n- migrate and seed the database with `php artisan migrate:fresh --seed`\n- you can now log in with user \"user@larabank.com\", password \"secret\"\n\n## Credits\n\n- [Freek Van der Herten](https://github.com/freekmurze)\n- [All Contributors](../../contributors)\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspatie%2Flarabank-aggregates","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspatie%2Flarabank-aggregates","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspatie%2Flarabank-aggregates/lists"}