ionCube has a good tutorial on how to use the ionCube Encoder to protect a simple Laravel 5 project by encoding the Laravel controller and model files, encrypting the Laravel Blade templates.

Laravel 5 project encoding