This section will help you get started with installing Venture into your project.
Step 1: Installation
Venture requires PHP 8.1 or higher and Laravel 9 or higher.
You can install Venture through composer
$ composer require sassnowski/venture
Step 2: Preparing the application
After installing Venture, there are a few things we need to do to prepare our application.
Publishing the configuration
First, we need to publish the configuration that comes with Venture. You can do so by running the following artisan command:
php artisan vendor:publish --provider="Sassnowski\Venture\VentureServiceProvider" --tag=config
This will create a
venture.php file in your application's
Running the migrations
Venture creates two new tables. By default, they are named
workflow_jobs. Both of these values can be overwritten inside the configuration file (see the configuration page for more information).
To execute the migrations, you first need to publish the migrations.
php artisan vendor:publish --provider="Sassnowski\Venture\VentureServiceProvider" --tag="migrations"
After that you can run the migrations.
php artisan migrate
That's all the setup necessary. Next, let's look at how we can get our jobs to work inside a workflow.