Download the PHP package perfectneeds/seo-single-lang-bundle without Composer

On this page you can find all versions of the php package perfectneeds/seo-single-lang-bundle. 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-single-lang-bundle

Getting Started With PNSeoBundle for single languages web apps

Prerequisites

  1. Symfony 3.4
  2. PNServiceBundle

Installation

Installation is a quick (I promise!) 7 step process:

  1. Download PNSeoBundle using composer
  2. Enable the Bundle in AppKernel
  3. Create your Seo class
  4. Create your SeoRepository class
  5. Configure the PNSeoBundle
  6. Import PNSeoBundle routing
  7. Update your database schema

    Step 1: Download PNSeoBundle using composer

    Require the bundle with composer:

Step 2: Enable the Bundle in AppKernel

Require the bundle with composer:

Step 3: Create your Seo class

The goal of this bundle is to persist some Seo class to a database. Your first job, then, is to create the Seo class for your application. This class can look and act however you want: add any properties or methods you find useful. This is your Seo class.

The bundle provides base classes which are already mapped for most fields to make it easier to create your entity. Here is how you use it:

  1. Extend the base Seo class (from the Entity folder if you are using any of the doctrine variants)
  2. Map the id field. It must be protected as it is inherited from the parent class.

Caution!

When you extend from the mapped superclass provided by the bundle, don't redefine the mapping for the other fields as it is provided by the bundle.

In the following sections, you'll see examples of how your Seo class should look, depending on how you're storing your seos (Doctrine ORM).

Note

The doc uses a bundle named SeoBundle. However, you can of course place your seo class in the bundle you want.

Caution!

If you override the construct() method in your Seo class, be sure to call parent::construct(), as the base Seo class depends on this to initialize some fields.

Doctrine ORM Seo class

If you're persisting your seo via the Doctrine ORM, then your Seo class should live in the Entity namespace of your bundle and look like this to start:

*You can add all relations between other entities in this class

php ymal

app/config/config.yml

doctrine: orm:

search for the "ResolveTargetEntityListener" class for an article about this

    resolve_target_entities: 
        PN\SeoBundle\Entity\Seo: PN\Bundle\SeoBundle\Entity\Seo

pn_seo:

The fully qualified class name (FQCN) of the Seo class which you created in Step 3.

seo_class: PN\Bundle\SeoBundle\Entity\Seo

ymal

app/config/routing.yml

pn_seo: resource: "@PNSeoBundle/Resources/config/routing.yml" sh $ php bin/console doctrine:schema:update --force twig {% set seo = dynamicPage.seo %} {% use '@PNSeo/FrontEnd/seo.html.twig' %}



Reporting an issue or a feature request
---------------------------------------

Issues and feature requests are tracked in the [Github issue tracker](https://github.com/PerfectNeeds/seo-multi-lang-bundle).

When reporting a bug, it may be a good idea to reproduce it in a basic project
built using the [Symfony Standard Edition](https://github.com/symfony/symfony-standard)
to allow developers of the bundle to reproduce the issue by simply cloning it
and following some steps.

All versions of seo-single-lang-bundle with dependencies

PHP Build Version
Package Version
Requires php Version ^5.5.9 || ^7.0
symfony/framework-bundle Version ^4.4 || ^3.4
perfectneeds/service-bundle Version ~1.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 perfectneeds/seo-single-lang-bundle contains the following files

Loading the files please wait ....