{"id":17865791,"url":"https://github.com/ttskch/symfony-skeleton","last_synced_at":"2025-03-21T04:32:50.213Z","repository":{"id":57073395,"uuid":"115362237","full_name":"ttskch/symfony-skeleton","owner":"ttskch","description":"A skeleton to get started with Symfony and Bootstrap4","archived":false,"fork":false,"pushed_at":"2023-01-11T01:05:34.000Z","size":238,"stargazers_count":5,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-06-28T08:42:10.757Z","etag":null,"topics":["bootstrap4","silex","skeleton","symfony","symfony4"],"latest_commit_sha":null,"homepage":"","language":"PHP","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-25T20:43:35.000Z","updated_at":"2023-04-21T17:43:00.000Z","dependencies_parsed_at":"2023-02-08T21:16:57.971Z","dependency_job_id":null,"html_url":"https://github.com/ttskch/symfony-skeleton","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%2Fsymfony-skeleton","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ttskch%2Fsymfony-skeleton/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ttskch%2Fsymfony-skeleton/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ttskch%2Fsymfony-skeleton/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ttskch","download_url":"https://codeload.github.com/ttskch/symfony-skeleton/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221811464,"owners_count":16884335,"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","silex","skeleton","symfony","symfony4"],"created_at":"2024-10-28T09:25:00.829Z","updated_at":"2024-10-28T09:25:01.617Z","avatar_url":"https://github.com/ttskch.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# symfony-skeleton\n\n[![Latest Stable Version](https://poser.pugx.org/ttskch/symfony-skeleton/v/stable)](https://packagist.org/packages/ttskch/symfony-skeleton)\n[![Total Downloads](https://poser.pugx.org/ttskch/symfony-skeleton/downloads)](https://packagist.org/packages/ttskch/symfony-skeleton)\n\n![](https://tva1.sinaimg.cn/large/007S8ZIlgy1ghesk53dd1j315p0u0h6a.jpg)\n\nA skeleton to get started with Symfony which has following features.\n\n* OGP ready\n* Bootstrap4 based templates\n* Bootstrap4 based beautiful form themes\n* font-awesome ready\n* [select2](https://github.com/select2/select2) and [bootstrap4 theme](https://github.com/ttskch/select2-bootstrap4-theme) ready\n* scss support (via [symfony/webpack-encore](https://github.com/symfony/webpack-encore))\n\n## Requirements\n\n* PHP 7.1.3+\n* npm\n\n## Installation\n\n```bash\n$ composer create-project ttskch/symfony-skeleton:@dev {project-name}\n```\n\n## Usage\n\n```bash\n$ symfony server:start\n```\n\n\u003e If you don't have [symfony command](https://symfony.com/doc/current/setup/symfony_server.html) first [install it](https://symfony.com/download). \n\nThen browse http://localhost:8000\n\n### Form themes\n\nRearrange `twig.form_themes` array elements to specify the default theme.\n\n```yaml\n# config/packages/twig.yaml\ntwig:\n    form_themes:\n        - 'form_theme/bootstrap_4_layout.html.twig'\n#        - 'form_theme/bootstrap_4_horizontal_layout.html.twig'   # to be the default theme\n```\n\nYou can also set arbitrary form theme to a specific form like below.\n\n```twig\n{% form_theme form 'form_theme/your_own_form_theme.html.twig' %}\n{{ form(form) }}\n```\n\n#### Default appearances\n\n| | before sending | with errors |\n| --- | --- | --- |\n| **horizontal** | ![](https://tva1.sinaimg.cn/large/007S8ZIlgy1ghesk53dd1j315p0u0h6a.jpg) | ![](https://tva1.sinaimg.cn/large/007S8ZIlgy1gheskd4hkvj315p0u0avv.jpg) |\n| **vertical** | ![](https://tva1.sinaimg.cn/large/007S8ZIlgy1ghesjxu8d2j315p0u0qnm.jpg) | ![](https://tva1.sinaimg.cn/large/007S8ZIlgy1ghesjqo1yrj315p0u0e1n.jpg) |\n\n## Development\n\n### Scaffolding\n\nYou can create new classes with `bin/console make:` commands like below.\n\n```bash\n$ bin/console list make\nAvailable commands for the \"make\" namespace:\n  make:auth                   Creates a Guard authenticator of different flavors\n  make:command                Creates a new console command class\n  make:controller             Creates a new controller class\n  make:crud                   Creates CRUD for Doctrine entity class\n  make:entity                 Creates or updates a Doctrine entity class, and optionally an API Platform resource\n  make:fixtures               Creates a new class to load Doctrine fixtures\n  make:form                   Creates a new form class\n  make:functional-test        Creates a new functional test class\n  make:message                Creates a new message and handler\n  make:messenger-middleware   Creates a new messenger middleware\n  make:migration              Creates a new migration based on database changes\n  make:registration-form      Creates a new registration form system\n  make:reset-password         Create controller, entity, and repositories for use with symfonycasts/reset-password-bundle.\n  make:serializer:encoder     Creates a new serializer encoder class\n  make:serializer:normalizer  Creates a new serializer normalizer class\n  make:subscriber             Creates a new event subscriber class\n  make:twig-extension         Creates a new Twig extension class\n  make:unit-test              Creates a new unit test class\n  make:user                   Creates a new security user class\n  make:validator              Creates a new validator and constraint class\n  make:voter                  Creates a new security voter class\n```\n\n### Assets\n\nAll assets in `assets` will be built with [Webpack Encore](http://symfony.com/doc/current/frontend.html) into `public/build`.\n\n```bash\n$ npm run dev     # encore dev\n$ npm run watch   # encore dev --watch\n$ npm run build   # encore production\n\n# or\n\n$ yarn dev\n$ yarn watch\n$ yarn build\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fttskch%2Fsymfony-skeleton","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fttskch%2Fsymfony-skeleton","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fttskch%2Fsymfony-skeleton/lists"}