{"id":21401434,"url":"https://github.com/spoonx/sxbootstrap","last_synced_at":"2025-10-17T10:53:26.232Z","repository":{"id":5164248,"uuid":"6334565","full_name":"SpoonX/SxBootstrap","owner":"SpoonX","description":"A twitter bootstrap module for ZF2 (zend framework 2) based on rwoverdijk/assetmanager.","archived":false,"fork":false,"pushed_at":"2014-02-25T18:11:36.000Z","size":2315,"stargazers_count":29,"open_issues_count":4,"forks_count":12,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-11-16T09:37:27.052Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SpoonX.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":"2012-10-22T12:26:50.000Z","updated_at":"2019-08-13T15:10:46.000Z","dependencies_parsed_at":"2022-09-12T06:30:16.621Z","dependency_job_id":null,"html_url":"https://github.com/SpoonX/SxBootstrap","commit_stats":null,"previous_names":[],"tags_count":28,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpoonX%2FSxBootstrap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpoonX%2FSxBootstrap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpoonX%2FSxBootstrap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpoonX%2FSxBootstrap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SpoonX","download_url":"https://codeload.github.com/SpoonX/SxBootstrap/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225919519,"owners_count":17545274,"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":[],"created_at":"2024-11-22T15:27:45.004Z","updated_at":"2025-10-17T10:53:26.141Z","avatar_url":"https://github.com/SpoonX.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SxBootstrap\n\nThis module supplies view helpers to make it easy to work with twitter bootstrap.\nOptionally, this module also allows you to build, cache, modify and extend twitter bootstrap using the [AssetManager module](http://github.com/RWOverdijk/AssetManager).\n\n### Note:\nSupport for bootstrap 3.0 is under active development. You can help and test by checking out the 3.0.0 branch.\n\n## Installation ViewHelpers\n### How?\n**Add the requirement to your composer.json file**\n\n```bash\n./composer.phar require spoonx/sxbootstrap\n# When asked for a version, type: \"2.*\"\n```\n\n## Installation [Font Awesome](http://fontawesome.io/)\n### How?\n1. Add the dependency to your composer.json file:\n\n    ```bash\n    ./composer.phar require fortawesome/font-awesome\n    # When asked for a version, type: \"3.*\"\n    ```\n\n2. Enable the use of [Font Awesome](http://fontawesome.io/) by adding the following in `config/autoload/sxbootstrap.local.php`:\n\n    ```php\n    \u003c?php\n    return array(\n        'twitter_bootstrap' =\u003e array(\n            'use_font_awesome' =\u003e true,\n        ),\n    );\n    ```\n\n## Installation renderer (recommended)\n\n### How?\n1. Add the dependencies to your composer.less file:\n\n    ```bash\n    ./composer.phar require rwoverdijk/assetmanager twbs/bootstrap\n    # When asked for a version, type: \"1.*\" for assetmanager and \"2.*\" for bootstrap.\n    ```\n\n2. Enable `AssetManager` and `SxBootstrap` in your `application.config.php` config file.\n\n3. Install less...\n\n    a) Via NPM/Node.js **(recommended method)**:\n\n       1. Install npm/node.js. [Instructions](https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager) can be found here.\n       2. To Install lessc, open up your command line, and navigate to your project (`cd /path/to/my/project`).\n       3. Once you get there, run the following command: `npm install less .` (including the dot).\n\n    b) Via lessphp (Advised against):\n\n       **Add the requirement**\n\n       ```bash\n       ./composer.phar require leafo/lessphp\n       # When asked for a version, type: \"0.*\"\n       ```\n\n       Then add the following config to your application's module.config.php:\n\n       ```php\n       'twitter_bootstrap' =\u003e array(\n           'use_lessphp' =\u003e true,\n       ),\n       ```\n\n4. Configure the filter to get it working. (This only applies to you if your using node.js and the binary is not in `/usr/bin/node`,\nor your node paths are not the default, so you've ignored my advice in step 3a.)\n\n5. Take a look at the [wiki](https://github.com/SpoonX/SxBootstrap/wiki) for examples and other information to get started.\nSpecifically the part on [how to configure the filter to get it working (bottom of the page)](https://github.com/SpoonX/SxBootstrap/wiki/Configuration-options)\n\n### Okay... Why?\nThe renderer has a lot of advantages.\n\n- Allows easy customization\n- Allows you to extend [(use mixins and variables in your own less files!)](https://github.com/SpoonX/SxBootstrap/wiki/Shared-variables-and-mixins)\n- Prevents having to manually manage assets\n- Allows toggling components, and plugins to include (minimizing file size by not included what you do not need).\n- And more.\n\n## Features\n* Simple awesome forms\n* **NEW** Optional [Font Awesome integration](https://github.com/SpoonX/SxBootstrap/wiki/Configuration-options#use_font_awesome)\n* **NEW** Add load paths\n* **NEW** Add custom components\n* Customizable (variables, components, plugins)\n* Works with AssetManager\n* Plenty of ViewHelpers\n* Extendable (run your own less files from bootstrap context to share mixins and variables)\n* Tested with twitter bootstrap 2.3+ (older versions will probably work, too)\n* You can optionally use lessphp (not recommended)\n\n## Usage\nCheck out the `config/sxbootstrap.local.php.dist` file in _vendor/spoonx/sxbootstrap/config_ for the configuration options, and info.\nAlso, please check out the [wiki](https://github.com/SpoonX/SxBootstrap/wiki).\n\n## Questions / support\nIf you're having trouble with the module there are a couple of resources that might be of help.\n* The [wiki page](https://github.com/SpoonX/SxBootstrap/wiki), where you'll perhaps find your answer.\n* [RWOverdijk at irc.freenode.net #zftalk.dev](http://webchat.freenode.net?channels=zftalk.dev%2Czftalk\u0026uio=MTE9MTAz8d)\n* [Issue tracker](https://github.com/SpoonX/SxBootstrap/issues). (Please try to not submit unrelated issues).\n* By [mail](mailto:r.w.overdijk@gmail.com?Subject=SxBootstrap%20help)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspoonx%2Fsxbootstrap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspoonx%2Fsxbootstrap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspoonx%2Fsxbootstrap/lists"}