Skip to content
A full-featured Laravel package for aiding in Shopify App development
PHP HTML Shell
Branch: master
Clone or download

Latest commit

jedimdan Bug fix for incorrect SameSite=none behaviour on some platforms. (#386)
* Attempt to fix incorrect samesite none compatibility for some user agents. Instead of manually generating the major and minor numbers of a version, to rely on the Agent library's built in tools.

* UCBrowser 12.14 should be compatible (incompatible version is 12.3 and below)

* Fixes to platform checker since it's all checking the float version now.

* Updated version constraint for Laravel 6 in travis since Laravel 6 is now using Semver. previously, it would only receive bug-fixes to 6.0, but now minor releases are in 6.* as well.

* Added a compatible user agent that was previously reported as failing

* Flipped the samesite=none logic from a whitelist to a blacklist. This means that bad agents will be treated as compatible by default.

* Changed browser detection to be more explicit to prevent errors caused by user-agents with more than 1 keyword.

* Reset the session config to laravel default before each test.

* Added an incompatible version of Chrome to the test.

* Added some additional user agents that were reported as failing in the existing code.

* Removed the try catch since there is no longer an expected scenario where an exception would occur
Latest commit dfd8b6b Feb 6, 2020

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin Updates to billing plans to handle trial days expirations, updates to… Aug 28, 2019
src/ShopifyApp Bug fix for incorrect SameSite=none behaviour on some platforms. (#386) Feb 6, 2020
tests Bug fix for incorrect SameSite=none behaviour on some platforms. (#386) Feb 6, 2020
.gitattributes Update git attributes, ignore list and dependencies in composer.json May 23, 2018
.gitignore Updates to billing plans to handle trial days expirations, updates to… Aug 28, 2019
.travis.yml Bug fix for incorrect SameSite=none behaviour on some platforms. (#386) Feb 6, 2020
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md Jan 10, 2018
CONTRIBUTING.md Adjustments to markdown files, and fix to enable current coverage to … Jun 12, 2018
CONTRIBUTORS.txt Update to contributors Oct 14, 2019
ISSUE_TEMPLATE.md Completed unit tests for new flows Jul 18, 2019
LICENSE Completed unit tests for new flows Jul 18, 2019
README.md Notice to README Jan 13, 2020
composer.json Chrome Cookies (#382) Feb 2, 2020
phpunit.xml Fix to some tests... Dec 17, 2018
screenshot-billable.png [ImgBot] Optimize images Aug 9, 2019
screenshot.png [ImgBot] Optimize images Aug 9, 2019

README.md

Laravel Shopify App

Build Status Coverage Status StyleCI License

[2020-01-13] As a notice to all: I am currently refactoring the package in a branch to be more manageable. This package has grown exponentially beyond what I had expected and has become a little cumbersome to manage. The new structure will is simply a shuffle of existing code and minor refactors so future contributions, maintenance, and issues will be much easier to handle. I will try to handle the open issues currently in the queue and issue patch releases as I am doing this -- however I can not guarantee this as I am only one person. Please bare with me... thank you!

A full-featured Laravel package for aiding in Shopify App development, similar to shopify_app for Rails. Works for Laravel 5.6+

Screenshot Screenshot: Billable

Table of Contents

* Wiki pages

For more information, tutorials, etc., please view the project's wiki.

Goals

  • Provide assistance in developing Shopify apps with Laravel
  • Integration with Shopify API (REST, async REST, GraphQL)
  • Authentication & installation for shops (both per-user and offline types)
  • Plan & billing integration for single, recurring, and usage-types
  • Tracking charges to a shop (recurring, single, usage, etc) with trial support
  • Auto install app webhooks and scripttags thorugh background jobs
  • Provide basic AppBridge views
  • Handles and processes incoming webhooks
  • Handles and verifies incoming app proxy requests
  • Namespacing abilities to run multiple apps on the same database

Documentation

For full resources on this package, see the wiki.

For internal documentation, it is available here from phpDocumentor.

Issue or request?

If you have found a bug or would like to request a feature for discussion, please use the ISSUE_TEMPLATE in this repo when creating your issue. Any issue submitted without this template will be closed.

LICENSE

This project is released under the MIT license.

Misc

Contributors

Contibutors are updated each release, pulled from Github API. See CONTRIBUTORS.txt.

Special Note

I develop this package in my spare time, with a busy family/work life like many of you! So, I would like to thank everyone who's helped me out from submitting PRs, to assisting on issues, and plain using the package (I hope its useful). Cheers.

You can’t perform that action at this time.