<?php

use App\Category;

Route::group([
    'namespace' => 'Packages\Product\Http\Controllers',
    'middleware' => ['web', 'auth', 'verified'],
    'prefix' => 'panel'
], function() {

Route::resource('products','ProductController');




});
//$categories=Category::orderBy('id','DESC')->paginate(20);
//return view('panel.categories.index',compact('categories'));
//$table->id();
//$table->string('title');
//$table->string('discription');
//$table->string('creator_id');
//$table->string('slug')->unique()->nullable();
//$table->string('category_type');
//$table->integer('parent')->default(0);
//$table->timestamps();
//$table->softDeletes();








// class B {
//     public function ss() {
//         dd('Hello world!');
//     }
// }


// $b = new B();
// $b->ss();

// Facades\B::ss();
