Pavel Buchnev

Results 98 comments of Pavel Buchnev

Hi! After OgPackage initialization you should register it. ```php $og = new Butschster\Head\Packages\Entities\OpenGraphPackage('some_name'); $og->setType('website') ->setSiteName('My awesome site') ->setTitle('Post title'); // You can render itself $og->toHtml(); // // // // Or...

> Thanks for reply. > I want to pass a variable in addImage( ); > When I pass variable in set attribute , It works > $og->setType($site->type) // working >...

I've added replace method for this case ```php $package = new \Butschster\Head\Packages\Package('custom_package'); $package->setTitle('Custom title'); $newPackage = new \Butschster\Head\Packages\Package('custom_package'); $newPackage->setTitle('New title'); // Will replace "Current title" to "New title" after package...

> What is the name that I have to put here? I don't understand this part, thanks > > $og = new Butschster\Head\Packages\Entities\OpenGraphPackage('some_name'); Hi! It's just a unique key, feel...

Hi @adantart You may use OpenGraph package https://github.com/butschster/LaravelMetaTags#opengraphpackage Or if you need to create your own tags use https://github.com/butschster/LaravelMetaTags#tag

I think, there is a problem with command `spiral get-binary` https://github.com/spiral/app/blob/master/composer.json#L39. If you want to use RoadRunner 2.x try `composer create-project spiral/app:2.x-dev`

Try to add `version: '2.7'` at the top of `.rr.yaml`