Download the PHP package workingconcept/craft-lever without Composer

On this page you can find all versions of the php package workingconcept/craft-lever. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package craft-lever

Lever Craft CMS 4 Plugin

Get Lever job details and post applications directly from Craft.

Scrutinizer status


Installation & Setup

Development

Templating

craft.lever.jobs([])

Returns an array of jobs. Supply valid parameters for the job postings API if you need to tailor the results.

craft.lever.job(id)

Returns a specific job matching the provided Lever ID, or false.

Job Properties

Template Examples

List Jobs

Custom Job Application Form

You can create your own form and validation and submit it with an action field set to lever/apply. Use any fields named exactly as seen in the postings API, with jobId, name, and email being required.

Establishing Custom Job Detail Pages

You can display all job details on your site if you'd like, including custom detail pages. One way you might go about that is to create a detail page template like jobs/_detail.twig and set up a custom route for it.

Barebones template:

Custom route in config/routes.php:

This will take requests like https://site.foo/jobs/be9f3647-b59a-4272-94a0-8b937520a69f and send them to your template, where they'll 404 if the ID is invalid.

Events

EVENT_BEFORE_VALIDATE_APPLICATION

Triggered after an application is submitted and before it's validated. You can adjust $event->application if you need to do something custom like handle a FilePond upload and attach it to the LeverJobApplication model.

EVENT_BEFORE_SEND_APPLICATION

Triggered after an application is submitted and before it's sent to Lever. Grab the application data from $event->application and prevent it from being sent by setting $event->isSpam to true.

EVENT_AFTER_SEND_APPLICATION

Triggered immediately after an application is sent to Lever successfully. Same $event->application and $event->isSpam properties available.

Support

Please submit an issue or a pull request if anything needs attention. We'll do our best to respond promptly.


This plugin is brought to you by Working Concept, which has no affiliation with Lever.


All versions of craft-lever with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0.2
craftcms/cms Version ^4.0.0
ext-json Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package workingconcept/craft-lever contains the following files

Loading the files please wait ....