PHP code example of creode / laravel-nova-careers
1. Go to this page and download the library: Download creode/laravel-nova-careers 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/ */
creode / laravel-nova-careers example snippets
// config/careers.php
return [
...
'model' => Creode\LaravelNovaCareers\Models\NovaCareer::class,
...
];
// config for Creode/LaravelNovaCareers
return [
/*
|--------------------------------------------------------------------------
| Job Types
|--------------------------------------------------------------------------
|
| Job types that can be selected with each job posting.
|
*/
'job_types' => [
'Full Time' => 'Full Time',
'Part Time' => 'Part Time',
'Contract' => 'Contract',
'Freelance' => 'Freelance',
'Internship' => 'Internship',
'Temporary' => 'Temporary',
'Volunteer' => 'Volunteer',
'Apprenticeship' => 'Apprenticeship',
],
/*
|--------------------------------------------------------------------------
| Application Email
|--------------------------------------------------------------------------
|
| This value is the email address that careers applications will be sent
| to.
|
*/
'application_email' => env('CAREERS_EMAIL', ''),
];
// config/app.php
'providers' => [
....
Creode\LaravelNovaCareers\Providers\CareersPageBlockProvider::class,
...
];
bash
php artisan vendor:publish --tag="nova-careers-config"
bash
php artisan vendor:publish --tag="nova-careers-views"