PHP code example of arwp / main-master
1. Go to this page and download the library: Download arwp/main-master library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
arwp / main-master example snippets
return view('sub_menu.index', compact('id', 'page', 'user'));
public function create(Request $request)
{
$id = $request->input('id');
$page = Page::where('id', $id)->first();
$user = Auth::user();
return view($page->url.'.create', compact('page', 'user'));
}