Looking to hire Laravel developers? Try LaraJobs

laravel-optimus maintained by rodrigopedra

Description
Laravel wrapper for Optimus
Last update
2020/09/13 21:21 (dev-master)
License
Links
Downloads
657
Tags

Comments
comments powered by Disqus

Laravel Optimus

Bridge to jenssegers/optimus for Laravel.

It handles Route Model Binding to use a hashed id.

Installation

composer require rodrigopedra/laravel-optimus

It will auto-register the ServiceProvider.

Configuration

Run this command to generate your app's secret numbers and add them to you .env:

php artisan optimus:seed

Usage

Add the UsesOptimusKey trait to the models you want to have an Optimus route key.

This trait will handle the custom model binding.

License

The MIT License (MIT). Please see License File for more information.