{"id":23115501,"url":"https://github.com/eghojansu/symfony-snippet","last_synced_at":"2026-01-18T22:01:33.395Z","repository":{"id":98786980,"uuid":"112895532","full_name":"eghojansu/symfony-snippet","owner":"eghojansu","description":"Symfony object-related snippet","archived":false,"fork":false,"pushed_at":"2017-12-04T12:01:11.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-19T10:08:46.020Z","etag":null,"topics":["php-snippets","sublime-snippets","symfony-snippet"],"latest_commit_sha":null,"homepage":null,"language":null,"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/eghojansu.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-12-03T03:00:54.000Z","updated_at":"2017-12-03T03:05:34.000Z","dependencies_parsed_at":"2023-05-25T09:00:22.528Z","dependency_job_id":null,"html_url":"https://github.com/eghojansu/symfony-snippet","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/eghojansu/symfony-snippet","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eghojansu%2Fsymfony-snippet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eghojansu%2Fsymfony-snippet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eghojansu%2Fsymfony-snippet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eghojansu%2Fsymfony-snippet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eghojansu","download_url":"https://codeload.github.com/eghojansu/symfony-snippet/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eghojansu%2Fsymfony-snippet/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28552119,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T20:59:07.572Z","status":"ssl_error","status_checked_at":"2026-01-18T20:59:02.799Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["php-snippets","sublime-snippets","symfony-snippet"],"created_at":"2024-12-17T03:41:34.894Z","updated_at":"2026-01-18T22:01:33.376Z","avatar_url":"https://github.com/eghojansu.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Symfony Sublime Snippets\n\nInspired by [Doctrine Sublime Snippets][3].\n\nThis repository contains Symfony object-related snippet.\n\n## Installation\n\nFirst you need to install [Sublime Package Control][1], then execute command `Package Control: Add Repository` to insert this repository url [https://github.com/eghojansu/symfony-snippet.git][2].\n\nOr you can manually download this repository as zip/tar then extract in Sublime User Package directory.\n\n## Usage\n\nAll snippet has prefix `sf` as its tab trigger, for spesific tab trigger see below.\n\n## Snippet List\n\n### Framework Snippet\n\nSnippet template inspired by [symfony/maker-bundle][5].\n\n* Create Command (`sfcommand`)\n* Create Controller (`sfcontroller`)\n* Create Controller Method (`sfmethod`)\n* Render Twig on Method (`sfrendertwig`)\n* Create Form (`sfform`)\n\n### Validation (on entity) Snippet\n\nSee [Symfony constraints][4] for available assertion snippet.\n\nAssertion prefixed by `sfass` and living in block comment scope, so you need to put your cursor inside that scope.\nSnippet won't loading with tab trigger, but you can use command pallete control to insert.\n\nAdditional snippet:\n\n* Use/import Constraint as Assert (`sfuseconstraints`)\n\n### Doctrine ORM Snippet\n\n#### Properties\n\n* Array (`sfarrayproperty`)\n* Big Integer (`sfbigintegerproperty`)\n* Boolean (`sfbooleanproperty`)\n* Date (`sfdateproperty`)\n* DateTime (`sfdatetimeproperty`)\n* Decimal (`sfdecimalproperty`)\n* Integer (`sfintegerproperty`)\n* JSON Array (`sfjsonarrayproperty`)\n* Primary (`sfprimaryproperty`)\n* Simple Array (`sfsimplearrayproperty`)\n* Small Integer (`sfsmallintegerproperty`)\n* String (`sfstringproperty`)\n* Text (`sftextproperty`)\n* Time (`sftimeproperty`)\n\n#### Association\n\n* One to One Uni/Bidirectional map (`sfonetoonemapped`)\n* One to One Bidirectional inverse (`sfonetooneinverse`)\n* One to One Self (`sfselfonetoone`)\n* One to Many (`sfonetomany`)\n* Many to One (`sfmanytoone`)\n* Many To Many Bidirectional Inverse (`sfmanytomanybiinverse`)\n* Many To Many Bidirectional Mapped (`sfmanytomanybimapped`)\n* Many To Many Self Referencing (`sfmanytomanyself`)\n* Many To Many Unidirectional (`sfmanytomanyuni`)\n\n#### Additional Snippet\n\n* Create Entity\n* Create Repository\n\n\n```sh\nHappy coding,\n\nekokurniawan\n```\n\n[1]: https://packagecontrol.io/installation\n[2]: https://github.com/eghojansu/symfony-snippet.git\n[3]: https://github.com/npostulart/doctrine-sublime-snippets\n[4]: https://symfony.com/doc/current/reference/constraints.html\n[5]: https://packagist.org/packages/symfony/maker-bundle","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feghojansu%2Fsymfony-snippet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feghojansu%2Fsymfony-snippet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feghojansu%2Fsymfony-snippet/lists"}