PHPackages                             irazasyed/larasupport - 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. irazasyed/larasupport

ActiveLibrary[Framework](/categories/framework)

irazasyed/larasupport
=====================

Adds Laravel Package Support in Lumen.

v1.7.1(5y ago)130669.8k—9.4%17[1 PRs](https://github.com/irazasyed/larasupport/pulls)4MITPHP

Since May 24Pushed 3y ago3 watchersCompare

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

READMEChangelog (9)Dependencies (1)Versions (12)Used By (4)

[![Larasupport](https://user-images.githubusercontent.com/1915268/94963485-d91de800-0515-11eb-9780-3fac58d701a6.jpg)](https://github.com/irazasyed/larasupport)

[![Join PHP Chat](https://camo.githubusercontent.com/29f67fb2289efd1ecede6eaa41c82be0e3f93dbf5a8193f1f0fc1b4f33719fa7/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f536c61636b2d504850253230436861742d3563366161612e7376673f7374796c653d666c61742d737175617265266c6f676f3d736c61636b266c6162656c436f6c6f723d344131353442)](https://phpchat.co/?ref=larasupport)[![Chat on Telegram](https://camo.githubusercontent.com/c793b6d887d39dac6773fa734b19b63fb1b8a392156528c648c2564000509eba/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4050485043686174436f2d3243413545302e7376673f7374796c653d666c61742d737175617265266c6f676f3d74656c656772616d266c6162656c3d54656c656772616d)](https://t.me/PHPChatCo)[![Package for Lumen](https://camo.githubusercontent.com/4b689c1af4c884c501196b9fa8cddbdeb9607000a8c14a5deb7d9139b9f53692/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5061636b616765253230666f722532302d4c756d656e2d626c75652e7376673f7374796c653d666c61742d737175617265)](https://github.com/irazasyed/larasupport)[![Latest Version on Packagist](https://camo.githubusercontent.com/79287f2cbdcea2fa3ad19efc5684e84b8c383e36af93cb0c8ccc0e1c1f6d15d0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6972617a61737965642f6c617261737570706f72742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/irazasyed/larasupport)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](https://github.com/irazasyed/larasupport/blob/master/LICENSE.md)[![Total Downloads](https://camo.githubusercontent.com/8ecf78d4395cb34538a74533a58c184aeb3f407c02127d2917ec06c7b11a83ae/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6972617a61737965642f6c617261737570706f72742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/irazasyed/larasupport/stats)

Larasupport Package
===================

[](#larasupport-package)

> **Laravel Package Support for Lumen:** Makes Lumen compatible with Laravel Packages. You can use any Laravel Packages in Lumen by installing **Larasupport** Package.
>
> Laravel Packages make use of various global helpers that are not available in Lumen core by default which prevents us from using any Laravel Package in Lumen.
>
> This package adds the missing pieces to make Lumen compatible along with the support for `vendor:publish` artisan command and other features.

Quick Start
-----------

[](#quick-start)

### Install

[](#install)

You can add the package directly by firing this command

```
$ composer require irazasyed/larasupport
```

#### Add Service Provider

[](#add-service-provider)

Add this service provider to your `bootstrap/app.php` file.

```
$app->register(Irazasyed\Larasupport\Providers\ArtisanServiceProvider::class);
```

Artisan Service Provider is an optional provider required only if you want `vendor:publish` command working.

And you're done! You can now start installing any Laravel Package out there :)

Available Methods
-----------------

[](#available-methods)

> These helpers can be used across your Lumen project, not only with Laravel Packages.

### Paths

[](#paths)

#### app\_path

[](#app_path)

Get the fully qualified path to the `app` directory.

#### public\_path

[](#public_path)

Get the fully qualified path to the `public` directory. You can set env variable `PUBLIC_PATH` and it'll return the same instead of the default `public`.

#### config\_path

[](#config_path)

Get the fully qualified path to the `config` directory (Mostly used with Laravel Packages).

### Artisan

[](#artisan)

#### vendor:publish

[](#vendorpublish)

Artisan command to Publish any publishable assets from vendor packages (Required to get Laravel Packages working!).

```
php artisan vendor:publish
```

OR

```
php artisan vendor:publish --provider="Vendor\Providers\PackageServiceProvider"
```

### Other

[](#other)

#### route\_parameter

[](#route_parameter)

```
route_parameter($name, $default = null)
```

Get a given parameter from the route.

Contributing
------------

[](#contributing)

Thank you for considering contributing to the project. Please read [the contributing guide](https://github.com/irazasyed/larasupport/blob/master/.github/CONTRIBUTING.md) before creating an issue or sending in a pull request.

Code of Conduct
---------------

[](#code-of-conduct)

Please read our [Code of Conduct](https://github.com/irazasyed/larasupport/blob/master/.github/CODE_OF_CONDUCT.md) before contributing or engaging in discussions.

Security
--------

[](#security)

If you discover a security vulnerability within this project, please email Syed at `syed at lukonet.com`. All security vulnerabilities will be promptly addressed. You may view our full security policy [here](https://github.com/irazasyed/larasupport/security/policy).

Additional information
----------------------

[](#additional-information)

Any issues, please [report here](https://github.com/irazasyed/larasupport/issues)

Credits
-------

[](#credits)

- [Irfaq Syed](https://github.com/irazasyed)
- [All Contributors](https://github.com/irazasyed/larasupport/contributors)

License
-------

[](#license)

The Laravel framework is open-sourced software licensed under the MIT license. Larasupport consists almost entirely of Laravel source code, so maintains the same license. Please see [License File](https://github.com/irazasyed/larasupport/blob/master/LICENSE.md) for more information.

[![FOSSA Status](https://camo.githubusercontent.com/d44c4f1ff047bfc0bcff17f27043700691381a2614135ff4362f3061300c90f2/68747470733a2f2f6170702e666f7373612e696f2f6170692f70726f6a656374732f6769742532426769746875622e636f6d2532466972617a61737965642532466c617261737570706f72742e7376673f747970653d6c61726765)](https://app.fossa.io/projects/git%2Bgithub.com%2Firazasyed%2Flarasupport?ref=badge_large)

###  Health Score

46

—

FairBetter than 93% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity53

Moderate usage in the ecosystem

Community24

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 92.1% 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 ~197 days

Recently: every ~295 days

Total

11

Last Release

2038d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1915268?v=4)[Irfaq Syed](/maintainers/irazasyed)[@irazasyed](https://github.com/irazasyed)

---

Top Contributors

[![irazasyed](https://avatars.githubusercontent.com/u/1915268?v=4)](https://github.com/irazasyed "irazasyed (58 commits)")[![AJMaxwell](https://avatars.githubusercontent.com/u/597143?v=4)](https://github.com/AJMaxwell "AJMaxwell (2 commits)")[![dcelasun](https://avatars.githubusercontent.com/u/144373?v=4)](https://github.com/dcelasun "dcelasun (1 commits)")[![fossabot](https://avatars.githubusercontent.com/u/29791463?v=4)](https://github.com/fossabot "fossabot (1 commits)")[![jalalipm](https://avatars.githubusercontent.com/u/20255331?v=4)](https://github.com/jalalipm "jalalipm (1 commits)")

---

Tags

hacktoberfestlarasupportlaravellaravel-packageslumenlumen-packagelaravellaravel-packageslaravel lumen supportlumen packageslumen supportlarasupportlaravel package support

### Embed Badge

![Health badge](/badges/irazasyed-larasupport/health.svg)

```
[![Health](https://phpackages.com/badges/irazasyed-larasupport/health.svg)](https://phpackages.com/packages/irazasyed-larasupport)
```

###  Alternatives

[laravel/framework

The Laravel Framework.

34.7k509.9M17.0k](/packages/laravel-framework)[laravel/vapor-cli

The Laravel Vapor CLI

31310.7M8](/packages/laravel-vapor-cli)[laravel-zero/framework

The Laravel Zero Framework.

3371.4M369](/packages/laravel-zero-framework)

PHPackages © 2026

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