1. Go to this page and download the library: Download webwingscz/skautis-symfony library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
webwingscz / skautis-symfony example snippets
final class TeamController extends AbstractController
{
#[Route('/oddil')]
public function index(PersonApi $people, #[CurrentUser] SkautisUser $user): Response
{
return $this->render('team.html.twig', [
'members' => $people->listByUnit($user->getUnitId()),
]);
}
}