laravelparse / laravel-parse Goto Github PK
View Code? Open in Web Editor NEWA Parse SDK bridge for Laravel 5
License: MIT License
A Parse SDK bridge for Laravel 5
License: MIT License
Recently I tried to connect my Parse server with LaraParse because in my project I used Laravel as a main framework and I needed to connect the Parse server from my laravel code. I was helpless and tried with LaraParse but it did not help. I tried with the official only PHP parse-sdk It still did not help me with laravel and parse connection, but it was working fine from the outside framework.
Today I have tested with this Laravel-Parse along with the official PHP/parse-sdk and it was working fine, it also works with the latest Laravel 5.3.* . So I would like to thank you for making this driver.
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for laravel-parse/parse ^3.0 -> satisfiable by laravel-parse/parse[3.0.0].
- Conclusion: remove laravel/framework v5.5.17
- Conclusion: don't install laravel/framework v5.5.17
- laravel-parse/parse 3.0.0 requires illuminate/support 5.1.*|5.2.*|5.3.*|5.4.* -> satisfiable by illuminate/support[v5.1.1, v5.1.13, v5.1.16, v5.1.2, v5.1.20, v5.1.22, v5.1.25, v5.1.28, v5.1.30, v5.1.31, v5.1.41, v5.1.6, v5.1.8, v5.2.0, v5.2.19, v5.2.21, v5.2.24, v5.2.25, v5.2.26, v5.2.27, v5.2.28, v5.2.31, v5.2.32, v5.2.37, v5.2.43, v5.2.45, v5.2.6, v5.2.7, v5.3.0, v5.3.16, v5.3.23, v5.3.4, v5.4.0, v5.4.13, v5.4.17, v5.4.19, v5.4.27, v5.4.36, v5.4.9].
- don't install illuminate/support v5.4.0|don't install laravel/framework v5.5.17
- don't install illuminate/support v5.4.13|don't install laravel/framework v5.5.17
- don't install illuminate/support v5.4.17|don't install laravel/framework v5.5.17
- don't install illuminate/support v5.4.19|don't install laravel/framework v5.5.17
- don't install illuminate/support v5.4.27|don't install laravel/framework v5.5.17
- don't install illuminate/support v5.4.36|don't install laravel/framework v5.5.17
- don't install illuminate/support v5.4.9|don't install laravel/framework v5.5.17
- don't install illuminate/support v5.1.1|don't install laravel/framework v5.5.17
- don't install illuminate/support v5.1.13|don't install laravel/framework v5.5.17
- don't install illuminate/support v5.1.16|don't install laravel/framework v5.5.17
- don't install illuminate/support v5.1.2|don't install laravel/framework v5.5.17
- don't install illuminate/support v5.1.20|don't install laravel/framework v5.5.17
- don't install illuminate/support v5.1.22|don't install laravel/framework v5.5.17
- don't install illuminate/support v5.1.25|don't install laravel/framework v5.5.17
- don't install illuminate/support v5.1.28|don't install laravel/framework v5.5.17
- don't install illuminate/support v5.1.30|don't install laravel/framework v5.5.17
- don't install illuminate/support v5.1.31|don't install laravel/framework v5.5.17
- don't install illuminate/support v5.1.41|don't install laravel/framework v5.5.17
- don't install illuminate/support v5.1.6|don't install laravel/framework v5.5.17
- don't install illuminate/support v5.1.8|don't install laravel/framework v5.5.17
- don't install illuminate/support v5.2.0|don't install laravel/framework v5.5.17
- don't install illuminate/support v5.2.19|don't install laravel/framework v5.5.17
- don't install illuminate/support v5.2.21|don't install laravel/framework v5.5.17
- don't install illuminate/support v5.2.24|don't install laravel/framework v5.5.17
- don't install illuminate/support v5.2.25|don't install laravel/framework v5.5.17
- don't install illuminate/support v5.2.26|don't install laravel/framework v5.5.17
- don't install illuminate/support v5.2.27|don't install laravel/framework v5.5.17
- don't install illuminate/support v5.2.28|don't install laravel/framework v5.5.17
- don't install illuminate/support v5.2.31|don't install laravel/framework v5.5.17
- don't install illuminate/support v5.2.32|don't install laravel/framework v5.5.17
- don't install illuminate/support v5.2.37|don't install laravel/framework v5.5.17
- don't install illuminate/support v5.2.43|don't install laravel/framework v5.5.17
- don't install illuminate/support v5.2.45|don't install laravel/framework v5.5.17
- don't install illuminate/support v5.2.6|don't install laravel/framework v5.5.17
- don't install illuminate/support v5.2.7|don't install laravel/framework v5.5.17
- don't install illuminate/support v5.3.0|don't install laravel/framework v5.5.17
- don't install illuminate/support v5.3.16|don't install laravel/framework v5.5.17
- don't install illuminate/support v5.3.23|don't install laravel/framework v5.5.17
- don't install illuminate/support v5.3.4|don't install laravel/framework v5.5.17
- Installation request for laravel/framework (locked at v5.5.17, required as 5.5.*) -> satisfiable by laravel/framework[v5.5.17].
Installation failed, reverting ./composer.json to its original content.
I did a fresh installation of laravel 5.3. After running "php artisan vendor:publish", I couldn't find parse.php in config folder. Is there anything I should do before running the publish command?
In the readme Configuration part,
$ php artisan publish:config graham-campbell/parse
should be
$ php artisan config:publish graham-campbell/parse
tested on laravel v4.2
Can i use this in Laravel Lumen?
I am setting up Laravel-Parse with a brand new Laravel project I have created, and I'm stuck at the beginning. I was able to install laravel-parse with composer, and according to the documentation, the next step is to add:
'GrahamCampbell\Parse\ParseServiceProvider'
To the 'providers' array in config.app.php. When I add this, I get:
PHP Fatal error: Undefined constant 'GrahamCampbell\Parse\ParseServiceProvider' in app.php on line 126
I noticed that all of the other entries in 'providers' end with "::class", so I tried adding that, and I then I get:
PHP Fatal error: Class 'GrahamCampbell\Parse\ParseServiceProvider' not found in vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php on line 146
Did I miss a step here?
EDIT: Forgot to mention, I'm running Laravel v5.2.7, and PHP v5.6.13.
This is more of a gripe than an issue 💩
The ParseSessionStorage.php file is trying to store session data using the $_SESSION variable. Laravel 4 does not use the global $_SESSION variable to store session data. Why was this part not changed to use the Laravel Session class?
This seems like a critical element to logging in/out users. No mention is made of it in the docs. A developer trying to implement user reg/log in/out (like me) might get confused as to why
ParseUser::getCurrentUser();
returns null even after logging in. It makes that method essentially useless.
Please add to this package Lumen support. It works on lumen, but there are troubles with config loading. It don't load config from correct path.
Have you been able to build registration, login etc? I wanted to use the classes that are already there and just change a few thing to parse, but it has unfolded to be much more complicated and I can't find any diocumentation online. I was able to sign up a user, although it gives me an error saying I can't sign up a user with an empty password. It did create the user though. Unfortunately I was not able to change the login. It looks like it´s really hard to change all this stuff to parse. how did you do it?
Hi Graham, thank you for your contributions, I hope you can help me with this, Im trying to schedule a push to be send in the future, but when I add the push_time it doesn't work, can you please help me?
Appreciate any help, regards Michael
ParsePush::send(array(
"channels" => ["xxxxx"],
"data" => $data,
"push_time" => "2014-11-01T14:35:00"
));
Hi Graham, once again thank you for your contributions, this package has really help me, I just uploaded to L5 and when I put ("graham-campbell/parse": "~2.0") in the composer and I get this error:
"The requested package graham-campbell/parse could not be found in any version, there may be a typo in the package name."
I wonder what Im doing wrong?
Appreciate any help, regards
Hi, just wanted to let you know that in your docs you put
{
"require": {
"graham-campbell/parse": "^3.0"
}
}
but based on your version and from composer, the version is 2.4
{
"require": {
"graham-campbell/parse": "^2.4"
}
}
The latest version of the parse php sdk introduced some new changes. It seems there is an issue with the initialization of ParseClient because they now ask the mount path as second argument.
https://github.com/ParsePlatform/parse-php-sdk/blob/master/src/Parse/ParseClient.php#L148
i am brand new to laravel and hosting . i have never hosted any app but if you pls create a video to learn me how to host in parse .
sincerly
soliman
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.