Skip to content

Releases: Elhebert/laravel-sri

Fix Blade directives

22 Mar 13:20
6e26d7e
Compare
Choose a tag to compare
(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

22 Mar 09:00
Compare
Choose a tag to compare
  • 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

22 Mar 08:59
Compare
Choose a tag to compare
1.3.0

(feat): read hashes from mix-sri.json file

Blade directive and algorithm choice

16 Mar 05:40
Compare
Choose a tag to compare
  • 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)