Download the PHP package bluora/laravel-php-elixir without Composer

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

Provides a replacement of the Node.js based elixir pre-packaged with Laravel Framework. Tasks are sequentially run in the order that they are declared in the configuration file. You can specify more than one task module block.

Latest Stable Version Total Downloads Latest Unstable Version Built for Laravel License

Build Status StyleCI Test Coverage Issue Count Code Climate

This package has been developed by H&H|Digital, an Australian botique developer. Visit us at hnh.digital.

Pre-install requirement

This package requires ext-inotify which can be installed by:

$ pecl install inotify

You will likely need to enable this extension. You can use the following (may not match your specific OS settings).

$ echo "extension=inotify.so" | sudo tee /etc/php/7.1/mods-available/inotify.ini && sudo ln -s /etc/php/7.1/mods-available/inotify.ini /etc/php/7.1/cli/conf.d/20-inotify.ini

Install

Via composer:

$ composer require-dev bluora/laravel-php-elixir ~2.0

Enable the service provider by editing config/app.php:

Usage

Run the command with the default config file (.elixir.yml).

$ php artisan elixir

Run the command with a custom config file:

$ php artisan elixir --config=***

Run the folder watcher to automatically run elixir on file changes with the default config file (.elixir.yml).

$ php artisan elixir:watch

Run the folder watcher to automatically run elixir on file changes using a custom config file:

$ php artisan elixir:watch --config=***

Configuration

Configuration for this package is done in the '.elixir.yml' located in your base directory or in the 'vendor/bluora/laravel-php-elixir/src/.elixir.yml.example'.

First declare the task name and the class name in the configuration file (these modules are installed by default).

List tasks using the first level in the YAML file or, if you need to declare more than one task module in different location of the config file, simply prepend the task with a number (unique to the task) and a hash. For example:

If you are testing php-elixir, you can stop tasks from running by prepending them with an exclaimation mark (!).

Options

Paths

Paths lets you declare path constants that can be used in your other tasks.

Watch

Watch configuruation item is only used by the elixir:watch console command.

Empty

Deletes all files and folders in the listed paths.

Exec

Executes a given file and arguments.

SASS

Processes and compiles a *.scss file and outputs it to specified path.

Formatted as: {SOURCE_FILE_PATH}: {DESTINATION_FILE_PATH}

Combine

Gets the contents of one or many files and combines it into the specified file.

Source folders can be specified with single level or multi-level lookup, and the ability to filter files by extension.

Copy

Copies files from a file path or a folder path to a specified folder or file name.

Folder paths can be configured to get the top level directory using '/*' or for all files and folders in path by using '/**'.

Further configuration can be added using the standard query string format.

Replace

You can replace specific text in files or folder paths.

Revision

Provides revisioning of files in a specified folder location.

Options that are available:

Contributing

Please see CONTRIBUTING for details.

Credits

License

The MIT License (MIT). Please see License File for more information.


All versions of laravel-php-elixir with dependencies

PHP Build Version
Package Version
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 bluora/laravel-php-elixir contains the following files

Loading the files please wait ....