Download the PHP package itsahappymedium/fec without Composer

On this page you can find all versions of the php package itsahappymedium/fec. 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 fec

Front End Compiler

packagist package version packagist package downloads

A PHP Command Line tool that makes it easy to compile, concat, and minify front-end Javascript and CSS/SCSS dependencies.

The minify and scssphp packages do all of the heavy lifting, this tool simply combines the two into a single CLI tool with some extra features.

Installation

To a package (local)

To your system (global)

Usage

Running FEC without any arguments will load files from a fec.json file that is structured like so:

Options

File paths can be passed to FEC to compile those specific files.

Examples

The watch command

Starts a process that watches for file changes and recompiles them as needed. This command will do an initial compile just to make sure everything is up to date.

The Watcher

FEC has the ability to automatically refresh your website while running the watch command (much like how Browsersync works). Simply create a watcher.php (or whatever you want to call it) somewhere that is accessible by your website, and place the following code in there:

The FEC_Watcher class accepts two parameters:

Last, but not least, you will need to set the --watcher option to the path where the watcher script is accessible on the server.

If a watcher is used, your files will be recompiled one last time after you are done to remove the injected JavaScript.

Defining Settings with JSON

You can set most options above by defining them as settings in your JSON file like so:

The scss-import-path setting accepts a string or an array of strings, these paths are relative to the location of the JSON file.

Related

License

MIT. See the license.md file for more info.


All versions of fec with dependencies

PHP Build Version
Package Version
Requires php Version ^7.3|^8.0
matthiasmullie/minify Version ^1.3
scssphp/scssphp Version ^1.7
splitbrain/php-cli Version ^1.1
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 itsahappymedium/fec contains the following files

Loading the files please wait ....