Download the PHP package irazasyed/larasupport without Composer
On this page you can find all versions of the php package irazasyed/larasupport. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download irazasyed/larasupport
More information about irazasyed/larasupport
Files in irazasyed/larasupport
Package larasupport
Short Description Adds Laravel Package Support in Lumen.
License MIT
Informations about the package larasupport
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
Add Service Provider
Add this service provider to your bootstrap/app.php
file.
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!).
OR
Other
route_parameter
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.