Releases: Elhebert/laravel-sri
Releases · Elhebert/laravel-sri
Fix Blade directives
(fix): use facade instead of class (#14) * (fix): use facade instead of class close #10 * Apply fixes from StyleCI (#13)
Read hashes from the configuration
- Store hashes in the configuration and read them directly from there.
- You can now customize the path and filename of the
mix-sri.json
file.
Read hashes from mix-sri.json
1.3.0 (feat): read hashes from mix-sri.json file
Blade directive and algorithm choice
- Add 2 blade directives to generate
<link>
and<script>
tag. - Leave the choice of algorithm used to generate the hash to the user. Default is
sha256
. - You can now set the crossorigin attribute in the
html()
function (Credits to @meduzen for his input on this)