{"id":17471683,"url":"https://github.com/bezoerb/generator-sf","last_synced_at":"2025-04-10T04:42:28.135Z","repository":{"id":57248808,"uuid":"69472159","full_name":"bezoerb/generator-sf","owner":"bezoerb","description":"Yeoman generator that scaffolds out a Symfony PHP app including Browsersync, various CSS preprocessors, jspm, webpack, browserify and Service Worker","archived":false,"fork":false,"pushed_at":"2017-10-23T05:26:12.000Z","size":2388,"stargazers_count":14,"open_issues_count":2,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-24T05:52:16.040Z","etag":null,"topics":["grunt","gulp","hmr","jspm","offline","service-worker","symfony","webpack","yeoman"],"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/bezoerb.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2016-09-28T14:33:59.000Z","updated_at":"2018-09-27T04:27:35.000Z","dependencies_parsed_at":"2022-08-24T16:50:58.451Z","dependency_job_id":null,"html_url":"https://github.com/bezoerb/generator-sf","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bezoerb%2Fgenerator-sf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bezoerb%2Fgenerator-sf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bezoerb%2Fgenerator-sf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bezoerb%2Fgenerator-sf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bezoerb","download_url":"https://codeload.github.com/bezoerb/generator-sf/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248161215,"owners_count":21057552,"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":["grunt","gulp","hmr","jspm","offline","service-worker","symfony","webpack","yeoman"],"created_at":"2024-10-18T16:52:23.328Z","updated_at":"2025-04-10T04:42:28.102Z","avatar_url":"https://github.com/bezoerb.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# generator-sf \n\n[![NPM version][npm-image]][npm-url] \n[![Build Status][travis-image]][travis-url] \n[![Dependency Status][depstat-image]][depstat-url] \n[![Download][dlcounter-image]][dlcounter-url] \n[![Coverage Status][coveralls-image]][coveralls-url] \n\nThis [Yeoman](http://yeoman.io) generator scaffolds a symfony app with full featured frontend `grunt`/`gulp` tooling. \nJust scaffold your app and you are ready to go. \n\n\n## Installation\n\nFirst, install [Yeoman](http://yeoman.io) and generator-sf using [npm](https://www.npmjs.com/) (we assume you have pre-installed [node.js](https://nodejs.org/)).\n\nInstall dependencies\n```bash\nnpm install -g yo grunt gulp\n```\nTo install generator-sf from npm, run:\n```bash\nnpm install -g generator-sf\n```\n\nThen generate your new project:\n\n```bash\nyo sf\n```\n\n## Features\n* Symfony framework\n* Twig templating engine\n* Assetic removed\n* Browsersync dev/prod server with livereload\n* Choose the build tool which fits your needs\n  - [Gulp](http://gulpjs.com/)\n  - ~~[Grunt](http://gruntjs.com/)~~\n* Choose the CSS preprocessor which fits your needs\n  - [Sass](http://sass-lang.com/)\n  - [Less](http://lesscss.org)\n  - [Stylus](http://learnboost.github.io/stylus/)\n  - or no preprocessor at all\n* Choose CSS Framework\n  * [uikit](http://getuikit.com)  \n  * [Bootstrap](http://getbootstrap.com)\n  * [Foundation](http://foundation.zurb.com)\n  * [inuitcss](http://inuitcss.com) (sass only)\n  * no framework?\n* Choose Javascript module loader\n  * [Webpack](https://webpack.github.io/) (ES6)\n  * ~~[JSPM](http://jspm.io/) + [SystemJS](https://github.com/systemjs/systemjs) (ES6)~~\n  * ~~[Browserify](http://browserify.org/) (ES6)~~\n* File revving\n* Image optimization\n* [Critical](https://github.com/addyosmani/critical) (Extract \u0026 Inline Critical-path CSS) \n* [uncss](https://github.com/addyosmani/grunt-uncss) (Automatically strip off unused css)\n* Service Worker\n* Organized Gruntfile with [load-grunt-config](http://firstandthird.github.io/load-grunt-config)\n* Preconfigured testing Stack: [Karma](http://karma-runner.github.io/0.12/index.html), [Mocha](http://mochajs.org/) \u0026 [Chai](http://chaijs.com/)\n* Phpunit \n\n\n## Things to come\n\n  * Feel free to add feature requests ;)\n\n### Environments\nThe browsersync server uses it's own symfony environment to prevent asset loading conflicts with the environment loaded via apache2. \n\n### Directory structure\nThe directory structure is based on the [Symfony Best Practices](http://symfony.com/doc/current/best_practices/index.html)\n#### Dev\n* Assets are located in `app/Resources/public` \n* Templates can be found in `app/Resources/views` \n\n#### Production\n* All production assets are located in the `web` folder.\n* Run `grunt build` or `gulp build` to compile, optimize and rev your assets for production.\n\n\n### Changelog\n\nSee [CHANGELOG.md](CHANGELOG.md)\n\n## License\n\nMIT\n\n[npm-url]: https://npmjs.org/package/generator-sf\n[npm-image]: https://badge.fury.io/js/generator-sf.svg\n\n[travis-url]: https://travis-ci.org/bezoerb/generator-sf\n[travis-image]: https://secure.travis-ci.org/bezoerb/generator-sf.svg?branch=master\n\n[depstat-url]: https://david-dm.org/bezoerb/generator-sf\n[depstat-image]: https://david-dm.org/bezoerb/generator-sf/status.svg\n\n[dlcounter-url]: https://www.npmjs.com/package/generator-sf\n[dlcounter-image]: https://img.shields.io/npm/dm/generator-sf.svg\n\n[coveralls-url]: https://coveralls.io/github/bezoerb/generator-sf?branch=master\n[coveralls-image]: https://coveralls.io/repos/github/bezoerb/generator-sf/badge.svg?branch=master\u0026cache=0\n\n\n\n\n\n## Getting To Know Yeoman\n\n * Yeoman has a heart of gold.\n * Yeoman is a person with feelings and opinions, but is very easy to work with.\n * Yeoman can be too opinionated at times but is easily convinced not to be.\n * Feel free to [learn more about Yeoman](http://yeoman.io/).\n\n## License\n\nMIT © [Ben Zörb](http://dommerlaune.com)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbezoerb%2Fgenerator-sf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbezoerb%2Fgenerator-sf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbezoerb%2Fgenerator-sf/lists"}