Repository navigation
Home
-
Step One Install Laravel framework. The following command will install the latest version of Laravel with the project name LaravelDefault.
composer create-project laravel/laravel LaravelDefault -
Step Two Create a Folder Packages in your Laravel Root Directory
-
Step 3 Clone or Download the CKEditor V1 Plugin to your Packages Director CKEditor Plugin V1CKEditorPluginV1
-
Inside the root Laravel project, open the composer.json file. In that file, look for:
"autoload" : { "psr-4": { ...Inside of the psr-4 tag, load the following:
"EONConsulting\\CKEditorPlugin\\": "Packages/CKEditorPlugin/src" -
Just as above, except in the components composer.json file:
"EONConsulting\\CKEditorPlugin\\": "src/*"
Under the psr-4 but still inside of the autoload if the array files does not exist, create it like this:
"files": [
...
]
And enter into it:
"Packages/CKEditorPlugin/src/Http/helpers.php"
And again, in the components composer.json file:
"src/Http/helpers.php"
Open up config/app.php. In the providers array, enter the following:
EONConsulting\CKEditorPlugin\CKEditorPluginServiceProvider::class,
In the same file, in the aliases array, enter:
'CKEditorPlugin' => \EONConsulting\CKEditorPlugin\src\Facades\CKEditorPlugin::class,
This Component requires that the Laravel LTI Package be installed
See LaravelLTI for Installation instructions
In the command line / terminal, enter the following command in the root of the Laravel project:
composer dump-autoload -o
php artisan vendor:publish
php artisan migrate