PHPackages                             mrofi/laravel-shared-hosting-package - 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. mrofi/laravel-shared-hosting-package

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

mrofi/laravel-shared-hosting-package
====================================

Laravel Shared Hosting Package

07571PHP

Since Oct 7Pushed 9y ago1 watchersCompare

[ Source](https://github.com/mrofi/laravel-shared-hosting-package)[ Packagist](https://packagist.org/packages/mrofi/laravel-shared-hosting-package)[ RSS](/packages/mrofi-laravel-shared-hosting-package/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (1)

Laravel Shared Host Package
===========================

[](#laravel-shared-host-package)

This simple package will help you to deploy laravel framework in shared hosting
-------------------------------------------------------------------------------

[](#this-simple-package-will-help-you-to-deploy-laravel-framework-in-shared-hosting)

Strong Warning
--------------

[](#strong-warning)

It's not recommended to deploy your app in share hosting, unless you know what you do.

How It Works
------------

[](#how-it-works)

we create a index.php to base directory, so you can access your app without /public and make overriding how laravel do with public assets. Make sure you use asset() helper to include your asset files in app.

How To
------

[](#how-to)

```
    composer require mrofi/laravel-shared-hosting-package "dev-master"

```

add this service provider in your config/app.php file :

```
    ...
    Mrofi\LaravelSharedHostingPackage\LaravelSharedHostingPackageServiceProvider::class,
    ...

```

then, do some magic :

```
    php artisan vendor:publish --provider="Mrofi\LaravelSharedHostingPackage\LaravelSharedHostingPackageServiceProvider"

```

Security
--------

[](#security)

Please read how to configure server to make your server secure. Since you move your index.php to base path directory you have to hide other folders and credentails file, like : file .env, folder app, migrations, resources, etc from direct accessing by user browser.

This pacakage includes .htaccess file that works for apache web server only. If you use other servers, ie : nginx. you can googling to protects your files.

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

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/7432391?v=4)[Mokhamad Rofiudin](/maintainers/mrofi)[@mrofi](https://github.com/mrofi)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/mrofi-laravel-shared-hosting-package/health.svg)

```
[![Health](https://phpackages.com/badges/mrofi-laravel-shared-hosting-package/health.svg)](https://phpackages.com/packages/mrofi-laravel-shared-hosting-package)
```

###  Alternatives

[kevinlebrun/slug.php

Slug helpers

4952.9k1](/packages/kevinlebrun-slugphp)[dintel/php-github-webhook

Simple class for handling GitHub webhook calls

5216.5k](/packages/dintel-php-github-webhook)

PHPackages © 2026

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