> For the complete documentation index, see [llms.txt](https://ronaldaug.gitbook.io/sim-rest/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ronaldaug.gitbook.io/sim-rest/session.md).

# Session

Laravel like Session class

**put()** - Example of adding **key** & **value** to Session

```php
Session::put("key",$value);
```

**get()** - Example of getting a **value** from Session

```php
Session::get("key");
```

**has()** - Example of adding checking a value is exist or not

return | **Boolean**

```php
Session::has("key");
```

**forget()** - Example of adding **key** & **value** to Session

```php
Session::forget("key");
```
