PHPackages                             codeurco/laravel-coconutpalm - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. codeurco/laravel-coconutpalm

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

codeurco/laravel-coconutpalm
============================

A Laravel 5 wrapper around opencoconut video encoding library

2183PHP

Since Jun 26Pushed 9y ago1 watchersCompare

[ Source](https://github.com/codeurco/laravel-coconutpalm)[ Packagist](https://packagist.org/packages/codeurco/laravel-coconutpalm)[ RSS](/packages/codeurco-laravel-coconutpalm/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

laravel-coconutpalm
===================

[](#laravel-coconutpalm)

A Laravel 5 wrapper around [coconut](http://coconut.co) video encoding service library (for php).

This package is in its early development and there's still quite a lot of room for improvements. However, it's already working for simple Amazon S3 file uploads.

Feel free to read the [official coconut documentation](http://coconut.co/docs/) to see all the available features of the official package.

Installation
============

[](#installation)

```
composer require codeurco/laravel-coconutpalm:dev-master

```

Add the service provider to your `config\app.php` file

```
Codeurco\Coconutpalm\CoconutpalmServiceProvider::class

```

You can also use the Facade to the aliases array:

```
'Coconutpalm' => Codeurco\Coconutpalm\Facades\Coconutpalm::class;

```

Configuration
=============

[](#configuration)

To start using this package, you have to give the following info in your `.env` variables:

```
COCONUT_API_KEY=your_coconut_api_key

# used for local development
NGROK_TUNNEL_URL=ngrok_url

# currently only Amazon S3 is supported
COCONUT_CDN=s3

AWS_KEY=your_s3_key
AWS_SECRET=your_s3_secret
AWS_BUCKET=your_s3_bucket

```

Additionally you can change the default paths for you manipulated video files by published the configuration for this package. You will then be able to modify `videos_source_path` and `videos_destination_path` .

Usage
=====

[](#usage)

To start encoding a file simply use this code

```
use Codeurco\Coconutpalm\Facades\Coconutpalm;

...

Coconutpalm::encode('SomeVideo.mp4');

```

Where `SomeVideo.mp4` points to a video located in your `videos_source_path`. The video will be renamed, a configuration file gets created and the encoding job is then started with Coconut.

Contributing
============

[](#contributing)

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Added some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7080564?v=4)[Naïm Khalifa](/maintainers/naimkhalifa)[@naimkhalifa](https://github.com/naimkhalifa)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/codeurco-laravel-coconutpalm/health.svg)

```
[![Health](https://phpackages.com/badges/codeurco-laravel-coconutpalm/health.svg)](https://phpackages.com/packages/codeurco-laravel-coconutpalm)
```

###  Alternatives

[overtrue/laravel-easy-sms

overtrue/easy-sms service provider for Laravel.

314.4k1](/packages/overtrue-laravel-easy-sms)

PHPackages © 2026

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