1. Go to this page and download the library: Download aanugerah/wedding-pro 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/ */
aanugerah / wedding-pro example snippets
use Aanugerah\WeddingPro\WeddingProPlugin;
public function panel(Panel $panel): Panel
{
return $panel
->default()
->id('admin')
->path('admin')
// ... plugin lain ...
->plugin(WeddingProPlugin::make());
}
namespace App\Models;
use Aanugerah\WeddingPro\Traits\HasWeddingPro;
use Aanugerah\WeddingPro\Traits\InteractsWithLanguages;
use Illuminate\Foundation\Auth\User as Authenticatable;
class User extends Authenticatable
{
use HasWeddingPro;
use InteractsWithLanguages;
// ...
}