CakePHP ExposePublic UUIDs, internal integer keys
Add a public lookup identifier without changing your database relations.
Add a public lookup identifier without changing your database relations.
Keep integer primary keys for internal joins and use a separate UUID in public URLs. The default UUIDv4 generator adds no timestamp or record counter to the identifier. Your application still needs authentication and authorization for private records.