This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Controller method... | |
| public function download() | |
| { | |
| return response()->streamDownload(function () { | |
| $token = config('services.cloudflare.api_token'); | |
| $accountId = config('services.cloudflare.account_id'); | |
| $cloudflareApi = 'https://api.cloudflare.com/client/v4'; | |
| echo Http::withToken($token) | |
| ->post($cloudflareApi.'/accounts/'.$accountId.'/browser-rendering/pdf', [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| proxy | 2024/05/06 07:45:32 proxy starting, commit: d85fbd08cee81b78b7f408b09b558cac7a0cee5c | |
| proxy | 2024/05/06 07:45:32 Listening (:1080) | |
| updater | 2024-05-06T07:45:32.428980552 [824129777:main:WARN:src/devices/src/legacy/serial.rs:222] Detached the serial input due to peer close/error. | |
| updater | time="2024-05-06T07:45:34Z" level=info msg="guest starting" commit=7ae3c8b6b9717f8ad3c56d9958b08ec3c5b6c903 | |
| updater | time="2024-05-06T07:45:34Z" level=info msg="starting job..." fetcher_timeout=10m0s job_id=824129777 updater_timeout=45m0s updater_version=41076f97339018d9609e338bdc9c505b58212028-composer | |
| updater | /home/dependabot/dependabot-updater/vendor/ruby/3.3.0/gems/httparty-0.21.0/lib/httparty.rb:10: warning: csv was loaded from the standard library, but will no longer be part of the default gems since Ruby 3.4.0. Add csv to your Gemfile or gemspec. Also contact author of httparty-0.21.0 to add csv into its gemspec. | |
| updater | 2024/05/06 07:45:38 INFO <job_824129777> Starting job processing | |
| updater | 2024/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "require": { | |
| "foo/bar": { | |
| "version": "^1.0", | |
| "ignore-platform-req": ["php"] | |
| } | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| class CashierSubscriptions implements Subscriptions | |
| { | |
| public function startSubscription($billable, $subscription, $plan) | |
| { | |
| return $billable->newSubscription($subscription, $plan)->create(); | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| experimental: | |
| notify: | |
| branches: | |
| only: | |
| - master | |
| version: 2 | |
| jobs: | |
| php7.1-5.5: | |
| docker: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| namespace App\Queries; | |
| use App\Models\Thread; | |
| use Illuminate\Contracts\Pagination\Paginator; | |
| class SearchThreads | |
| { | |
| public function __construct() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| namespace App\Queries; | |
| use App\Models\Thread; | |
| use Illuminate\Contracts\Pagination\Paginator; | |
| class SearchThreads | |
| { | |
| public function __construct() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| use Illuminate\Contracts\Validation\Rule; | |
| class ValidPaymentToken implements Rule; | |
| { | |
| private $gateway; | |
| private $param1; | |
| private $param2; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| use Illuminate\Contracts\Validation\Rule; | |
| class ValidPaymentToken implements Rule; | |
| { | |
| /** | |
| * @var \CreditCardGateway | |
| */ | |
| private $gateway; |
NewerOlder