PHPackages                             mvccore/example-helloworld-portable - 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. mvccore/example-helloworld-portable

ActiveProject

mvccore/example-helloworld-portable
===================================

MvcCore - Example - Hello World For Portable Packing - basic application packing demonstration.

v5.3.0(1y ago)171BSD-3-ClausePHPPHP &gt;=5.4.0

Since May 17Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/mvccore/example-helloworld-portable)[ Packagist](https://packagist.org/packages/mvccore/example-helloworld-portable)[ RSS](/packages/mvccore-example-helloworld-portable/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (2)Versions (5)Used By (0)

MvcCore - Example - Hello World For Portable Packing
====================================================

[](#mvccore---example---hello-world-for-portable-packing)

[![Latest Stable Version](https://camo.githubusercontent.com/6a0e9e7da98c52006afe617f10a93df0da2dce64b73eedf5b9b3fcee6bfb6039/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f537461626c652d76352e332e302d627269676874677265656e2e7376673f7374796c653d706c6173746963)](https://github.com/mvccore/example-helloworld-portable/releases)[![License](https://camo.githubusercontent.com/53baed538c1c87a033a212f6f4acce684d36137f8622307643ab25e08118452e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d425344253230332d627269676874677265656e2e7376673f7374796c653d706c6173746963)](https://mvccore.github.io/docs/mvccore/5.0.0/LICENSE.md)[![Packager Build](https://camo.githubusercontent.com/2f2dd0f33a06b7cb9ab0f23fb84e6325f93be9e91757e7a1b2d52c46a6995b59/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5061636b616765722532304275696c642d70617373696e672d627269676874677265656e2e7376673f7374796c653d706c6173746963)](https://github.com/mvccore/packager)[![PHP Version](https://camo.githubusercontent.com/9e923690739211296a00adce5d359999dfa345f80fc1b2e2cfe72c49523ee334/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d2533453d352e342d627269676874677265656e2e7376673f7374796c653d706c6173746963)](https://camo.githubusercontent.com/9e923690739211296a00adce5d359999dfa345f80fc1b2e2cfe72c49523ee334/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d2533453d352e342d627269676874677265656e2e7376673f7374796c653d706c6173746963)

Skeleton for MvcCore [Hello World (`mvccore/example-helloworld`)](https://github.com/mvccore/example-helloworld) example portable packing/building.

Instalation
-----------

[](#instalation)

```
# load hello world portable project skeleton
composer create-project mvccore/example-helloworld-portable ./my-helloworld-portable

# go to portable project skeleton directory
cd my-helloworld-portable

# load hello world project
composer create-project mvccore/example-helloworld ./development
```

Packed Result Features
----------------------

[](#packed-result-features)

- **Result** is **completely portable** - `./example-helloworld-portable/release/index.php`
- Result application is **currently packed in strict package mode**
- All packing configurations are included in `./build/configs` directory
- Packed with [**Packager library (`mvccore/packager`)**](https://github.com/mvccore/packager), all packing ways possible:
    - **PHAR file**
        - standard PHAR package with whole development directory content
    - **PHP file**
        - **strict package**
            - everything is contained in result `index.php`
            - only `.htaccess` or `web.config` are necessary to use mod\_rewrite
        - **preserve package**
            - result `index.php` file contains PHP files, PHTML templates but no CSS/JS/fonts or images
            - all wrapped file system functions are looking inside package first, then they try to read data from HDD
        - **preserve hdd**
            - result `index.php` file contains PHP files, PHTML templates but no CSS/JS/fonts or images
            - all wrapped file system functions are looking on HDD first, then they try to read data from package inself
        - **strict hdd**
            - result `index.php` file contains only PHP files, but PHTML templates, all CSS/JS/fonts and images are on HDD
            - no PHP file system function is wrapped

Build
-----

[](#build)

### 1. Prepare Application

[](#1-prepare-application)

- go to `./my-helloworld-portable/development`
- clear everything in `./Var/Tmp/`
- uncomment `->SetCompiled(\MvcCore\Application::COMPILED_SFU)` in `./index.php`
- visit all application routes where are different JS/CSS bundles groups to generate `./Var/Tmp/` content for result app
- run build process

### 2. Run Build Process

[](#2-run-build-process)

#### Linux:

[](#linux)

```
# go to project build dir
cd ./my-helloworld-portable/build
# run build process into single PHP file
sh make.sh
```

#### Windows:

[](#windows)

```
# go to project build dir
cd ./my-helloworld-portable/build
# run build process into single PHP file
make.cmd
```

#### Browser:

[](#browser)

```
# visit script `make-php.php` in your project build directory:
http://localhost/my-helloworld-portable/build/make-php.php
# now run your result in:
http://localhost/my-helloworld-portable/release/
```

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance69

Regular maintenance activity

Popularity7

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity42

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 ~193 days

Total

4

Last Release

510d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

buildinghello-worldmvccorepackingportableportable-skeletonsingle-fileskeletonportableapplicationbuildingpackingmvccoresingle-filehello world

### Embed Badge

![Health badge](/badges/mvccore-example-helloworld-portable/health.svg)

```
[![Health](https://phpackages.com/badges/mvccore-example-helloworld-portable/health.svg)](https://phpackages.com/packages/mvccore-example-helloworld-portable)
```

###  Alternatives

[symfony/polyfill-mbstring

Symfony polyfill for the Mbstring extension

7.8k1.2B516](/packages/symfony-polyfill-mbstring)[symfony/polyfill-ctype

Symfony polyfill for ctype functions

4.0k982.0M125](/packages/symfony-polyfill-ctype)[symfony/polyfill-php72

Symfony polyfill backporting some PHP 7.2+ features to lower PHP versions

4.8k674.7M31](/packages/symfony-polyfill-php72)[symfony/polyfill-intl-idn

Symfony polyfill for intl's idn\_to\_ascii and idn\_to\_utf8 functions

3.4k774.6M90](/packages/symfony-polyfill-intl-idn)[symfony/polyfill-intl-normalizer

Symfony polyfill for intl's Normalizer class and related functions

2.1k830.2M36](/packages/symfony-polyfill-intl-normalizer)[symfony/polyfill-php73

Symfony polyfill backporting some PHP 7.3+ features to lower PHP versions

2.4k581.8M67](/packages/symfony-polyfill-php73)

PHPackages © 2026

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