使用ModSecurity限制PUT方法

InmotionHosting tell me that PUT / DELETE Method are restricted by ModSecurity.

They tell me that direct PUT request is not posible, but that I can do it with PHP.

They also tell me they can disable those restriction, but that it would expose my system to security breach and that it is not recommended.

I don't really understand the concept of direct / indirect PUT...

More, I have no clue of what should I do in PHP to make PUT request without doing it directly.

I'm working with Laravel / PHP / Apache

Any idea?

Laravel's documentation is great for this: Form Method Spoofing

Now in your laravel router/controller you can check in the Request->input('_method')

if( Request->input('_method') === "put")
{
    //do something
    ...
}

And you can run code specifically for this form in that route or controller. So you don't really need to open yourself to those commands but you can still handle them. More information about requests here and here