- Run the following command to fetch the latets version of the package:
composer require f9webltd/laravel-meta:^2.0
- The package now requires PHP
^8.0
and Laravel^8.12
/^9.0
,^10.0
or^11.0
- The
meta()
helper function now only returns an instance of theMeta
class, this is breaking change. Previously the helper acted as a short cut to fetch a specific tag. For example,meta('title')
was previously the same asmeta()->get('title')
. This behaviour was removed for simplicity and to help with autocompletion. If using this function calls in the formatmeta('title')
shoulod be adjusted tometa()->get('title')
- No further changes are required