Download the PHP package armin/scssphp-bundle without Composer

On this page you can find all versions of the php package armin/scssphp-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package scssphp-bundle

ScssPHP - Symfony Bundle

This bundle for Symfony Framework (4-6), includes the scssphp/scssphp package, which allows you to parse SCSS sources (like Bootstrap) in your application, without need of Node.js and npm!

The ScssPHP bundle can recognize changes in SCSS source files (or Symfony configuration) automatically and only re-compiles those files. So, when you change something in your SCSS sources and refresh the application you see the results, instantly. You can disable this for the production environment.

Also, it provides a helpful debugger toolbar entry and a command which allows you to compile the SCSS sources from CLI.

It is released under MIT license.

Features

Screenshots

ScssPHP in Symfony's profiler toolbar:

Hovering over ScssPHP profiler toolbar entry:

ScssPHP profiler panel:

Display of SCSS compiling errors:

Details of recent SCSS builds:

CLI command (with compiling error)

$ php bin/console scssphp:compile

Non-interactive CLI command

$ php bin/console scssphp:compile all -n

Installation

To install the scssphp-bundle you can just use composer:

The bundle also ships a Symfony Flex Recipe.

Usage and configuration

The scssphp bundle is triggered, when you use the {{ asset("...") }} function in your Twig templates, and the requested asset is configured in scssphp.assets and scssphp.enabled is true.

Example asset call in twig:

Example configuration

For this example you also need to require the Bootstrap CSS framework:

Reference

Upgrade notice

Since version 2.0 the option "formatter" has been replaced by "outputStyle", which may have got values "expanded" or "compressed" (default).

Support

If you like this Symfony bundle, you can donate some funds to support further development. Thank you!

For help please visit the issue section on Github.


All versions of scssphp-bundle with dependencies

PHP Build Version
Package Version
Requires php Version >=7.2.0
ext-json Version *
symfony/framework-bundle Version ^4.0 | ^5.0 | ^6.0
symfony/twig-bridge Version ^4.0 | ^5.0 | ^6.0
symfony/asset Version ^4.0 | ^5.0 | ^6.0
scssphp/scssphp Version ^1.10
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package armin/scssphp-bundle contains the following files

Loading the files please wait ....