PHPackages                             intracto/lti-consumer-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. intracto/lti-consumer-bundle

ActiveSymfony-bundle[API Development](/categories/api)

intracto/lti-consumer-bundle
============================

This bundle is a consumer setup for the LTI protocol

v6.4.0(1y ago)0818↓33.3%3MITPHPPHP &gt;=7.1.3

Since Feb 9Pushed 1y ago7 watchersCompare

[ Source](https://github.com/Intracto/LTIConsumerBundle)[ Packagist](https://packagist.org/packages/intracto/lti-consumer-bundle)[ Docs](https://github.com/intracto)[ RSS](/packages/intracto-lti-consumer-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (3)Versions (12)Used By (0)

LTIConsumerBundle
=================

[](#lticonsumerbundle)

This bundle can be used to establish [LTI (version 1)](https://www.imsglobal.org/activity/learning-tools-interoperability) connections to an e-learning tool provider.

How to install?
---------------

[](#how-to-install)

Install the bundle via composer

```
composer require intracto/lti-consumer-bundle
```

Enable the bundle

```
// app/AppKernel.php

// ...
class AppKernel extends Kernel
{
    // ...

    public function registerBundles()
    {
        $bundles = array(
            // ...,
            new Intracto\LTIConsumerBundle\LTIConsumerBundle(),
        );

        // ...
    }
}
```

Routing:

```
    intracto_lti_consumer_launch:
        path:     /lti/launch
        defaults: { _controller: intracto.lti.controller:launchAction }
```

How to get started?
-------------------

[](#how-to-get-started)

### Fill in parameters.yml

[](#fill-in-parametersyml)

```
# allows you to send custom parameters to the launch action and include them with the LTI request.
intracto_lti.custom_parameters:
    aCustomParameterName: ltiFieldName
intracto_lti.provider:
    keys:
        url: 'launch-url-toolprovider-connect'
        base_url: 'base-url-toolprovider-connect'
        key: key-provided-by-tool-provider
        secret: secret-provided-by-tool-provder
    parameters:
        lti_version: LTI-1p0
        resource_link_id: ToolProvider
        resource_link_title: ToolProvider
        tool_consumer_info_version: '1.1'
        tool_consumer_instance_guid: your-instance-guid
        tool_consumer_instance_description: your-instance-name
```

### Create action in Controller

[](#create-action-in-controller)

```
public function openElearningAction($elearningId)
{

    return $this->render(
        '@App/Elearning/e_learning.html.twig',
        [
            'tool_url' => $this->generateUrl(
                'intracto_lti_consumer_launch',
                [
                    'email' => $this->getUser()->getUsername(),
                    'aCustomParameterName' => $elearningId,  // $elearningId will be sent with the LTI connection as 'ltiFieldName' because of intracto_lti.custom_parameters
                ]
            )
        ]
    );
}
```

### Create a template 'e\_learning.html.twig'

[](#create-a-template-e_learninghtmltwig)

```
>

    Elearning

    {{ 'e_learning.page_title'|trans }}

```

### Create a template 'app/Resources/LTIConsumerBundle/views/index.html.twig'

[](#create-a-template-appresourceslticonsumerbundleviewsindexhtmltwig)

This template will be used by the bundle to do the connect-request and to load the LTI provider into an iframe in your application

```
{{ form(form,{'attr': {'id': 'lti_form'}}) }}
{{ 'lti.launch.message'|trans }}

    (function($) {
        $('#lti_form').submit();
    })(jQuery);

```

###  Health Score

36

—

LowBetter than 81% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~234 days

Recently: every ~553 days

Total

11

Last Release

666d ago

Major Versions

v1.4 → v2.02018-06-20

v2.0.2 → v4.4.02021-06-17

v4.4.0 → v5.4.02022-03-04

v5.4.0 → v6.4.02024-07-11

PHP version history (2 changes)v1.0PHP &gt;=5.6

v4.4.0PHP &gt;=7.1.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/57f44cb52273c29c230dbd1e9ef080402d53eaebcdd1fafbf5c6b75527b40199?d=identicon)[tvlooy](/maintainers/tvlooy)

![](https://www.gravatar.com/avatar/80809e7caf8341b1bac3d759e2b159a38b9bdab2deee5b0d4d66de6c83b992d1?d=identicon)[IntractoSupport](/maintainers/IntractoSupport)

---

Top Contributors

[![jeroenmoons](https://avatars.githubusercontent.com/u/3064112?v=4)](https://github.com/jeroenmoons "jeroenmoons (9 commits)")[![ymaerschalck](https://avatars.githubusercontent.com/u/1201393?v=4)](https://github.com/ymaerschalck "ymaerschalck (6 commits)")[![BrechtBonte](https://avatars.githubusercontent.com/u/2675261?v=4)](https://github.com/BrechtBonte "BrechtBonte (4 commits)")[![mhstudioos](https://avatars.githubusercontent.com/u/4021522?v=4)](https://github.com/mhstudioos "mhstudioos (2 commits)")[![tvlooy](https://avatars.githubusercontent.com/u/391674?v=4)](https://github.com/tvlooy "tvlooy (2 commits)")[![pix-art](https://avatars.githubusercontent.com/u/1973973?v=4)](https://github.com/pix-art "pix-art (1 commits)")

---

Tags

consumersoftwareLTI

### Embed Badge

![Health badge](/badges/intracto-lti-consumer-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/intracto-lti-consumer-bundle/health.svg)](https://phpackages.com/packages/intracto-lti-consumer-bundle)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M646](/packages/sylius-sylius)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[contao/core-bundle

Contao Open Source CMS

1231.6M2.3k](/packages/contao-core-bundle)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)[packbackbooks/lti-1p3-tool

A library used for building IMS-certified LTI 1.3 tool providers in PHP.

51438.3k2](/packages/packbackbooks-lti-1p3-tool)[celtic/lti

PHP class library for building LTI integrations

57279.3k7](/packages/celtic-lti)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
