swCombinePlugin | Combine stylesheets and javascripts files
kandi X-RAY | swCombinePlugin Summary
kandi X-RAY | swCombinePlugin Summary
swCombinePlugin is a PHP library. swCombinePlugin has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.
This plugin combines javascript and stylesheet files into optimized files.
This plugin combines javascript and stylesheet files into optimized files.
Support
Quality
Security
License
Reuse
Support
swCombinePlugin has a low active ecosystem.
It has 30 star(s) with 7 fork(s). There are 2 watchers for this library.
It had no major release in the last 6 months.
There are 6 open issues and 3 have been closed. On average issues are closed in 1 days. There are 1 open pull requests and 0 closed requests.
It has a neutral sentiment in the developer community.
The latest version of swCombinePlugin is current.
Quality
swCombinePlugin has 0 bugs and 0 code smells.
Security
swCombinePlugin has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
swCombinePlugin code analysis shows 0 unresolved vulnerabilities.
There are 0 security hotspots that need review.
License
swCombinePlugin is licensed under the MIT License. This license is Permissive.
Permissive licenses have the least restrictions, and you can use them in most projects.
Reuse
swCombinePlugin releases are not available. You will need to build from source code and install.
Installation instructions, examples and code snippets are available.
swCombinePlugin saves you 476 person hours of effort in developing the same functionality from scratch.
It has 1122 lines of code, 63 functions and 19 files.
It has medium code complexity. Code complexity directly impacts maintainability of the code.
Top functions reviewed by kandi - BETA
kandi has reviewed swCombinePlugin and discovered the below as its top functions. This is intended to give you an instant insight into swCombinePlugin implemented functionality, and help decide if they suit your requirements.
- Parse a node tree
- Process an expression .
- Returns the next token .
- Combine the values for the given type
- Process CSS .
- Combine and optimize an array of assets
- Main function .
- Fix import image callback
- Minify CSS .
- Process file .
Get all kandi verified functions for this library.
swCombinePlugin Key Features
No Key Features are available at this moment for swCombinePlugin.
swCombinePlugin Examples and Code Snippets
No Code Snippets are available at this moment for swCombinePlugin.
Community Discussions
No Community Discussions are available at this moment for swCombinePlugin.Refer to stack overflow page for discussions.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install swCombinePlugin
edit ProjectConfiguration.class.php by adding the requirement and enable the plugin. edit your app.yml and add an optional version value. add a config_handlers.yml inside APP/config. combine css and js with.
edit ProjectConfiguration.class.php by adding the requirement and enable the plugin [php] require_once(dirname(__FILE__).'/../plugins/swCombinePlugin/lib/config/swCombineViewConfigHandler.class.php'); class ProjectConfiguration extends sfProjectConfiguration { public function setup() { $this->enablePlugins(array( // your plugins 'swCombinePlugin' )); } }
edit your app.yml and add an optional version value [yaml] swToolbox: swCombine: # the version number can be used to force load of new files from the media server # you can configure a never ending expired time on your media server # if the version is never updated, media will be never reloaded ... version: 3
add a config_handlers.yml inside APP/config modules/*/config/view.yml: # put sfViewConfigHandler to restore the default symfony config handler # class: sfViewConfigHandler class: swCombineViewConfigHandler param: configuration: javascript: public_path: /sw-combine/%SF_APP% private_path: %SF_WEB_DIR%/sw-combine/%SF_APP% combine: swCombineJavascript driver: swDriverJSMinPlus filename: %s.js # %s will by replace by the combined name exclude: - /js/jQuery/jquery.1.2.6.js - /js/jQuery/ui-1.5.3/jquery.ui.all.js - /js/jQuery/offset.js - /js/jQuery/jquery.form-defaults.js - /js/jQuery/jquery.timers-1.2.js - /js/jqModal/jqModal.js - /js/scrollTo/jquery.scrollTo-min.js - /js/main.js packages: common: auto_include: true # this will include the package on ALL pages files: - /js/jQuery/jquery.1.2.6.js - /js/jQuery/ui-1.5.3/jquery.ui.all.js - /js/jQuery/offset.js - /js/jQuery/jquery.form-defaults.js - /js/jQuery/jquery.timers-1.2.js - /js/jqModal/jqModal.js - /js/scrollTo/jquery.scrollTo-min.js - /js/main.js stylesheet: public_path: /sw-combine/%SF_APP% private_path: %SF_WEB_DIR%/sw-combine/%SF_APP% combine: swCombineStylesheet driver: swDriverCssmin filename: %s.css # %s will by replace by the combined name exclude: # this will include the package on ALL pages - /css/main.css - /css/draft/ui-theme.css - /css/mg-theme.css - /css/print.css packages: common: auto_include: true files: - /css/main.css - /css/draft/ui-theme.css - /css/mg-theme.css
clear your cache ./symfony cc
combine css and js with ./symfony sw:combine frontend ./symfony sw:combine backend
update your templates files to use these helpers : use_helper('swCombine') sw_include_stylesheets() sw_include_javascripts() sw_combine_debug()
edit ProjectConfiguration.class.php by adding the requirement and enable the plugin [php] require_once(dirname(__FILE__).'/../plugins/swCombinePlugin/lib/config/swCombineViewConfigHandler.class.php'); class ProjectConfiguration extends sfProjectConfiguration { public function setup() { $this->enablePlugins(array( // your plugins 'swCombinePlugin' )); } }
edit your app.yml and add an optional version value [yaml] swToolbox: swCombine: # the version number can be used to force load of new files from the media server # you can configure a never ending expired time on your media server # if the version is never updated, media will be never reloaded ... version: 3
add a config_handlers.yml inside APP/config modules/*/config/view.yml: # put sfViewConfigHandler to restore the default symfony config handler # class: sfViewConfigHandler class: swCombineViewConfigHandler param: configuration: javascript: public_path: /sw-combine/%SF_APP% private_path: %SF_WEB_DIR%/sw-combine/%SF_APP% combine: swCombineJavascript driver: swDriverJSMinPlus filename: %s.js # %s will by replace by the combined name exclude: - /js/jQuery/jquery.1.2.6.js - /js/jQuery/ui-1.5.3/jquery.ui.all.js - /js/jQuery/offset.js - /js/jQuery/jquery.form-defaults.js - /js/jQuery/jquery.timers-1.2.js - /js/jqModal/jqModal.js - /js/scrollTo/jquery.scrollTo-min.js - /js/main.js packages: common: auto_include: true # this will include the package on ALL pages files: - /js/jQuery/jquery.1.2.6.js - /js/jQuery/ui-1.5.3/jquery.ui.all.js - /js/jQuery/offset.js - /js/jQuery/jquery.form-defaults.js - /js/jQuery/jquery.timers-1.2.js - /js/jqModal/jqModal.js - /js/scrollTo/jquery.scrollTo-min.js - /js/main.js stylesheet: public_path: /sw-combine/%SF_APP% private_path: %SF_WEB_DIR%/sw-combine/%SF_APP% combine: swCombineStylesheet driver: swDriverCssmin filename: %s.css # %s will by replace by the combined name exclude: # this will include the package on ALL pages - /css/main.css - /css/draft/ui-theme.css - /css/mg-theme.css - /css/print.css packages: common: auto_include: true files: - /css/main.css - /css/draft/ui-theme.css - /css/mg-theme.css
clear your cache ./symfony cc
combine css and js with ./symfony sw:combine frontend ./symfony sw:combine backend
update your templates files to use these helpers : use_helper('swCombine') sw_include_stylesheets() sw_include_javascripts() sw_combine_debug()
Support
For any new features, suggestions and bugs create an issue on GitHub.
If you have any questions check and ask questions on community page Stack Overflow .
Find more information at:
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page