theadeyemiolayinka/pay-the-dev
最新稳定版本:1.0.0
Composer 安装命令:
composer require theadeyemiolayinka/pay-the-dev
包简介
A laravel package to remind the owners of a website the importance of paying developers.
README 文档
README
A Laravel package to cajole website owners into paying up their fee without having to tamper with the code-flow of the application.
Authors
Installation
Installing the package is very seamless. Just run
$ composer require theadeyemiolayinka/pay-the-dev
You can also add the Service Provider to your app's config/app.php
'providers' => [ ... \TheAdeyemiOlayinka\PayTheDev\PayTheDevServiceProvider::class, ];
Then you can publish the resources using
$ 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
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
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
PTT_DEVELOPER_WEBSITE=https://theadeyemiolayinka.netlify.app
Support
For support, email olayinkaapps@gmail.com.
统计信息
- 总下载量: 30
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-12-24