{"id":16292691,"url":"https://github.com/juniwalk/tessa","last_synced_at":"2026-02-16T23:16:57.876Z","repository":{"id":57003095,"uuid":"161630008","full_name":"juniwalk/tessa","owner":"juniwalk","description":null,"archived":false,"fork":false,"pushed_at":"2024-06-05T11:10:11.000Z","size":125,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-20T10:09:02.328Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/juniwalk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-12-13T11:35:24.000Z","updated_at":"2024-06-05T11:09:46.000Z","dependencies_parsed_at":"2024-04-20T20:21:57.679Z","dependency_job_id":"06fd9b0b-4153-45df-b2cd-0df8b6b6a314","html_url":"https://github.com/juniwalk/tessa","commit_stats":{"total_commits":116,"total_committers":2,"mean_commits":58.0,"dds":0.008620689655172376,"last_synced_commit":"5740ab13860628a449b5382ba6953fd146a091f4"},"previous_names":[],"tags_count":31,"template":false,"template_full_name":null,"purl":"pkg:github/juniwalk/tessa","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juniwalk%2Ftessa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juniwalk%2Ftessa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juniwalk%2Ftessa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juniwalk%2Ftessa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/juniwalk","download_url":"https://codeload.github.com/juniwalk/tessa/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juniwalk%2Ftessa/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279016923,"owners_count":26085905,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-13T02:00:06.723Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-10T20:08:28.727Z","updated_at":"2025-10-13T20:05:01.762Z","avatar_url":"https://github.com/juniwalk.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Installation\n\nTo install latest version of `juniwalk/tessa` use [Composer](https://getcomposer.org).\n\n```bash\ncomposer require juniwalk/tessa\n```\n\n\n### Usage\n\nCheck [config.neon](tests/config.neon) from tests for more details.\n\n```neon\nextensions:\n\ttessa: JuniWalk\\Tessa\\DI\\TessaExtension\n\ntessa:\n\toutputDir: %wwwDir%/static\n\tcheckLastModified: true\n\n\tdefault:\n\t\tdefer: true\n\t\tassets:\n\t\t\t- %moduleDir%/font-awesome/css/font-awesome.min.css\n\t\t\t- %moduleDir%/jquery/dist/jquery.min.js\n\t\t\t- %moduleDir%/bootstrap/dist/css/bootstrap.min.css\n\t\t\t- %moduleDir%/bootstrap/dist/js/bootstrap.min.js\n\t\t\t- %moduleDir%/nette-forms/src/assets/netteForms.min.js\n\t\t\t- %wwwDir%/assets/style.css\n\t\t\t- %wwwDir%/assets/index.js\n\n\tfrontend:\n\t\textend: default\n\t\tassets: []\n\n\tbackend:\n\t\textend: default\n\t\tassets:\n\t\t\t- %wwwDir%/assets/admin.js\n\n\tfullcalendar:\n\t\tdefer: true\n\t\tassets:\n\t\t\t- %moduleDir%/fullcalendar/index.global.min.js\n```\n\nInclude `AssetManager` trait to get access to Tessa component.\n\n```php\nuse JuniWalk\\Tessa\\Attributes\\AssetBundle;\nuse JuniWalk\\Tessa\\Traits\\AssetManager;\n\n#[AssetBundle('frontend')]\nclass TessaPresenter extends Presenter\n{\n\tuse AssetManager;\n\n\t#[AssetBundle('calendar')]\n\tpublic function actionCalendar(): void {}\n}\n```\n\nThen render styles and scripts in template from Presenter attributes.\n\n```latte\n\u003c!DOCTYPE html\u003e\n\u003chtml\u003e\n\u003chead\u003e\n\n\t\u003ctitle\u003eTessa example\u003c/title\u003e\n\t{control tessa:css}\n\t{control tessa:js}\n\n\u003c/head\u003e\n\u003cbody\u003e\n\n\t\u003c!-- your page content --\u003e\n\n\u003c/body\u003e\n\u003c/html\u003e\n```\n\nAlternatively you can render specific part of bundle.\n\n```latte\n\u003c!DOCTYPE html\u003e\n\u003chtml\u003e\n\u003chead\u003e\n\n\t\u003ctitle\u003eRender just fullcalendar scripts\u003c/title\u003e\n\t{control tessa:js 'fullcalendar'}\n\n\u003c/head\u003e\n\u003cbody\u003e\n\n\t\u003c!-- your page content --\u003e\n\n\u003c/body\u003e\n\u003c/html\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuniwalk%2Ftessa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjuniwalk%2Ftessa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuniwalk%2Ftessa/lists"}