A barebones implementation of an atproto PDS in PHP and Slim Framework 4.
pds php atproto
0

Configure Feed

Select the types of activity you want to include in your feed.

chore: workspace improvements

Andrés Ignacio Torres (May 15, 2026, 10:29 PM -0700) 8eecd026 621a9386

+39 -5
+4
.githooks/pre-commit
··· 1 + #!/bin/sh 2 + set -eu 3 + 4 + composer phpcs
+2
.gitignore
··· 1 1 .idea/ 2 2 .vscode/ 3 + !.vscdode/extensions.json 4 + !.vscode/settings.json 3 5 /coverage/ 4 6 /vendor/ 5 7 /logs/*
+5
.vscode/extensions.json
··· 1 + { 2 + "recommendations": [ 3 + "shevaua.phpcs" 4 + ] 5 + }
+7
.vscode/settings.json
··· 1 + { 2 + "phpcs.enable": true, 3 + "phpcs.executablePath": "vendor/bin/phpcs", 4 + "phpcs.standard": "PSR12", 5 + "phpcs.showWarnings": true, 6 + "phpcs.autoFixOnSave": true 7 + }
+20
README.md
··· 33 33 composer test 34 34 ``` 35 35 36 + To run PHPCS manually: 37 + 38 + ```bash 39 + composer phpcs 40 + ``` 41 + 42 + To auto-fix what PHPCBF can fix: 43 + 44 + ```bash 45 + composer phpcbf 46 + ``` 47 + 48 + To run PHPCS automatically in VS Code, install the recommended PHPCS extension from `.vscode/extensions.json` and use the workspace settings in `.vscode/settings.json`. 49 + 50 + To run PHPCS before every commit, enable the tracked Git hook with: 51 + 52 + ```bash 53 + git config core.hooksPath .githooks 54 + ``` 55 + 36 56 ## License 37 57 38 58 This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.
+1 -5
src/Application/Handlers/HttpErrorHandler.php
··· 50 50 } 51 51 } 52 52 53 - if ( 54 - !($exception instanceof HttpException) 55 - && $exception instanceof Throwable 56 - && $this->displayErrorDetails 57 - ) { 53 + if (!($exception instanceof HttpException) && $this->displayErrorDetails) { 58 54 $error->setDescription($exception->getMessage()); 59 55 } 60 56