Download the PHP package shafihuzaib/larasupport without Composer

On this page you can find all versions of the php package shafihuzaib/larasupport. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package larasupport

Larasupport Package

Package for Lumen Latest Version Total Downloads

Laravel Support for Lumen: Adds missing helpers that are not being made to the core of Lumen. Lets you use Laravel Packages in Lumen.

There are some helper functions that are available in core of Laravel framework which are being used in Laravel Packages. Now because of these helpers missing in core of the Lumen, You won't be able to use those amazing Laravel Packages.

I had submited PRs as well as created issue tickets in Lumen to add these helpers to the core but it got rejected with a reason to use Laravel instead. Just for Packages support i didn't want to use full-stack framework. There were few discussions about the same as well. Hence, This package to deal with this issue!

Quick Start

Installation

Install Through Composer

You can either add the package directly by firing this command

Or add in the require key of composer.json file manually

And Run the Composer update 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

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

database_path

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

app_path

Get the fully qualified path to the app directory.

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.

elixir

If you're using Laravel Elixir in Lumen, Then this helper function will come handy when you want to include assets from your build directory. By default, it assumes your Elixir's build directory is build under public directory (The default is as per the Elixir's default config). If you use a custom build directory, then you can simply set env variable ELIXIR_BUILD_PATH with your custom directory path and it'll use the same instead of the default.

Contributions

PRs are Welcome :)

Additional information

Any issues, please report here.

The methods have been ported from the core of Laravel framework and modified to fit the requirements.

License

Syed Irfaq R.


All versions of larasupport with dependencies

PHP Build Version
Package Version
Requires league/flysystem Version ~1.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package shafihuzaib/larasupport contains the following files

Loading the files please wait ....