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.
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'
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:
This option ('app_id'
) is where you may specify your parse app id. The default value for this setting is 'your-app-id'
.
This option ('rest_key'
) is where you may specify your parse rest key. The default value for this setting is 'your-rest-key'
.
This option ('master_key'
) is where you may specify your parse master key. The default value for this setting is 'your-master-key'
.
This option ('server_url'
) is where you may specify your parse server url. The default value for this setting is 'https://api.parse.com/'
.
This option ('mount_point'
) is where you may specify your parse mount point. The default value for this setting is '1'
.
This option ('session'
) is where you may specify your parse session handler. The default value for this setting is 'laravel'
.
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.
If you discover a security vulnerability within this package, please send an e-mail to Prosper Otemuyiwa at [email protected]. All security vulnerabilities will be promptly addressed.
Laravel Parse is licensed under The MIT License (MIT).