{"id":14972489,"url":"https://github.com/ttskch/ttskchbs4formthemeadjusterbundle","last_synced_at":"2026-03-01T12:34:21.032Z","repository":{"id":57073380,"uuid":"115843291","full_name":"ttskch/TtskchBs4FormThemeAdjusterBundle","owner":"ttskch","description":"Symfony bundle provides adjusting of bootstrap4 form theme","archived":false,"fork":false,"pushed_at":"2018-11-09T04:32:20.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-24T11:13:39.528Z","etag":null,"topics":["bootstrap4","form","symfony","theme"],"latest_commit_sha":null,"homepage":"","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ttskch.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-12-31T04:46:55.000Z","updated_at":"2019-04-22T18:18:03.000Z","dependencies_parsed_at":"2022-08-24T10:52:06.735Z","dependency_job_id":null,"html_url":"https://github.com/ttskch/TtskchBs4FormThemeAdjusterBundle","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ttskch%2FTtskchBs4FormThemeAdjusterBundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ttskch%2FTtskchBs4FormThemeAdjusterBundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ttskch%2FTtskchBs4FormThemeAdjusterBundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ttskch%2FTtskchBs4FormThemeAdjusterBundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ttskch","download_url":"https://codeload.github.com/ttskch/TtskchBs4FormThemeAdjusterBundle/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240466796,"owners_count":19805862,"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","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":["bootstrap4","form","symfony","theme"],"created_at":"2024-09-24T13:46:59.802Z","updated_at":"2026-03-01T12:34:20.959Z","avatar_url":"https://github.com/ttskch.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TtskchBs4FormThemeAdjusterBundle\n\n[![Latest Stable Version](https://poser.pugx.org/ttskch/bs4-form-theme-adjuster-bundle/v/stable)](https://packagist.org/packages/ttskch/bs4-form-theme-adjuster-bundle)\n[![Total Downloads](https://poser.pugx.org/ttskch/bs4-form-theme-adjuster-bundle/downloads)](https://packagist.org/packages/ttskch/bs4-form-theme-adjuster-bundle)\n\n| | Before | After |\n| --- | --- | --- |\n| **Vertical layout** | ![image](https://user-images.githubusercontent.com/4360663/34511770-44b318d8-f0a1-11e7-92aa-e49a70d968ac.png) | ![image](https://user-images.githubusercontent.com/4360663/34511793-6dd2c5ba-f0a1-11e7-8b97-8d84f2bb1725.png) |\n| **Horizontal layout** | ![image](https://user-images.githubusercontent.com/4360663/34511756-29962662-f0a1-11e7-8777-cfc1b318d804.png) | ![image](https://user-images.githubusercontent.com/4360663/34511720-e0633732-f0a0-11e7-8981-b1b8ed07754b.png) |\n\n## Features\n\n* Automatic insertion of required sign (`*`)\n* Appropriate margin for checkbox has `checkbox-inline` class and radio button has `radio-inline` class\n* Muted placeholder of `\u003cselect\u003e`\n* More beautiful submit button\n\n## Requirement\n\n* Symfony ^3.4|^4.0\n\n## Instalation\n\n### 1. composer require\n\n```bash\n$ composer require ttskch/bs4-form-theme-adjuster-bundle:@dev\n```\n\n### 2. Register with symfony\n\n```php\n// config/bundles.php\nreturn [\n    // ...\n    Ttskch\\Bs4FormThemeAdjusterBundle\\TtskchBs4FormThemeAdjusterBundle:class =\u003e ['all' =\u003e true],\n];\n```\n\n### 3. Configure\n\n```yaml\n# config/packages/twig.yaml\ntwig:\n    form_themes:\n        - 'ttskch_bootstrap_4_layout.html.twig'\n        - 'ttskch_bootstrap_4_horizontal_layout.html.twig'  # to be the default theme\n```\n\n### 4. Install assets\n\n```bash\n$ bin/console assets:install --symlink public\n```\n\n### 5. Add loading assets into your layout\n\n```twig\n\u003cscript src=\"{{ asset('bundles/ttskchbs4formthemeadjuster/js/form.js') }}\"\u003e\u003c/script\u003e\n\u003clink href=\"{{ asset('bundles/ttskchbs4formthemeadjuster/css/form.css') }}\" rel=\"stylesheet\"\u003e\n```\n\nIf you use webpack (e.g. via [symfony/webpack-encore](https://github.com/symfony/webpack-encore)) you can add assets to your app like below.\n\n```diff\nEncore\n    // ...\n    .createSharedEntry('vendors', [\n        'jquery',\n        'bootstrap',\n        'popper.js',\n+       './public/bundles/ttskchbs4formthemeadjuster/js/form.js',\n+       './public/bundles/ttskchbs4formthemeadjuster/scss/form.scss',\n    ])\n    // ...\n;\n```\n\n## Getting involved\n\n1. Modify following resources\n    * `Resources/views/Form/*.twig`\n    * `Resources/public/js/form.js`\n    * `Resources/public/scss/form.scss`\n1. Build scss with `npm run build`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fttskch%2Fttskchbs4formthemeadjusterbundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fttskch%2Fttskchbs4formthemeadjusterbundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fttskch%2Fttskchbs4formthemeadjusterbundle/lists"}