PHPackages                             swotools/swog - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. swotools/swog

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

swotools/swog
=============

Solar Web Operator - GUI with twbs 3.3.7

v1.2.3(8y ago)182MITJavaScriptPHP &gt;=5.5.0

Since Apr 24Pushed 8y agoCompare

[ Source](https://github.com/swotools/swog)[ Packagist](https://packagist.org/packages/swotools/swog)[ Docs](http://agenziasmart.com/swo)[ RSS](/packages/swotools-swog/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (1)Dependencies (1)Versions (10)Used By (0)

SWOG / Graphic Framework v1.2.2
===============================

[](#swog--graphic-framework-v122)

SWOG utilizza i seguenti componenti

- Bootstrap 3.3.7 [on GitHub](https://github.com/twbs/bootstrap/tree/v3.3.7)
- Sass
- Js
- Nodejs
- npm
- grunt
- Nuovi mixin swog sass
- Nuovi file bin di configurazione e sotto versione

v1 major 2
----------

[](#v1-major-2)

Tutti i task in `gruntfile.js`, postcss senza maps. Definiti bene i dest e dist.
I file saranno:

- app.css | .min in produzione
- bootstrap.js | .min in produzione
- swog.js | .min in produzione

SWOG
----

[](#swog)

```
composer require --dev swotools/swog 1.2
```

Oppure

```
"require-dev": {
  "swotools/swog": "^1.2"
}
```

#### Installing packages

[](#installing-packages)

```
$ npm install
$ npm update
```

#### Comandi

[](#comandi)

I comandi di installazione, manutenzione e aggiornamento di swog sono inclusi in Tools (swotools) richiesto ad ogni installazione di swog.

```
"scripts": {
  "swog:install": "bash vendor/swotools/tools/bin/swog/install.sh"
},
```

Per tutti i comandi disponibili, visita [questa pagina](https://github.com/swotools/tools#comandi)

#### Bootstrap

[](#bootstrap)

Per escludere libreria JS da bootstrap commenta riga in file `./gruntfile.js` del task `concat:bootstrap`

#### Swog.js

[](#swogjs)

Utilizza il file `general.js` in `./js/swog` .

#### Sass

[](#sass)

Gli stili personalizzati sono nel file `scss/swog/_stile.scss`, le variabili le metti nel file `scss/swog/variabili.scss` ovviamente in SASS. Nel file `scss/swog/bootstrap.scss` scegli i componenti sass da includere.

#### Switching Sass compilers

[](#switching-sass-compilers)

Puoi usare 2 compilatori. Libsass è migliore, non dipende da ruby ed è mantenuto Bootstrap will be compiled with \[libsass\]\[libsass\] by default, but you can opt into traditional Ruby Sass by setting the `SWO_SASS` environment variable. Two options are supported:

- `libsass` (default) to use \[libsass\]\[libsass\] via \[grunt-sass\]\[grunt-sass\].
- `sass` to use \[Ruby Sass\]\[ruby-sass\] via \[grunt-contrib-sass\]\[grunt-contrib-sass\].

For example, run `SWO_SASS=sass grunt` to test and build Bootstrap with Ruby Sass.

GRUNT
-----

[](#grunt)

TaskDescriptiongruntCompila tutti task dev-\*\* (qui sotto)grunt dev-jsbsCompila js bootstrapgrunt dev-jsswogCompila js swoggrunt dev-styleCompila i SASSgrunt watchAscolta i task qui sottogrunt watch:styleAscolta solo la cartella SCSSgrunt watch:swogjsAscolta solo la cartella JS di swog/NOTE
----

[](#note)

TODO
----

[](#todo)

- Implementa Webpack js
- Gestione moduli js con nodejs
- Ottenere come per css un unico file app.js (.min in produzione)

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~53 days

Recently: every ~67 days

Total

6

Last Release

3086d ago

Major Versions

v1.1.0 → v2.0.1-alpha.62017-04-24

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/27733109?v=4)[SwoTools](/maintainers/swotools)[@swotools](https://github.com/swotools)

---

Top Contributors

[![swotools](https://avatars.githubusercontent.com/u/27733109?v=4)](https://github.com/swotools "swotools (7 commits)")

---

Tags

webcssJSswoagenziasmart

### Embed Badge

![Health badge](/badges/swotools-swog/health.svg)

```
[![Health](https://phpackages.com/badges/swotools-swog/health.svg)](https://phpackages.com/packages/swotools-swog)
```

###  Alternatives

[matthiasmullie/minify

CSS &amp; JavaScript minifier, in PHP. Removes whitespace, strips comments, combines files (incl. @import statements and small assets in CSS files), and optimizes/shortens a few common programming patterns.

2.0k32.3M424](/packages/matthiasmullie-minify)[onokumus/metismenu

A jQuery menu plugin

2.0k268.5k5](/packages/onokumus-metismenu)[stolz/assets

An ultra-simple-to-use assets management library

289527.4k8](/packages/stolz-assets)[onokumus/metismenujs

A menu plugin

13210.3k](/packages/onokumus-metismenujs)[sensiolabs/minify-bundle

Assets Minifier (CSS, JS) for Symfony &amp; Minify integration in Asset Mapper

57133.6k3](/packages/sensiolabs-minify-bundle)[jalle19/php-yui-compressor

A modern PHP wrapper for the YUI compressor

16977.5k3](/packages/jalle19-php-yui-compressor)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
