Skip to content

About

Reusable CakePHP 5 infrastructure for user identity, account lifecycle, authentication integration, ULIDs, request actor context, and `created_by`/`modified_by` auditing.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

24 Commits

Folders and files

Repository files navigation

Foundation

Reusable CakePHP 5 infrastructure for account identity, account lifecycle, authentication integration, ULIDs, request actor context, and created_by/modified_by auditing.

Foundation deliberately does not define product roles, profiles, permissions, layouts, or business onboarding. Applications extend accounts with associated profile tables and lifecycle event listeners.

Install in a host application

Load Foundation as a CakePHP plugin and run its migrations:

bin/cake migrations migrate -p Foundation

Plugin account routes are disabled by default. Enable them in host configuration with:

Configure::write('Foundation.routes.enabled', true);

The host application remains responsible for adding authentication middleware and using Foundation\Authentication\AuthenticationServiceFactory from its AuthenticationServiceProviderInterface implementation.

See config/foundation.php for safe defaults and extension points.

License

This project is licensed under the BSD 3-Clause License.

Copyright (c) 2026, Chris Valliere

See the License file for deatails.

About

Reusable CakePHP 5 infrastructure for user identity, account lifecycle, authentication integration, ULIDs, request actor context, and `created_by`/`modified_by` auditing.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages