{"id":13517256,"url":"https://github.com/garak/electron-symfony","last_synced_at":"2025-07-06T07:03:27.725Z","repository":{"id":137550648,"uuid":"59743491","full_name":"garak/electron-symfony","owner":"garak","description":"A Symfony application inside electron","archived":false,"fork":false,"pushed_at":"2017-08-15T12:53:02.000Z","size":5,"stargazers_count":81,"open_issues_count":0,"forks_count":15,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-03-18T02:44:16.891Z","etag":null,"topics":["electron","hacktoberfest","symfony"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/garak.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}},"created_at":"2016-05-26T11:01:12.000Z","updated_at":"2025-03-13T21:54:10.000Z","dependencies_parsed_at":"2024-01-17T00:40:01.307Z","dependency_job_id":"cc09838c-1dae-4a47-bd5e-12cefad38b2e","html_url":"https://github.com/garak/electron-symfony","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/garak%2Felectron-symfony","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garak%2Felectron-symfony/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garak%2Felectron-symfony/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garak%2Felectron-symfony/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/garak","download_url":"https://codeload.github.com/garak/electron-symfony/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244822650,"owners_count":20516144,"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":["electron","hacktoberfest","symfony"],"created_at":"2024-08-01T05:01:31.848Z","updated_at":"2025-03-21T15:31:25.093Z","avatar_url":"https://github.com/garak.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"Electron Symfony\n================\n\nThis simple project allows to run a Symfony application inside Electron.\nIt's simply a default Electron build (see https://github.com/electron/electron-quick-start)\nwith gulp-connect-php, needed to run PHP.\nIndeed, you can use this to run any PHP application, not just a Symfony one.\n\nYou need npm installed on your machine to get this working.\n\nInstallation\n------------\n\n* clone this repository\n* run `npm install`\n* put your Symfony project under `project` directory. If you prefer a different name, just edit `main.js` accordingly\n* for portability, you should put a php static installation under `php` directory. If want to just give a try,\n  you could use your already system-wide installed PHP. In this case, edit `main.js` and point the PHP path\n  to your actual path (in the `bin` option of `php.server()`). E.g., for Ubuntu the path is `usr/bin/php`\n* for portability, you should use a sqlite database. If you want to just give a try, you can use a \"classic\" database\n  (like MySql)\n* if your Symfony project is using assets from a CDN, you must copy such assets in your local folders, since\n  CDN assets are not working inside electron.\n  For example, if you're using something like `//code.jquery.com/jquery-2.2.3.js`, you need to\n  downalod `jquery-2.2.3.js` file and put it under `web/js` directory, then adjust your templates accordingly.\n* Also, if you use jquery, take a look to [this issue](http://stackoverflow.com/a/37480521/369194)\n\nExecution\n---------\n\nRun `npm start`\n\nThe following screenshot shows an example of Symfony Standard Edition running with DevTools open:\n\n![screenshot](https://cloud.githubusercontent.com/assets/179866/15629379/f3c89fca-2517-11e6-9455-9ba87abeba54.png)\n\nIf you want to use DevTools, uncomment the relevant line in `main.js`\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgarak%2Felectron-symfony","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgarak%2Felectron-symfony","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgarak%2Felectron-symfony/lists"}