Download the PHP package multimedia-street/common without Composer

On this page you can find all versions of the php package multimedia-street/common. 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 common

Common

Latest Version on Packagist Total Downloads

Some boilerplate for most of the Multimedia Street projects.

Table of Contents

Included Packages

Install

Via Composer

Require the multimedia-street/common package in your composer.json and update your dependencies.

Add Service Provider

Include the Service Provider to your config/app.php in providers array

Add Package Facades

Include Facades to your config/app.php in aliases array

Disabling CSRF protection for your API

To use the CORS properly, as stated in the documentation, in App\Http\Middleware\VerifyCsrfToken, add your routes to the exceptions:

Post Install

Publish Packages Configurations

After the installation is completed, publish the vendor publish by running:

Extend Exception Handler

You can use the Exception handler specially for developing. This includes the Whoops. You can extend your app/Exceptions/Handler.php with Mmstreet\Common\Exceptions\Handler. Also add your uris using the $corsUris property to be used in CORS. See example below.

Response Trait

You can use the Mmstreet\Common\Traits\ResponseTrait to your App\Http\Controllers\Controller for easy returning response either Json or in View. See example below.

Example usage:

Change log

Please see CHANGELOG for more information what has changed recently.

Testing

Contributing

Please see CONDUCT for details.

Security

If you discover any security related issues, please email :author_email instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.


All versions of common with dependencies

PHP Build Version
Package Version
Requires php Version >=5.5.9|~7.0
illuminate/support Version 5.*
illuminate/database Version 5.*
symfony/http-kernel Version 2.*
predis/predis Version 1.*
orangehill/iseed Version 2.*
intervention/image Version 2.*
intervention/imagecache Version 2.*
itsgoingd/clockwork Version 1.*
doctrine/dbal Version 2.*
filp/whoops Version 2.*
barryvdh/laravel-dompdf Version 0.6.*
barryvdh/laravel-cors Version 0.8.*
maatwebsite/excel Version 2.*
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 multimedia-street/common contains the following files

Loading the files please wait ....