This is a package to integrate CeLTIc LTI with Laravel. CeLTIc is a full-fledged LTI library written in generic PHP; this library provides hooks for supporting Laravel's opinionated stance on database access, configuration management, etc.
Require this package with composer.
composer require longhornopen/laravel-celtic-lti
Publish this package's assets.
php artisan vendor:publish --provider="LonghornOpen\LaravelCelticLTI\LtiServiceProvider"
Run your app's migrations, which will install the 'lti2_*' database tables.
php artisan migrate
Finally, check the config/lti.php
file to set your app's configuration.
If you don't use Laravel's auto-discovery of packages, add the ServiceProvider to the providers array in config/app.php:
LonghornOpen\LaravelCelticLti\LtiServiceProvider
A sample set of steps to get this library up and running in your own app can be found at https://github.com/longhornopen/laravel-celtic-lti/wiki/Laravel-app-setup.
A simple Laravel example app using this library, mostly ready to deploy, is at https://github.com/longhornopen/lti-example-app.
We gladly accept GitHub issues containing bug reports or suggestions for improvement.
Pull requests or other offers of development help are appreciated. If you're wanting to contribute a large change, please open an issue and let us know.
Thanks to the CeLTIc project and to Stephen Vickers in particular. This library would not be possible without their underlying work.