https://github.com/theadeyemiolayinka/pay-the-dev
A Laravel package to cajole website owners into paying up their fee without having to tamper with the code-flow of the application.
https://github.com/theadeyemiolayinka/pay-the-dev
developer laravel lockscreen package pay php theadeyemiolayinka
Last synced: 3 months ago
JSON representation
A Laravel package to cajole website owners into paying up their fee without having to tamper with the code-flow of the application.
- Host: GitHub
- URL: https://github.com/theadeyemiolayinka/pay-the-dev
- Owner: theadeyemiolayinka
- Created: 2022-12-24T16:45:45.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-12-24T19:25:20.000Z (over 3 years ago)
- Last Synced: 2024-11-12T21:49:38.782Z (over 1 year ago)
- Topics: developer, laravel, lockscreen, package, pay, php, theadeyemiolayinka
- Language: PHP
- Homepage: https://packagist.org/packages/theadeyemiolayinka/pay-the-dev
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Pay The Developer
A Laravel package to cajole website owners into paying up their fee without
having to tamper with the code-flow of the application.
## Authors
- [@theadeyemiolayinka](https://www.github.com/theadeyemiolayinka)
## Installation
Installing the package is very seamless. Just run
```bash
$ composer require theadeyemiolayinka/pay-the-dev
```
You can also add the Service Provider to your app's `config/app.php`
```php
'providers' => [
...
\TheAdeyemiOlayinka\PayTheDev\PayTheDevServiceProvider::class,
];
```
Then you can publish the resources using
```bash
$ php artisan pay-the-dev:install
```
## Usage/Examples
To use the package, add the `PTT_ENABLE` to your .env and set the value. i.e
```env
PTT_ENABLE=false
```
The package won't trigger the Pay The Developer page until `PTT_ENABLE` is set to `true`
The package is shipped with a default page that shows when enabled but you can change it to your choice by setting `PTT_VIEW_NAME` to the name of the view you want to use. e.g
```env
PTT_VIEW_NAME=login
```
If you decide to use the shipped in webpage, you can change the location of the developer's website by setting the `PTT_DEVELOPER_WEBSITE` in the env. e.g
```env
PTT_DEVELOPER_WEBSITE=https://theadeyemiolayinka.netlify.app
```
## Support
For support, email olayinkaapps@gmail.com.