2017 © Pedro Peláez
 

library laravel-mixable

A Laravel 5.4 package for mixing packages.

image

sircumz/laravel-mixable

A Laravel 5.4 package for mixing packages.

  • Thursday, October 5, 2017
  • by SirCumz
  • Repository
  • 1 Watchers
  • 1 Stars
  • 10 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Laravel Mixable!

Latest Stable Version Total Downloads Latest Unstable Version License, (*1)

A Laravel 5.4+ package for mixing Laravel packages., (*2)


Installing Laravel Mixable

The preferred way of installing is through composer, (*3)

composer require sircumz/laravel-mixable

Add the service provider to config/app.php:, (*4)

SirCumz\LaravelMixable\LaravelMixableServiceProvider::class

Compiling Assets with Laravel Mix

Add the following code to the top of "webpack.mix.js" if you want to enable asset compiling with Mixable., (*5)

const mix = require('./vendor/sircumz/laravel-mixable/mixable.js');

instruct Mixable what to mix. You can use almost every function that Laravel Mix has to offer in their API., (*6)

public function boot() {
    $this->app['mixable']->mix( function($mix) {
        $mix->sass( __DIR__ . '/assets/css/style.css', 'public/mypackage/css/style.css' )
            ->version();
    } );
}

Run the Laravel Mix commands in your terminal as you normally would do., (*7)

npm run watch

Enjoy!, (*8)

The Versions

05/10 2017

dev-master

9999999-dev https://github.com/sircumz/laravel-mixable

A Laravel 5.4 package for mixing packages.

  Sources   Download

MIT

The Requires

  • php ^7.0

 

by Tjip Kloosterman

laravel mixable

05/10 2017

1.0.0

1.0.0.0 https://github.com/sircumz/laravel-mixable

A Laravel 5.4 package for mixing packages.

  Sources   Download

MIT

The Requires

  • php ^7.0

 

by Tjip Kloosterman

laravel mixable

09/09 2017

0.0.1

0.0.1.0 https://github.com/sircumz/laravel-mixable

A Laravel 5.4 package for mixing packages.

  Sources   Download

MIT

The Requires

  • php ^5.4 || ^7.0

 

by Tjip Kloosterman

laravel mixable