2017 © Pedro Peláez
 

library larasupport

Adds Support to use Laravel Packages in Lumen.

image

irazasyed/larasupport

Adds Support to use Laravel Packages in Lumen.

  • Friday, October 6, 2017
  • by irazasyed
  • Repository
  • 6 Watchers
  • 72 Stars
  • 52,680 Installations
  • PHP
  • 6 Dependents
  • 7 Suggesters
  • 9 Forks
  • 1 Open issues
  • 10 Versions
  • 10 % Grown

The README.md

Larasupport, (*1)

[Join PHP Chat][link-phpchat] ![Chat on Telegram][ico-telegram] ![Package for Lumen][ico-package] Latest Version on Packagist ![Software License][ico-license] Total Downloads, (*2)

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., (*3)

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., (*4)

This package adds the missing pieces to make Lumen compatible along with the support for vendor:publish artisan command and other features., (*5)

Quick Start

Install

You can add the package directly by firing this command, (*6)

$ composer require irazasyed/larasupport

Add Service Provider

Add this service provider to your bootstrap/app.php file., (*7)

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


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 > These helpers can be used across your Lumen project, not only with Laravel Packages. ### Paths #### app_path Get the fully qualified path to the `app` directory. #### 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 Get the fully qualified path to the `config` directory (Mostly used with Laravel Packages). ### Artisan #### vendor:publish Artisan command to Publish any publishable assets from vendor packages (Required to get Laravel Packages working!). ``` bash php artisan vendor:publish

OR, (*9)

``` bash php artisan vendor:publish --provider="Vendor\Providers\PackageServiceProvider", (*10)


### Other #### route_parameter ``` php route_parameter($name, $default = null)

Get a given parameter from the route., (*11)

Contributing

Thank you for considering contributing to the project. Please read the contributing guide before creating an issue or sending in a pull request., (*12)

Code of Conduct

Please read our Code of Conduct before contributing or engaging in discussions., (*13)

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., (*14)

Additional information

Any issues, please report here, (*15)

Credits

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 for more information., (*16)

The Versions

06/10 2017

dev-master

9999999-dev

Adds Support to use Laravel Packages in Lumen.

  Sources   Download

MIT

The Requires

 

laravel laravel lumen support lumen packages laravel packages lumen support

06/10 2017

dev-analysis-8Qd6jj

dev-analysis-8Qd6jj

Adds Support to use Laravel Packages in Lumen.

  Sources   Download

MIT

The Requires

 

laravel laravel lumen support lumen packages laravel packages lumen support

19/09 2017

v1.6.0

1.6.0.0

Adds Support to use Laravel Packages in Lumen.

  Sources   Download

MIT

The Requires

 

laravel laravel lumen support lumen packages laravel packages lumen support

26/07 2017

v1.5.0

1.5.0.0

Adds Support to use Laravel Packages in Lumen.

  Sources   Download

MIT

The Requires

 

laravel laravel lumen support lumen packages laravel packages lumen support

20/11 2016

v1.4.0

1.4.0.0

Adds Support to use Laravel Packages in Lumen.

  Sources   Download

MIT

The Requires

 

laravel laravel lumen support lumen packages laravel packages lumen support

04/05 2016

v1.3.0

1.3.0.0

Adds Support to use Laravel Packages in Lumen.

  Sources   Download

MIT

The Requires

 

laravel laravel lumen support lumen packages laravel packages lumen support

10/07 2015

v1.2.0

1.2.0.0

Adds Support to use Laravel Packages in Lumen.

  Sources   Download

MIT

The Requires

 

laravel lumen laravel lumen support lumen packages laravel packages lumen support laravel lumen

25/05 2015

v1.1.1

1.1.1.0

Adds Support to use Laravel Packages in Lumen.

  Sources   Download

MIT

laravel lumen laravel lumen support lumen packages laravel packages lumen support laravel lumen

25/05 2015

v1.0.0

1.0.0.0

Adds Support to use Laravel Packages in Lumen.

  Sources   Download

MIT

laravel lumen laravel lumen support lumen packages laravel packages lumen support laravel lumen

25/05 2015

v1.1.0

1.1.0.0

Adds Support to use Laravel Packages in Lumen.

  Sources   Download

MIT

laravel lumen laravel lumen support lumen packages laravel packages lumen support laravel lumen