PHPackages                             veeroll-package/composer - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. veeroll-package/composer

ActiveLibrary[Framework](/categories/framework)

veeroll-package/composer
========================

Veeroll package for creating video via API requests.

v1.0.26(1y ago)0145MITPHPPHP ^8.1

Since Aug 20Pushed 1y ago2 watchersCompare

[ Source](https://github.com/iLathys/vr-backend-package)[ Packagist](https://packagist.org/packages/veeroll-package/composer)[ RSS](/packages/veeroll-package-composer/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (2)Versions (29)Used By (0)

Veeroll Package
===============

[](#veeroll-package)

This package allows you to create Veeroll videos using various modes, including express mode.

Installation
------------

[](#installation)

To install the package, run the following command:

```
composer require veeroll-package/composer
```

Configuration
-------------

[](#configuration)

After installing the package, add the VeerollServiceProvider to the providers array in config/app.php:

```
'providers' => ServiceProvider::defaultProviders()->merge([
    Veeroll\VeerollServiceProvider::class,
])->toArray(),

```

run the command below
---------------------

[](#run-the-command-below)

```
php artisan vendor:publish --provider="Vendor\Veeroll\VeerollServiceProvider"

```

Usage
-----

[](#usage)

Below is an example of how to create a Veeroll video: ( note that it will take some time before your images and voice overs will be generated, ) you can always check on key `frames` and `generating_vo` key if voice over is still on process and key `generating_ai_image` for images on process for ai generation

```
use Vendor\Veeroll\Services\VideoService;

$params = [
    "picture_format_id" => 2,
    "duration" => 15, //min of 10 maximum 180(3 minutes)
    "language_id" => 1,
    "voice_over" => 0, // true or false
    "captions" => 1, // true or false
    "video_type_id" => 7,
    "video_tone_id" => 3,
    "name" => "test",
    "topic" => "city lights", // topic of the video that will be used by the AI to generate contents
    "asset_type" => "express_mode", // express_mode => generate AI Images , stock_pictures => generate stock images , plain => solid backgrounds , stock_videos => generate stock videos
    "tone_id" => 1,
    "ai_style_id" => 8,
    "voice" => 1 // true or false
];

$veerollpackage = new VideoService();
$veerollpackage->createVideo($params);

```

sample response after creating a video
--------------------------------------

[](#sample-response-after-creating-a-video)

```
 [
  "data" =>  [
    id => 2
  ],
  "message" => "Video created successfully"
]

```

get account credits / balance
-----------------------------

[](#get-account-credits--balance)

```
use Vendor\Veeroll\Services\VideoService;

$veerollpackage = new VideoService();
$veerollpackage->getCredits();

```

sample response
---------------

[](#sample-response)

```
{
    "credits": {
        "ai_credits_balance": "Unlimited",
        "video_credits_balance": "Unlimited",
        "voice_over_credits_balance": "Unlimited",
        "video_duration_credits_balance": "Unlimited",
        "pict_to_video_credits_balance": 0
    }
}

```

Below is an example of how to generate a video once all your voice overs or images are generated,
-------------------------------------------------------------------------------------------------

[](#below-is-an-example-of-how-to-generate-a-video-once-all-your-voice-overs-or-images-are-generated)

```
use Vendor\Veeroll\Services\VideoService;

$veerollpackage = new VideoService();
$videoId = 2;
$veerollpackage->generateVideo($videoId);

```

To get the generated video urls and download it , you can call on this api to monitor the status of the generation of video
---------------------------------------------------------------------------------------------------------------------------

[](#to-get-the-generated-video-urls-and-download-it--you-can-call-on-this-api-to-monitor-the-status-of-the-generation-of-video)

```
use Vendor\Veeroll\Services\VideoService;

$veerollpackage = new VideoService();
$videoId = 2;
$veerollpackage->getVideoURLs($videoId);

```

a sample reponse will be like this, TAKE NOTE of the status field, if its equal to 0 or false, it means its still on going on the process of generating, with status equal to 1 is finish
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[](#a-sample-reponse-will-be-like-this-take-note-of-the-status-field-if-its-equal-to-0-or-false-it-means-its-still-on-going-on-the-process-of-generating-with-status-equal-to-1-is-finish)

```
[
  "video_export" =>[
    [
      'video_id' => 2,
      'status' => 1,
      'download_url' => 'https://s3.us-west-2.amazonaws.com/sample.mp4',
      'actual_duration' => 21,
      'date_generated' => "2024-09-26 13:10:01"
      'created_at' => "2024-09-26T05:10:01.000000Z"
      'updated_at' => "2024-09-26T05:13:23.000000Z"
    ]
  ]
]

```

available picture\_format\_ids
------------------------------

[](#available-picture_format_ids)

```
ID  Label              Aspect Ratio  Width  Height

1   Square (1:1)       1:1           1024   1024
2   Vertical (9:16)    9:16          768    1344
3   Wide (16:9)        16:9          1344   768

```

available language\_id
----------------------

[](#available-language_id)

```
ID  Label               Language

1   English             English US
2   English UK          English UK
3   Portuguese          Portuguese
4   Spanish             Spanish
5   French              French
6   German              German
7   Italian             Italian
8   Dutch               Dutch
9   Bahasa Indonesia    Bahasa Indonesia
10  Mandarin            Mandarin
11  Filipino            Filipino
12  Latin edit          Latin

```

available video\_type\_id
-------------------------

[](#available-video_type_id)

```
ID  Label

1   Fun facts
2   Listicle
3   Tips
4   Education
5   Short-story
6   Motivation
7   Default

```

available video\_tone\_id
-------------------------

[](#available-video_tone_id)

```
ID  Label            Tone

1   Corporate        The video style is corporate.
2   Marketing        The video purpose is for marketing.
3   Casual           The video tone should be casual.
4   Energetic        The video tone should be energetic.
5   Educational      The video style is educational.
6   Intriguing       The video tone should be intriguing.
7   Humorous         The video tone should be humorous.
8   Serious          The video tone should be serious.
9   Inspirational    The video should be inspirational.
10  Motivational     The video style should be motivational.
11  Dramatic         The video style should be dramatic.
12  Joyful           The video tone should be joyful.

```

available ai\_style\_id , this is for the visuals ( images / videos)
--------------------------------------------------------------------

[](#available-ai_style_id--this-is-for-the-visuals--images--videos)

```
ID  Label               Style           Description

1   Pencil sketch       Line-art        Black and white hand-drawn pencil sketch
2   Comic Book          Comic-book      Colored comic book style drawing
3   Anime               Anime           Colored anime style drawing
4   2D isometric        Isometric       2D isometric style
5   Photo realistic     Photographic    Photo realistic picture
6   Origami             Origami         Origami style drawing
7   Pixel art           Pixel-art       Pixel art style drawing
8   Movie style         Cinematic       Movie style picture
9   Colour marker       Digital-art     Colour marker style sketch
10  Neon                Neon-punk       Neon style drawing
11  3D model            3D-model        3D render picture
12  Sepia               Line-art        Sepia hand-drawn pencil sketch
13  Watercolor          Line-art        Watercolor drawing
14  Fantasy             Digital-art     Fantasy drawing
15  Polygon             Digital-art     Polygon style drawing
16  2D Flat             Enhance         2D explainer video-style picture (flat:0.9, minimal:0.9, simple shapes:0.9)

```

available tone\_id ( music\_tones)
----------------------------------

[](#available-tone_id--music_tones)

```
ID  Label

1   Carefree
2   Epic
3   Exciting
4   Funny
5   Groovy
6   Happy
7   Love
8   Mysterious
9   Peaceful
10  Uplifting

## Environment Variables
Make sure to set the following environment variables in your .env file:

```

VEEROLL\_SECRET=your-secret-value VEEROLL\_API\_KEY=your-api-key

```

```

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~3 days

Recently: every ~17 days

Total

27

Last Release

557d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1a612ae49181c5afe81768dffe059bb8f4af67bf2e0bc51cf072246aefb57998?d=identicon)[janpaul](/maintainers/janpaul)

---

Top Contributors

[![janpaulalmanoche](https://avatars.githubusercontent.com/u/44863381?v=4)](https://github.com/janpaulalmanoche "janpaulalmanoche (45 commits)")

---

Tags

apiframeworklaravelvideo

### Embed Badge

![Health badge](/badges/veeroll-package-composer/health.svg)

```
[![Health](https://phpackages.com/badges/veeroll-package-composer/health.svg)](https://phpackages.com/packages/veeroll-package-composer)
```

###  Alternatives

[bagisto/bagisto

Bagisto Laravel E-Commerce

26.2k161.6k7](/packages/bagisto-bagisto)[krayin/laravel-crm

Krayin CRM

22.0k32.8k1](/packages/krayin-laravel-crm)[unopim/unopim

UnoPim Laravel PIM

9.4k1.8k](/packages/unopim-unopim)[nutgram/nutgram

The Telegram bot library that doesn't drive you nuts

714214.9k8](/packages/nutgram-nutgram)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
