Exposes functionality within the Laravel Careers module to Laravel Nova.
You can install the package via composer:
composer require creode/laravel-nova-careers
The default Career model has to be replaced to utilise some of the new page builder features, so ensure that you use the new model by editing the existing careers config:
// config/careers.php
return [
...
'model' => Creode\LaravelNovaCareers\Models\NovaCareer::class,
...
];
You can publish the config file with:
php artisan vendor:publish --tag="nova-careers-config"
This is the contents of the published config file:
// 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', ''),
];
You can publish the views this module utilises with:
php artisan vendor:publish --tag="nova-careers-views"
This module supports the ability to expose a new optional page block within your site. This can be used in line with the creode/nova-page-builder
module.
The block will display a list of vacancies that are currently active. To register the block add the following service provider to your config/app.php
file:
// config/app.php
'providers' => [
....
Creode\LaravelNovaCareers\Providers\CareersPageBlockProvider::class,
...
];
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.