creode/laravel-nova-careers
最新稳定版本:1.7.0
Composer 安装命令:
composer require creode/laravel-nova-careers
包简介
Exposes functionality within the Laravel Careers module to Laravel Nova.
README 文档
README
Exposes functionality within the Laravel Careers module to Laravel Nova.
Installation
You can install the package via composer:
composer require creode/laravel-nova-careers
Setup Page Builder Model
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, ... ];
Publishing Config
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', ''), ];
Publishing Views
You can publish the views this module utilises with:
php artisan vendor:publish --tag="nova-careers-views"
Registering Vacancies Page Block
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, ... ];
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 62
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-01-24