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.
Download multimedia-street/common
More information about multimedia-street/common
Files in multimedia-street/common
Package common
Short Description Common usage for Multimedia Street Projects
License MIT
Homepage https://github.com/multimedia-street/common
Informations about the package common
Common
Some boilerplate for most of the Multimedia Street projects.
Table of Contents
- Included Packages
- Install
- Via Composer
- Add Service Provider
- Add Package Facades
- Disabling CSRF protection for your API
- Post Install
- Publish Packages Configurations
- Extend Exception Handler
- Response Trait
- Change Log
- Testing
- Contributing
- Security
- Credits
- License
Included Packages
- Image - PHP Image Manipulation
- Image (Cache) - Caching extension for the Intervention Image Class
- iSeed - Inverse seed generator
- Whoops - PHP errors for cool kids
- Clockwork - Chrome extension for PHP development
- DOMPDF - DOMPDF Wrapper for Laravel 5
- Excel - Laravel Excel v2.1.* for Laravel 5
- CORS - CORS in Laravel 5
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
- Jay Are Galinada
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of common with dependencies
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.*