PHPackages                             buonzz/youthere-ci - 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. buonzz/youthere-ci

ActiveCodeigniter-library[Utility &amp; Helpers](/categories/utility)

buonzz/youthere-ci
==================

A CodeIgniter Library to Check if files is present in another server

v1.0.0(11y ago)116MITPHPPHP &gt;=5.3.0

Since Jul 8Pushed 11y agoCompare

[ Source](https://github.com/buonzz/youthere-ci)[ Packagist](https://packagist.org/packages/buonzz/youthere-ci)[ RSS](/packages/buonzz-youthere-ci/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

youthere-ci
===========

[](#youthere-ci)

[![Build Status](https://camo.githubusercontent.com/b9c8d5df35bed6b70ae86d9a14849f2c1b03a2341685b0dc9b7af455dec52c2b/68747470733a2f2f7472617669732d63692e6f72672f62756f6e7a7a2f796f7574686572652d63692e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/buonzz/youthere-ci)

A CodeIgniter Library to Check if files is present in another server

Have you ever been in a situation that your web application is in server A, then your video/media files is on server B Then some logic in your CodeIgniter application relies on the presence of a particular file in Server B?

Example Scenario: You only wanted to show the HD button in your website, if the HD video file in another server is present. This library will help you in doing such query in a very easy to use interface.

Requirements
------------

[](#requirements)

- PHP &gt;= 5.2
- CodeIgniter Application
- Valid FTP account to the server that you need to query

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

[](#installation)

The easiest way to install this is to clone the repo in your local disk. Then copy the src/Youthere.php file in your application/libraries Folder.

You can then load it like any other library

```
$this->load->library('youthere');

```

Usage
-----

[](#usage)

Using it is very easy

```
$results = $this->youthere->check_files_presence(
        $paths,
        $ftp_host,
        $ftp_username,
        $ftp_password);

```

$paths - is an array of paths to the files that should be checked the presence in the server. Note that the path is the path on the target server

$ftp\_host - is the hostname of the server that contains the files to check $ftp\_username - is the ftp username $ftp\_password - is the ftp password

The $results will return an array, on which the keys are the $paths variable, on which each value is either a TRUE/FALSE, depending on whether the file is present in the server or not.

For example, passing this array

```
array('/folder1/file1.txt', '/folder2/picture.png')

```

will return this array result

```
array('/folder1/file1.txt' => TRUE , '/folder2/picture.png' => FALSE)

```

Given that, file1.txt is present in the server, and picture.png wasn't

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity58

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

Unknown

Total

1

Last Release

4378d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ace28ed0f8f9067b0083c1cdce556c1b183d91d8cf2ef65a01736fe1c1464782?d=identicon)[buonzz](/maintainers/buonzz)

---

Top Contributors

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

---

Tags

librarycodeigniterphp ftpfile checkerfile presenceavailable files

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/buonzz-youthere-ci/health.svg)

```
[![Health](https://phpackages.com/badges/buonzz-youthere-ci/health.svg)](https://phpackages.com/packages/buonzz-youthere-ci)
```

###  Alternatives

[helsingborg-stad/municipio

A bootstrap theme for creating municipality sites.

4028.5k10](/packages/helsingborg-stad-municipio)[mediawiki/maps

Adds various mapping features to MediaWiki

84152.3k3](/packages/mediawiki-maps)[starcitizentools/citizen-skin

A beautiful, usable, responsive MediaWiki skin with in-depth extension support. Originally developed for the Star Citizen Wiki.

3376.6k](/packages/starcitizentools-citizen-skin)[civicrm/civicrm-drupal-8

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

19251.4k3](/packages/civicrm-civicrm-drupal-8)[altis/core

Core module for Altis

19228.0k3](/packages/altis-core)[pfefferle/wordpress-activitypub

The ActivityPub protocol is a decentralized social networking protocol based upon the ActivityStreams 2.0 data format.

5721.7k4](/packages/pfefferle-wordpress-activitypub)

PHPackages © 2026

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