fengqi/laravel-webdav-method

Extension for the Laravel 4 router have webdav method

0.3 2015-01-09 06:24 UTC

This package is auto-updated.

Last update: 2024-10-29 04:36:25 UTC


README

Extension for the Laravel 4 router have webdav method.

Installation

Require this package with composer:

composer require fengqi/laravel-webdav-method

After updating composer, add the ServiceProvider to the providers array in app/config/app.php

'fengqi\LaravelWebdavMethod\WebDavMethodServiceProvider'

Useage example

Route::propfind('/example', 'PropController@index');
Route::propfind('/example', function()
{
    // anything...
});

Route::copy();
Route::move();
Route::mkcol();
Route::proppatch();
Route::lock();
Route::unlock();