qntm/laravel-materialize-sass
Larablocks Analysis
qntm/laravel-materialize-sass works with Laravel 5 (latest release v0.97.7, Jul 25, 2016), which reached end of life: no more fixes, even for security.
Recommendation checks
Not advisedNot advised: no release or commit in over 2 years.
- No release or commit in over 2 years
- Supports only Laravel 5, past end of life
- No release in the last 12 months (last: Jul 25, 2016)
- 0 downloads a month (needs 10,000)
- 2 GitHub stars (needs 100)
State
Likely abandoned- No release or commit in over 2 years.
- Last stable release: Jul 25, 2016.
- No releases in the last 12 months.
- First released: Jul 21, 2016.
- 0 open issues on GitHub.
Data from Packagist and GitHub, checked by Larablocks on Nov 26, 2026.
| Install | |
|---|---|
composer require qntm/laravel-materialize-sass |
|
| Latest Version: | v0.97.7 |
| PHP: | >=5.4.0 |
| Laravel: | 5 |
| License: | MIT |
| Last Updated: | Jul 25, 2016 |
| Links: | GitHub · Packagist |
laravel-materialize-sass
This plugin installs the Materialize CSS source into the resources/assets/sass/materialize folder of your assets. This plugin also places the javascript in public/js/materialize/ directory.
Installation
- Require this package in your composer.json and run composer update.
"qntm/laravel-materialize-sass": "dev-master"
- After updating composer, add ServiceProvider to the providers array in config/app.php
Qntm\LaravelMaterializeSass\MaterializeSassServiceProvider::class,
- Add Facade to the aliases array in config/app.php
'MaterializeSass' => Qntm\LaravelMaterializeSass\MaterializeSassBuilder::class,
- Then publish the package's assets to public folder:
$ php artisan vendor:publish --tag=materializesass --force
Updates
You can re-publish the assets automatically when composer updated the package:
- In your composer.json, go to scripts > post-update-cmd section, add the next line:
"php artisan vendor:publish --tag=materializesass --force"
- The code will look similar to:
"post-update-cmd": [
"php artisan optimize",
"php artisan vendor:publish --tag=materializesass --force"
],
Usage
To add in the materialize JS and Jquery, place this just before the closing of the head tag.
- includeMaterialize()
...
{!! MaterializeSass::includeMaterialize($minified) !!}
</head>
Where $minified = true the minified version of js will be added, otherwise the full version will be added. Default behaviour if it is not passed in is $minified = true
Alternatives to qntm/laravel-materialize-sass
Compiles your Sass .scss files to .css every time you run your app (in developme...
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| v0.97.7 | >=5.4.0 | 5.* | MIT | |
| v0.97.6 | >=5.4.0 | 5.* | MIT |