Download the PHP package zizaco/lessy without Composer

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

Lessy (Laravel4 Package)

Confide Poster

ProjectStatus

Lessy is a simple and lean LESS compiler for Laravel.

In summary, Lessy will compile the files contained in app/less to the public/asset/css directory respecting any existing directory structure. For example: if you have app/less/admin/panel.less lessy will compile it to public/asset/css/admin/panel.css when the application receives a request. You can change the input and output directories trough configuration (see below).

The automatic compilation occurs only if the output file doesn't exist or it's an older version than the input file.

Important: Note that the automatic compilation does not occur when the application is in 'production' environment. So make sure to change the application environment to 'local' or something that is not 'production' if you need Lessy to automagically compile your LESS files.

Features

Current:

Quick start

Required setup

In the require key of composer.json file add the following

"zizaco/lessy": "dev-master"

Run the Composer update comand

$ composer update

In your config/app.php add 'Zizaco\Lessy\LessyServiceProvider' to the end of the $providers array

'providers' => array(

    'Illuminate\Foundation\Providers\ArtisanServiceProvider',
    'Illuminate\Auth\AuthServiceProvider',
    ...
    'Zizaco\Lessy\LessyServiceProvider',

),

You are ready to go! Your application will now compile LESS files when needed. Remember that this does not occur in production environment.

Configuration (Optional)

By default, Lessy will consider the directory app/less as the input and public/assets/css for the output. But if you wish to change these values ​​simply publish the package config files:

$ php artisan config:publish zizaco/lessy

and define the origin and destination keys in config/packages/zizaco/lessy/config.php. Example:

// config/packages/zizaco/lessy/config.php

// Paths should be relative to app folder.
'origin'        => 'mylessfiles',
'destination'   => '../public/mycss',

The automatic compilation does not occur when the application is in 'production' environment. So make sure to change the application environment to 'local' or something that is not 'production' if you need Lessy to automagically compile your LESS files.

Console usage

If for some reason you need to force the compilation of LESS files (ex: in production environment), its possible through the command:

$ php artisan lessy:compile

License

Lessy is a free software distributed under the terms of the MIT license

Aditional information

Any questions, feel free to contact me.


All versions of lessy with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3.0
illuminate/support Version 4.0.x
leafo/lessphp Version v0.3.8
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 zizaco/lessy contains the following files

Loading the files please wait ....