Download the PHP package portedcheese/seo-integration without Composer

On this page you can find all versions of the php package portedcheese/seo-integration. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package seo-integration

Seo integration

Добавляется таблица с метатегами. Тег может быть привязать к любой модели, а так же можно создать теги для статичных страниц.

У модели Meta есть метод на проверку возможности привязать тэг к модели (getModel он проверяет есть ли возможность довабить к этой модели тег и нет ли уже такого тега, если передать имя), названия моделей указываются в конфиге. Называть надо так же как названа таблица, потому что есть метод который позволяет получить все теги для конкретной модели (getByModelKey) и кэширует результат. Еще есть метод на получение тегов для страницы по ключу (getByPageKey)

Установка

php artisan vendor:publish --provider="PortedCheese\SeoIntegration\SeoIntegrationServiceProvider"

php artisan migrate

php artisan make:seo {--all : Run all}
                     {--models : Export models}
                     {--controllers : Export controllers}
                     {--policies : Export and create rules}
                     {--only-default : Create default rules}

Вывод формы добавляения тегов для пользователя

@include("seo-integration::admin.meta.create", ['model' => 'users', 'id' => Auth::user()->id])

Вывод таблицы всех тегов у модели с кнопками редактирования и удаления

@include("seo-integration::admin.meta.table-models", ['metas' => Auth::user()->metas])

Создание и редактирование тегов для страниц

Есть роут admin.meta.index, на нем выводится таблица

Versions

v1.5.0: base-settings v4.1 (image-filter route)
v1.4.1: fix vendorName
v1.4.0: base-settings v3.0
v1.3.0: base-settings v2.0
v1.2.1: Change menu for sb-admin
v1.1.3:
    - Добавлен новый trait ShouldMetas
    - Теперь не нужно вызывать функцию в boot
Обновление:
    - Можно заменить HasMetas на новый

v1.1.2:
    - Добавлен шаблон для меню
    - Настроены права на мета
Обновление:
    - изменить меню на шаблон seo-integration::admin.meta.menu
    - php artisan make:seo --all

v1.1.1:
    - Добавлена команда
    - Теперь можно переопределять модель и контроллеры
Обновление:
    - php artisan make:seo --all

All versions of seo-integration with dependencies

PHP Build Version
Package Version
Requires portedcheese/base-settings Version ^4.1 | ^5.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package portedcheese/seo-integration contains the following files

Loading the files please wait ....