# Help with User/Password in Slim Project

**URL:** <https://discourse.slimframework.com/t/help-with-user-password-in-slim-project/6109>\
**Category:** Questions\
**Created:** [April 28, 2025, 12:31pm UTC](https://discourse.slimframework.com/t/help-with-user-password-in-slim-project/6109 "2025-04-28T12:31:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ivsauer](https://avatars.discourse-cdn.com/v4/letter/i/e95f7d/32.png) [@ivsauer](https://discourse.slimframework.com/u/ivsauer)\
**Post date:** [April 28, 2025, 12:31pm UTC](https://discourse.slimframework.com/t/help-with-user-password-in-slim-project/6109/1 "2025-04-28T12:31:48Z")

</div>

Hello, my name is Iván. I’m new in Slim and PHP, I’m triyng to make a Token generator to access a page.

```php
<?php
use Psr\Http\Message\ResponseInterface as Response;
use Psr\Http\Message\ServerRequestInterface as Request;
use Slim\Factory\AppFactory;

require __DIR__. '/../vendor/autoload.php';

$app = AppFactory::create();
$app->setBasepath ('/prueba/public');

$app->get('/', function (Request $request, Response $response, $args) {
    $response->getBody()->write("Hola Mundo!");
    return $response;
});

$app->run();

```

That’s my “Hello World” page.  
I need to create a User and Password credentials and then verify it on the code above.

Can anyone help me with this project please?

---

<div class="post-metadata">

**Author:** ![tj\_gumis](https://avatars.discourse-cdn.com/v4/letter/t/c89c15/32.png) [@tj\_gumis](https://discourse.slimframework.com/u/tj_gumis)\
**Post date:** [April 29, 2025, 9:31pm UTC](https://discourse.slimframework.com/t/help-with-user-password-in-slim-project/6109/2 "2025-04-29T21:31:23Z")

</div>

How much time do you have, and how much do you care? Can you evaluate your php skills, lets say from 0 to 10?

---

<div class="post-metadata">

**Author:** ![avoutic](https://avatars.discourse-cdn.com/v4/letter/a/6f9a4e/32.png) [@avoutic](https://discourse.slimframework.com/u/avoutic)\
**Post date:** [November 21, 2025, 12:26pm UTC](https://discourse.slimframework.com/t/help-with-user-password-in-slim-project/6109/4 "2025-11-21T12:26:58Z")

</div>

Depends on how bare-bones you want to go.

You can build an authentication service yourself, or you could look at how [WebFramework](https://web-framework.com) does it (which bolts on top of Slim).
