Coder Social home page Coder Social logo

f9webltd / laravel-meta Goto Github PK

View Code? Open in Web Editor NEW
40.0 4.0 4.0 135 KB

:boom: Render meta tags within your Laravel application

License: MIT License

PHP 100.00%
laravel meta laravel-meta-tags meta-tags laravel-seo header-meta-tags open-graph

laravel-meta's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

laravel-meta's Issues

Repalce double quotes within meta description tags

Double quotes cause issues such as:

<meta name="description" content="We sell 20" industrial nails">

At the very least htmlentities should be ran on such tags so they become:

<meta name="description" content="We sell 20&quot; industrial nails">

Without accounting for the meta description can be truncated ๐Ÿฆˆ

Scruitinzer Fails at "PHP Analyzer: Determining Dependencies"

Scruitinzer fails after changes to composer.json - see https://scrutinizer-ci.com/g/f9webltd/laravel-meta/inspections/0bb078c0-b82e-4a1b-8894-eb678c1fec13

"PHP Analyzer: Determining Dependencies - Analyzing composer.json/composer.lock files to determine dependencies of the root package"

All tests pass but this fails after the commit 2d52ea7#diff-d2ab9925cad7eac58e0ff4cc0d251a937ecf49e4b6bf57f8b95aab76648a9d34

Could do with some help?

Use GitHub Actions

Migrate away from Scrutinizer and use GitHub actions to run tests on multiple versions of PHP and Laravel.

Tidy readme

  • Add hero image
  • Simplify read me passage describing meta title guessing

meta()->noIndex() doesn't rewrite default value

Hello I have default value

'defaults' => [
        'charset' => 'utf-8',
        'robots' => 'index, follow',
...

When I use meta()->noIndex()
It doesn't rewrite default value. When I remove default value, it works.
What could it be?

No overwrite?

Hi,

I'm trying to overwrite default meta but it doesn't work.

f9web-laravel-meta.php

  'defaults' => [
      'property:og:data' => 'ZZZ',
  ];

MyController

  meta()->set('property:og:data', 'YYY');
  // OR
  meta()->forget('property:og:data')
       ->forget('og:data')
       ->set('property:og:data', 'YYY');

Header

  <meta property="og:data" content="ZZZ">

is there a way to override it?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.