{"id":20126044,"url":"https://github.com/inteve/forms","last_synced_at":"2026-05-13T09:02:35.609Z","repository":{"id":56992734,"uuid":"58905228","full_name":"inteve/forms","owner":"inteve","description":"Controls for Nette\\Forms","archived":false,"fork":false,"pushed_at":"2025-07-04T12:52:52.000Z","size":45,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-17T08:56:35.772Z","etag":null,"topics":["forms","nette","nette-forms","php"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/inteve.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":".github/funding.yml","license":"license.md","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},"funding":{"custom":"https://www.janpecha.cz/donate/"}},"created_at":"2016-05-16T05:09:01.000Z","updated_at":"2025-07-04T12:51:34.000Z","dependencies_parsed_at":"2024-11-13T14:46:02.750Z","dependency_job_id":null,"html_url":"https://github.com/inteve/forms","commit_stats":{"total_commits":39,"total_committers":1,"mean_commits":39.0,"dds":0.0,"last_synced_commit":"f460f03e47d17824e26eadd5bf16e22b236c48a2"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/inteve/forms","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inteve%2Fforms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inteve%2Fforms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inteve%2Fforms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inteve%2Fforms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/inteve","download_url":"https://codeload.github.com/inteve/forms/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inteve%2Fforms/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32975183,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T06:31:55.726Z","status":"ssl_error","status_checked_at":"2026-05-13T06:31:51.336Z","response_time":115,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["forms","nette","nette-forms","php"],"created_at":"2024-11-13T20:12:53.626Z","updated_at":"2026-05-13T09:02:35.602Z","avatar_url":"https://github.com/inteve.png","language":"PHP","funding_links":["https://www.janpecha.cz/donate/"],"categories":[],"sub_categories":[],"readme":"Inteve\\Forms\n============\n\n[![Build Status](https://github.com/inteve/forms/workflows/Build/badge.svg)](https://github.com/inteve/forms/actions)\n[![Downloads this Month](https://img.shields.io/packagist/dm/inteve/forms.svg)](https://packagist.org/packages/inteve/forms)\n[![Latest Stable Version](https://poser.pugx.org/inteve/forms/v/stable)](https://github.com/inteve/forms/releases)\n[![License](https://img.shields.io/badge/license-New%20BSD-blue.svg)](https://github.com/inteve/forms/blob/master/license.md)\n\nControls for Nette\\Forms.\n\n\u003ca href=\"https://www.janpecha.cz/donate/\"\u003e\u003cimg src=\"https://buymecoffee.intm.org/img/donate-banner.v1.svg\" alt=\"Donate\" height=\"100\"\u003e\u003c/a\u003e\n\n\nInstallation\n------------\n\n[Download a latest package](https://github.com/inteve/forms/releases) or use [Composer](http://getcomposer.org/):\n\n```\ncomposer require inteve/forms\n```\n\nLibrary requires PHP 8.0 or later.\n\n\nDateInput\n---------\n\n```php\n$form['date'] = new Inteve\\Forms\\DateInput('Date:', 'Error message for invalid date.');\n$form['date']-\u003esetDefaultValue(new \\DateTimeImmutable('2018-01-01 20:18'));\n$form['date']-\u003esetDefaultValue(new \\DateTime('2018-01-01 20:18'));\n\n$form['date']-\u003egetValue(); // DateTimeImmutable|NULL\n```\n\n\nDateTimeInput\n-------------\n\n```php\n$form['datetime'] = new Inteve\\Forms\\DateTimeInput('Datetime:', 'Error message for invalid datetime.');\n$form['datetime']-\u003esetDefaultValue(new \\DateTimeImmutable('2018-01-01 20:18'));\n$form['datetime']-\u003esetDefaultValue(new \\DateTime('2018-01-01 20:18'));\n\n$form['datetime']-\u003egetValue(); // DateTimeImmutable|NULL\n```\n\nYou can set timezone for HTML value.\n\n```php\n$form['datetime'] = new Inteve\\Forms\\DateTimeInput('Datetime:', $errorMessage, 'Europe/Prague');\n```\n\n\nTimeInput\n---------\n\n```php\n$form['time'] = new Inteve\\Forms\\TimeInput('Time:', 'Error message for invalid time.');\n$form['time']-\u003esetDefaultValue(new \\DateTimeImmutable('2018-01-01 20:18'));\n$form['time']-\u003esetDefaultValue(new \\DateTime('2018-01-01 20:18'));\n$form['time']-\u003esetDefaultValue(new \\DateInterval('PT20H18M'));\n\n$form['time']-\u003egetValue(); // DateInterval|NULL\n```\n\n\nOthers\n------\n\n* HtmlInput\n* UrlPathInput\n* UrlSlugInput\n\n\n------------------------------\n\nLicense: [New BSD License](license.md)\n\u003cbr\u003eAuthor: Jan Pecha, https://www.janpecha.cz/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finteve%2Fforms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finteve%2Fforms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finteve%2Fforms/lists"}