Download the PHP package caherrera/shortio-laravel without Composer
On this page you can find all versions of the php package caherrera/shortio-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download caherrera/shortio-laravel
More information about caherrera/shortio-laravel
Files in caherrera/shortio-laravel
Package shortio-laravel
Short Description shortio-laravel Is A ShortIO Api For Laravel
License MIT
Informations about the package shortio-laravel
Laravel Shortio
Laravel Shortio was created by, and is maintained by Carlos Herrera, and is a PHP API Client for Short.io bridge for Laravel. Feel free to check out the contribution guidelines.
Installation
Laravel GitLab requires PHP 7.2-7.4. This particular version supports Laravel 7.
To get the latest version, simply require the project using Composer.
Once installed, if you are not using automatic package discovery, then you need to register the Shortio\Laravel\ShortioServiceProvider
service provider in your config/app.php
.
You can also optionally alias our facade:
Configuration
Laravel GitLab requires connection configuration.
To get started, you'll need to publish all vendor assets:
This will create a config/shortio.php
file in your app that you can modify to set your configuration. Also, make sure you check for changes to the original config file in this package between releases.
Real Examples
Here you can see an example of just how simple this package is to use. Out of the box, the default adapter is main
. After you enter your authentication details in the config file, it will just work:
If you prefer to use models over facades like me, then you can easily inject the manager like so:
Further Information
There are other classes in this package that are not documented here. This is because they are not intended for public use and are used internally by this package.
Security
If you discover a security vulnerability within this package, please rise an issue. All security vulnerabilities will be promptly addressed. You may view our full security policy here.
License
Laravel GitLab is licensed under The MIT License (MIT).
Contributions
Special thanks to
- Gabriel Lavini
- Francisco Molina
- Felipe Galdamez
- Juan Bardas