GithubHelp home page GithubHelp logo

natzar / stripe-pad Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 2.0 14.21 MB

The PHP saas boilerplate with Stripe integration out of the box

Home Page: https://www.stripepad.com

License: GNU General Public License v3.0

PHP 94.53% HTML 0.02% CSS 0.15% JavaScript 0.39% Hack 4.91%
boilerplate microsaas saas stripe php-boilerplate

stripe-pad's Introduction

Stripe Pad

License: GPL3

Stripe Pad Image

Stripe Pad is a PHP boilerplate for rapid SaaS development with Stripe integration. It offers a minimalistic approach to start, validate, and grow your SaaS application without the constraints of a particular framework.

For Educational purposes. Get started with MVC in PHP.

DEMO: Stripepad.com

Disclaimer

Not affiliated in any way with Stripe.com

Features

  • Public: Landing page
  • Private: User Profile, Your App
  • MVC. Controllers, Models shared between all controllers, and JSON + templates for the views part.
  • Webhooks management for Stripe events.
  • Divided in subdomains or subfolders
  • PHP is the only requirement, how you build you app inside /app folder is up to you
  • Easy to modify and customize

Structure

Space to insert your code:

  • crons: Scripts and cronjobs.
  • app: Custom application code & landing page. All HTML is here.
  • cdn: Subdomain for static assets.

These are core files, they will break with an update:

  • core: Core files for database connections and templates.
  • webhooks: Handlers for webhooks (default: Stripe and Bitbucket).
  • API: Basic API functionality.

Relations between components

Tech Stack

Packed with basic stuff only.

  1. Php. MVC style, no framework.
  2. Vanilla Js & jQuery, just to open/close mobile menu
  3. Composer, to install stripe and email dependencies

Basic theme uses Tailwind. 100% optional. You can edit /app folder completely.

Getting Started, Installation

  git clone https://github.com/natzar/stripe-pad.git
  cd stripe-pad/
  composer install

After clone or downloading files, just visit //localhost/stripe-pad in your browser and follow instructions.

Browser: //localhost/stripe-pad/

Find full installation instructions here

How to contribute

If you haven't contributed to any open source project this is the perfect opportunity. The project is very simple and it is in early stage.

To contribute via pull request, follow these steps:

  1. Create an issue describing the feature you want to work on (Bugs, themes, plugins, new features or webhooks).
  2. Write your code, tests and documentation, and format them with black
  3. Create a pull request describing your changes

For more detailed instructions on how to contribute code, check out these code contributor guidelines.

License

Licensed under the GPL License, Version 3.0 Copy of the license.

Author

Beto Ayesa (@betoayesa), looking for contributors!

Have an idea? Notice a bug? Need help?

I'd love to hear your feedback! Feel free to log an issue on our GitHub issues page. If your question is more personal, @betoayesa is always open as well.

Links

Other Resources

SVG icons: https://heroicons.com/

stripe-pad's People

Contributors

natzar avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

stripe-pad's Issues

Couple of missing files error

Describe the bug
Trying to install stripepad and encounted the below errors. Seems some files are missing from the repository.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://www.travelmarketingchina.com/
  2. See error

Expected behavior
No errors

Error
Warning: include_once(/home4/b3f1s0q2/travelmarketingchina.com/core/ModelBase.php): failed to open stream: No such file or directory in /home4/b3f1s0q2/travelmarketingchina.com/load.php on line 42

Warning: include_once(): Failed opening '/home4/b3f1s0q2/travelmarketingchina.com/core/ModelBase.php' for inclusion (include_path='.:/opt/alt/php74/usr/share/pear') in /home4/b3f1s0q2/travelmarketingchina.com/load.php on line 42

Warning: include_once(/home4/b3f1s0q2/travelmarketingchina.com/core/SPDO.php): failed to open stream: No such file or directory in /home4/b3f1s0q2/travelmarketingchina.com/load.php on line 43

Warning: include_once(): Failed opening '/home4/b3f1s0q2/travelmarketingchina.com/core/SPDO.php' for inclusion (include_path='.:/opt/alt/php74/usr/share/pear') in /home4/b3f1s0q2/travelmarketingchina.com/load.php on line 43

Warning: include_once(/home4/b3f1s0q2/travelmarketingchina.com/core/View.php): failed to open stream: No such file or directory in /home4/b3f1s0q2/travelmarketingchina.com/load.php on line 44

Warning: include_once(): Failed opening '/home4/b3f1s0q2/travelmarketingchina.com/core/View.php' for inclusion (include_path='.:/opt/alt/php74/usr/share/pear') in /home4/b3f1s0q2/travelmarketingchina.com/load.php on line 44

Fatal error: Uncaught Error: Class 'ModelBase' not found in /home4/b3f1s0q2/travelmarketingchina.com/app/models/sampleModel.php:17 Stack trace: #0 /home4/b3f1s0q2/travelmarketingchina.com/load.php(85): include() #1 /home4/b3f1s0q2/travelmarketingchina.com/index.php(26): require_once('/home4/b3f1s0q2...') #2 {main} thrown in /home4/b3f1s0q2/travelmarketingchina.com/app/models/sampleModel.php on line 17

Warning: include(app/themes/base-dark/errors/error.php): failed to open stream: No such file or directory in /home4/b3f1s0q2/travelmarketingchina.com/load.php on line 77

Warning: include(): Failed opening 'app/themes/base-dark/errors/error.php' for inclusion (include_path='.:/opt/alt/php74/usr/share/pear') in /home4/b3f1s0q2/travelmarketingchina.com/load.php on line 77

Fatal error: Uncaught ErrorException: include(app/themes/base-dark/errors/error.php): failed to open stream: No such file or directory in /home4/b3f1s0q2/travelmarketingchina.com/load.php:63 Stack trace: #0 /home4/b3f1s0q2/travelmarketingchina.com/load.php(63): {closure}(2, 'include(app/the...', '/home4/b3f1s0q2...', 63, Array) #1 /home4/b3f1s0q2/travelmarketingchina.com/load.php(63): include() #2 [internal function]: {closure}() #3 {main} thrown in /home4/b3f1s0q2/travelmarketingchina.com/load.php on line 63

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.