You are on page 1of 2

XDebug Netbeans

https://linkstraffic.net/debugging-a-php-project-with-netbeans/

Snippets Netbeans:

https://www.youtube.com/watch?v=YFTLlNOgOec
http://wiki.netbeans.org/Java_EditorUsersGuide#How_to_use_Code_Templates

route::resource
Route::resource('${uri}', '${controlador}');
Route::resource

route::get_controller
Route::get('${uri}', '${controller}@${action}');
Route::get (Controller)

route::get_function
Route::get('${uri}', function(){
${cursor}
});
Route::get (Function)

route::post_controller
Route::post('${uri}', '${controller}@${action}');
Route::post

route::post_function
Route::post('${uri}', function(){
${cursor}
});
Route::post (Function)

r_put
Route::put('${uri}', '${controlador}@${accion}')->name('${accion}');
Route::put

r_patch
Route::post('${uri}', '${controlador}@${accion}')->name('${accion}');
Route::post

r_delete
Route::delete('/${uri}/{id}', '${controlador}@${uri}');
Ruta tipo delete

r_options
Route::delete('/${uri}/{id}', '${controlador}@${uri}');
Ruta tipo delete

r_match
Route::any('${uri}', '${controlador}@${accion}')->name('${accion}');
Route::any

r_any
Route::any('${uri}', '${controlador}@${accion}')->name('${accion}');
Route::any

r_view
Route::view('/', 'welcome');
Route::view

r_redirect
Route::redirect('dashboard', 'home/dashboard');
Route::redirect

r_namespace
Route::namespace('dashboard', 'home/dashboard');
Route::redirect

r_domain
Route::domain('dashboard', 'home/dashboard');
Route::redirect

r_prefix
Route::prefix('dashboard', 'home/dashboard');
Route::redirect

r_current()
Route::prefix('dashboard', 'home/dashboard');
Route::redirect

r_currentRouteName()
Route::prefix('dashboard', 'home/dashboard');
Route::redirect

r_currentRouteAction()
Route::prefix('dashboard', 'home/dashboard');
Route::redirect

pfunc
public function ${nombre}(${param_name default="$id"})
{

${cursor};

You might also like