Download the PHP package efficiently/larasset without Composer

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

Larasset

Build Status

The Asset Pipeline for Laravel 5.1, 5.2 & 5.3 !

The asset pipeline provides a framework to concatenate and minify or compress JavaScript and CSS assets. It also adds the ability to write these assets in other languages and pre-processors such as CoffeeScript, LESS, Sass and EJS.

For Laravel 4.1 or 4.2 supports see Larasset 0.9 branch

For Laravel 5.0 supports see Larasset 1.0 branch

For a more complete description of this package, you can read the Wiki docs:

Examples of Larasset usage.

Demo application

You can see this package in action with this online demo. And you can grab the source code of this demo here.

Prerequisites

You must install Node.js on your computer (development environment only).

This package is only compatible with PHP >= 5.5 and Laravel >= 5.1 framework.

Installation

Install and config Larasset package

  1. In the composer.json, replace the line "minimum-stability": "stable" by:

  2. Install Larasset package with composer:

  3. Turn on your application debug mode, create or edit the config/app.php file:

    Note: It is strongly recommended that you turn off error detail in your production environment.

  4. Add these services providers to config/app.php:

  5. Add these alias (facades) to your Laravel config/app.php file:

  6. You can now add the this security Middleware to your app/Http/Kernel.php file:

  7. You will need install some Node.js modules in order to run these Larasset commands:

  8. Finally run php artisan larasset:setup.

    The rest of the installation depends on whether the asset pipeline is being used.

Assets middleware server

Run:

php artisan larasset:serve

NOTICE: You should use it only in a development/local environment

Precompiling assets (Manifest usage)

Run:

php artisan larasset:precompile

NOTICE: You are encouraged to use it in a production environment, for more informations, read the next section.

Development VS Production mode

By default Larasset is running in development mode. That means that it will recompile (server) any changed asset on demand. Also it's not compressing JavaScript and/or Stylesheets in development mode. To run Larraset's server and precompiler in production-ready mode, use --assets-env production command line option, like so:

php artisan larasset:precompile --assets-env production

Changelog

1.3.x

1.2.0

1.1.0

1.0.2

1.0.1

1.0.0

0.9.8

0.9.7

0.9.6

Credits

Acknowledgements

Released under the MIT License.

This is beta-quality software

It works well according to our tests. The internal API may change and other features will be added. We are working to make Larasset production quality software.


All versions of larasset with dependencies

PHP Build Version
Package Version
Requires php Version >=5.4.0
laravelcollective/html Version ~5.0.0||~5.1.0||~5.2.0
efficiently/jquery-laravel Version ~2.1.0
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 efficiently/larasset contains the following files

Loading the files please wait ....