Skip to content
To support Laravel 's unsupported features in Lumen.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
src add request helper Apr 20, 2018
tests first commit Dec 31, 2017
.gitignore first commit Dec 31, 2017
LICENSE first commit Dec 31, 2017 add request helper Apr 20, 2018
composer.json Update composer.json Sep 29, 2019
phpunit.xml first commit Dec 31, 2017

Lumen Helpers

php-badge packagist-badge Total Downloads


It can be used for improving implementation compatibility, assuming that you are planning to migrate from Lumen to Laravel in the future.

Session is not included in this package.


If composer is used, it can be introduced by adding the following description.

composer require albertcht/lumen-helpers

How to use

This package currently provides the following helper functions.

  • mix
  • abort_if
  • abort_unless
  • action
  • app_path
  • asset
  • auth
  • back
  • bcrypt
  • cache
  • request
  • logger
  • method_field
  • mix
  • policy
  • public_path
  • config_path
  • report
  • validator
  • cookie

    It will return Symfony\Component\HttpFoundation\Cookie directly.

  • app_with

    An app () compatible helper corresponding to makeWith call. illuminate/container: From 5.4, you can not pass $parameters to make, instead makeWith prepared, By using app_with, make can be done by passing parameters that ask Lumen, illuminate / container version.

You can’t perform that action at this time.