• Stars
    star
    126
  • Rank 274,945 (Top 6 %)
  • Language
    PHP
  • License
    MIT License
  • Created almost 9 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

πŸ“¦ Adds Laravel Packages Support to Lumen and Vendor Publish Artisan Command.

Larasupport

Join PHP Chat Chat on Telegram Package for Lumen Latest Version on Packagist Software License Total Downloads

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

Install

You can add the package directly by firing this command

$ composer require irazasyed/larasupport

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

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!).

php artisan vendor:publish

OR

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

Other

route_parameter

route_parameter($name, $default = null)

Get a given parameter from the route.

Contributing

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

Code of Conduct

Please read our Code of Conduct before contributing or engaging in discussions.

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.

Additional information

Any issues, please report here

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.

FOSSA Status

More Repositories

1

telegram-bot-sdk

πŸ€– Telegram Bot API PHP SDK. Lets you build Telegram Bots easily! Supports Laravel out of the box.
PHP
2,831
star
2

awesome-cloudflare

⛅️ Curated list of awesome Cloudflare worker recipes, open-source projects, guides, blogs and other resources.
416
star
3

jwt-auth-guard

JWT Auth Guard for Laravel and Lumen Frameworks.
PHP
323
star
4

laravel-gamp

πŸ“Š Laravel Google Analytics Measurement Protocol Package
PHP
321
star
5

video-downloader

Video Downloader for Facebook.
PHP
69
star
6

dns-zone-files

⛅️ DNS Zone Files ready to import on CloudFlare for easy configurations of common configs. Files are in BIND Format.
46
star
7

awesome-laravel-forge-recipes

πŸ₯£ Awesome Laravel Forge Recipes
Shell
45
star
8

laravel-identicon

πŸ‘€ Laravel Identicon Package
PHP
22
star
9

zray-installer

Zend Z-Ray Easy Installer for Laravel Homestead
Shell
22
star
10

php-transmission-sdk

πŸ”„ PHP Transmission-RPC API SDK with Laravel Support.
PHP
20
star
11

phpci-installer

PHPCI Easy Installer for Laravel Homestead
Shell
19
star
12

docgen

πŸ“– Streamline your Laravel package development with automatic facade documentation using Docgen for Laravel.
PHP
18
star
13

php-witai

[WIP] PHP Library for Wit.Ai API with Laravel & Lumen Support out of the box!
PHP
11
star
14

xml-rpc-ping

PHP XML-RPC Service Pinger
PHP
11
star
15

gsuite-checker

Google Suite (GSuite) formerly known as Google Apps - Multi-Domains Checker.
PHP
9
star
16

nginx-google-ip-range-updater

Google PageSpeed IP Ranges Updater for Nginx
Shell
7
star
17

laravel-facebook

Laravel 4 Facebook SDK Package (Deprecated - Use the official Lib, latest version).
PHP
5
star
18

wp-drp-coupon

Mirror of WordPress Plugin - DRP Coupon
PHP
5
star
19

php-ip-range

Checks if IP is within a network range
PHP
5
star
20

gitlab-installer

Server setup for Gitlab Installation on Ubuntu/Linux VPS with helper bash scripts.
Shell
4
star
21

fb-kit

Facebook Graph API JS Kit - To work with Graph API using access token.
JavaScript
3
star
22

awesome-deno

Awesome Deno Land List
1
star
23

php-ixr

This is a fork of the original Incutio PHP XML-RPC library (IXR) SVN repo hosted on Google Code http://scripts.incutio.com/xmlrpc/
1
star
24

phpstorm-settings

1
star
25

ST3-Preferences

My Sublime Text 3 Preferences
1
star
26

irazasyed

1
star
27

jquery-form-helper

jQuery Form Helper - Forked from JREAM BitBucket - http://bitbucket.org/JREAM/js-util
JavaScript
1
star
28

php-chrome-driver-installer

PHP Chrome Driver Installer
PHP
1
star
29

php-stock-media

🏞️ PHP Stock Media - the ultimate library for sourcing stock images, stock videos, and other stock media resources from multiple online stock services with Laravel support out of the box!
PHP
1
star