Skip to content

PHP code snippet – How to set application key in lumen?

$router->get('/key', function() {
    return \Illuminate\Support\Str::random(32);
});
See also  Python code snippet - How to time a script?

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.