Add (minifier)
Add (seotools): facebook app id
This commit is contained in:
@@ -37,6 +37,7 @@ class Kernel extends HttpKernel
|
|||||||
\App\Http\Middleware\VerifyCsrfToken::class,
|
\App\Http\Middleware\VerifyCsrfToken::class,
|
||||||
\Illuminate\Routing\Middleware\SubstituteBindings::class,
|
\Illuminate\Routing\Middleware\SubstituteBindings::class,
|
||||||
\Spatie\GoogleTagManager\GoogleTagManagerMiddleware::class,
|
\Spatie\GoogleTagManager\GoogleTagManagerMiddleware::class,
|
||||||
|
\DipeshSukhia\LaravelHtmlMinify\Middleware\LaravelMinifyHtml::class,
|
||||||
],
|
],
|
||||||
|
|
||||||
'api' => [
|
'api' => [
|
||||||
|
|||||||
@@ -10,6 +10,7 @@
|
|||||||
"require": {
|
"require": {
|
||||||
"php": "^8.1",
|
"php": "^8.1",
|
||||||
"artesaos/seotools": "^1.2",
|
"artesaos/seotools": "^1.2",
|
||||||
|
"dipeshsukhia/laravel-html-minify": "^3.3",
|
||||||
"graham-campbell/markdown": "^15.0",
|
"graham-campbell/markdown": "^15.0",
|
||||||
"guzzlehttp/guzzle": "^7.2",
|
"guzzlehttp/guzzle": "^7.2",
|
||||||
"intervention/image": "^2.7",
|
"intervention/image": "^2.7",
|
||||||
|
|||||||
69
composer.lock
generated
69
composer.lock
generated
@@ -4,7 +4,7 @@
|
|||||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||||
"This file is @generated automatically"
|
"This file is @generated automatically"
|
||||||
],
|
],
|
||||||
"content-hash": "189360d364c9c9dd3b0432c0e6525083",
|
"content-hash": "6befdc23980f16c166f9c783aa9cabf5",
|
||||||
"packages": [
|
"packages": [
|
||||||
{
|
{
|
||||||
"name": "artesaos/seotools",
|
"name": "artesaos/seotools",
|
||||||
@@ -357,6 +357,73 @@
|
|||||||
},
|
},
|
||||||
"time": "2022-10-27T11:44:00+00:00"
|
"time": "2022-10-27T11:44:00+00:00"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "dipeshsukhia/laravel-html-minify",
|
||||||
|
"version": "v3.3.1",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/dipeshsukhia/laravel-html-minify.git",
|
||||||
|
"reference": "6c25fe0d95f74a3828ed86ac88f85d78e5cb8a96"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/dipeshsukhia/laravel-html-minify/zipball/6c25fe0d95f74a3828ed86ac88f85d78e5cb8a96",
|
||||||
|
"reference": "6c25fe0d95f74a3828ed86ac88f85d78e5cb8a96",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"illuminate/support": "^10.0",
|
||||||
|
"php": ">=8.1"
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"orchestra/testbench": "8.0.*",
|
||||||
|
"phpunit/phpunit": "^10.1"
|
||||||
|
},
|
||||||
|
"type": "library",
|
||||||
|
"extra": {
|
||||||
|
"laravel": {
|
||||||
|
"providers": [
|
||||||
|
"DipeshSukhia\\LaravelHtmlMinify\\LaravelHtmlMinifyServiceProvider"
|
||||||
|
],
|
||||||
|
"aliases": {
|
||||||
|
"LaravelHtmlMinify": "DipeshSukhia\\LaravelHtmlMinify\\LaravelHtmlMinifyFacade"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"autoload": {
|
||||||
|
"psr-4": {
|
||||||
|
"DipeshSukhia\\LaravelHtmlMinify\\": "src"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
|
"license": [
|
||||||
|
"MIT"
|
||||||
|
],
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "Dipesh Sukhia",
|
||||||
|
"email": "dipesh.sukhia@gmail.com",
|
||||||
|
"role": "Developer"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "laravel minify html output",
|
||||||
|
"homepage": "https://github.com/dipeshsukhia/laravel-html-minify",
|
||||||
|
"keywords": [
|
||||||
|
"dipeshsukhia",
|
||||||
|
"laravel-html-minify"
|
||||||
|
],
|
||||||
|
"support": {
|
||||||
|
"issues": "https://github.com/dipeshsukhia/laravel-html-minify/issues",
|
||||||
|
"source": "https://github.com/dipeshsukhia/laravel-html-minify/tree/v3.3.1"
|
||||||
|
},
|
||||||
|
"funding": [
|
||||||
|
{
|
||||||
|
"url": "https://github.com/dipeshsukhia",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"time": "2023-09-07T03:26:50+00:00"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "doctrine/inflector",
|
"name": "doctrine/inflector",
|
||||||
"version": "2.0.8",
|
"version": "2.0.8",
|
||||||
|
|||||||
19
config/htmlminify.php
Normal file
19
config/htmlminify.php
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Env Variable for HTML_MINIFY
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Set this value to the false if you don't need html minify
|
||||||
|
| this is by default "true"
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
'default' => env('HTML_MINIFY', true),
|
||||||
|
|
||||||
|
// exclude route name for exclude from minify
|
||||||
|
'exclude_route' => [
|
||||||
|
// 'routeName'
|
||||||
|
]
|
||||||
|
];
|
||||||
@@ -4,6 +4,10 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
return [
|
return [
|
||||||
|
|
||||||
|
|
||||||
|
'fb_app_id' => '1259730771382460',
|
||||||
|
|
||||||
'meta' => [
|
'meta' => [
|
||||||
/*
|
/*
|
||||||
* The default configurations to be used by the meta generator.
|
* The default configurations to be used by the meta generator.
|
||||||
@@ -41,7 +45,7 @@
|
|||||||
'url' => false, // Set null for using Url::current(), set false to total remove
|
'url' => false, // Set null for using Url::current(), set false to total remove
|
||||||
'type' => false,
|
'type' => false,
|
||||||
'site_name' => false,
|
'site_name' => false,
|
||||||
'images' => [],
|
'images' => ['https://echoscoop.com/pwa/icon-512x512.png'],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'twitter' => [
|
'twitter' => [
|
||||||
@@ -62,7 +66,7 @@
|
|||||||
'description' => 'Distilling world news into bite-sized scoops.', // set false to total remove
|
'description' => 'Distilling world news into bite-sized scoops.', // set false to total remove
|
||||||
'url' => false, // Set to null or 'full' to use Url::full(), set to 'current' to use Url::current(), set false to total remove
|
'url' => false, // Set to null or 'full' to use Url::full(), set to 'current' to use Url::current(), set false to total remove
|
||||||
'type' => 'WebPage',
|
'type' => 'WebPage',
|
||||||
'images' => [],
|
'images' => ['https://echoscoop.com/pwa/icon-512x512.png'],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user