laravel-parse / parse
Parse Is A Parse SDK Bridge For Laravel 5
Installs: 7 569
Dependents: 0
Suggesters: 0
Security: 0
Stars: 117
Watchers: 6
Forks: 26
Open Issues: 3
Requires
- php: >=5.5.9
- illuminate/contracts: 5.1.*|5.2.*|5.3.*|5.4.*
- illuminate/support: 5.1.*|5.2.*|5.3.*|5.4.*
- parse/php-sdk: ^1.2.1
Requires (Dev)
- graham-campbell/testbench: ^3.1
- phpunit/phpunit: ^4.8|^5.0
This package is not auto-updated.
Last update: 2024-11-01 12:31:53 UTC
README
Laravel Parse is currently maintained by Prosper Otemuyiwa, and is a Parse SDK bridge for Laravel 5. Feel free to check out the change log, releases, license, and contribution guidelines.
Installation
Either PHP 5.5+ or HHVM 3.6+ are required.
To get the latest version of Laravel Parse, simply require the project using Composer:
$ composer require laravel-parse/parse
Instead, you may of course manually update your require block and run composer update
if you so choose:
{ "require": { "laravel-parse/parse": "^3.0" } }
Once Laravel Parse is installed, you need to register the service provider. Open up config/app.php
and add the following to the providers
key.
'LaravelParse\Parse\ParseServiceProvider'
Configuration
Laravel Parse requires configuration. To get started, you'll need to publish all vendor assets:
$ php artisan vendor:publish --provider="LaravelParse\Parse\ParseServiceProvider"
This will create a config/parse.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.
There are five config options:
Parse App Id
This option ('app_id'
) is where you may specify your parse app id. The default value for this setting is 'your-app-id'
.
Parse Rest Key
This option ('rest_key'
) is where you may specify your parse rest key. The default value for this setting is 'your-rest-key'
.
Parse Master Key
This option ('master_key'
) is where you may specify your parse master key. The default value for this setting is 'your-master-key'
.
Parse Server URL
This option ('server_url'
) is where you may specify your parse server url. The default value for this setting is 'https://api.parse.com/'
.
Parse Mount Point
This option ('mount_point'
) is where you may specify your parse mount point. The default value for this setting is '1'
.
Parse Session Handler
This option ('session'
) is where you may specify your parse session handler. The default value for this setting is 'laravel'
.
Usage
This package is only responsible for the automatic initialisation of the parse client. See the parse docs at https://github.com/ParsePlatform/parse-php-sdk.
Security
If you discover a security vulnerability within this package, please send an e-mail to Prosper Otemuyiwa at prosperotemuyiwa@gmail.com. All security vulnerabilities will be promptly addressed.
License
Laravel Parse is licensed under The MIT License (MIT).