PHP code example of sinarajabpour1998 / lara-core
1. Go to this page and download the library: Download sinarajabpour1998/lara-core 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/ */
sinarajabpour1998 / lara-core example snippets
'user_models' => [
'users' => 'App\Models\User',
],
protected function validateLogin(Request $request)
{
$request->validate([
$this->username() => ['
]);
}
return [
'language' => 'fa',
'site_key' => env('GOOGLE_RECAPTCAH_SITE_KEY'),
'secret_key' => env('GOOGLE_RECAPTCAH_SECRET_KEY'),
'message' => 'شما به عنوان ربات تشخیص داده شدهاید'
];