fbf / laravel-jobs
A Laravel 4 package for adding jobs listings to a website
Installs: 187
Dependents: 0
Suggesters: 0
Security: 0
Stars: 23
Watchers: 7
Forks: 18
Open Issues: 11
Requires
- php: >=5.3.0
- cviebrock/eloquent-sluggable: 1.0.*
- fzaninotto/faker: 1.3.*
- illuminate/support: 4.*
- judev/php-htmltruncator: dev-master
This package is not auto-updated.
Last update: 2024-12-17 03:30:20 UTC
README
A Laravel 4 package for adding jobs listings to a website
Features
- Jobs index and detail page functionality with search
- Ability to apply for a job and upload a CV
- Jobs can be draft or approved
- Jobs can be permanent or temporary and part time or full time
- Flexible configurable way of having salaries associated with a job
- They have a published date that you can set in the future for delayed/scheduled publishing
- Job slugs are automatically created from the job title
- Control meta description and keywords of job detail pages for SEO purposes
- Uses soft deletes in case you need to retrieve old content
- Configure the rendered views so you can use one in your app rather than the one in the package
- Make use of partials in your own view so you can add extra stuff around the partial
Comes with a
- Migration for creating the fbf_jobs table (N.B. The search function makes use of MySQL Full Text search, so the engine is set to MyISAM)
- Model, controller and views (main view and partials)
- Built in configurable routes
- Faker seed to seed your database with loads of good test data
Installation
Add the following to you composer.json file
"fbf/laravel-jobs": "dev-master"
Run
composer update
Add the following to app/config/app.php
'Fbf\LaravelJobs\LaravelJobsServiceProvider'
Publish the config
php artisan config:publish fbf/laravel-jobs
Run the migration
php artisan migrate --package="fbf/laravel-jobs"
Optionally copy the administrator config to your administrators model config directory, if you have one
Configuration
There are loads of options in the config file, check it out.
Administrator
You can use the excellent Laravel Administrator package by frozennode to administer your jobs.
http://administrator.frozennode.com/docs/installation
A ready-to-use model config file for the Job model (jobs.php) is provided in the src/config/administrator directory of the package, which you can copy into the app/config/administrator directory (or whatever you set as the model_config_path in the administrator config file).
Faker seed
The package comes with a seed that can populate the table with a whole bunch of sample jobs. To run it:
php artisan db:seed --class="Fbf\LaravelJobs\JobsTableFakeSeeder"