Skip to content

Instantly share code, notes, and snippets.

View NassimRehali15's full-sized avatar
🎯
Focusing

nassim rehali NassimRehali15

🎯
Focusing
View GitHub Profile
@NassimRehali15
NassimRehali15 / random_color.php
Last active June 16, 2019 10:50 — forked from agarzon/random_color.php
PHP Random Color Generator Hex
<?php $color = '#'.dechex(rand(0x000000, 0xFFFFFF)); ?>
<body style="background-color: <?php echo $color; ?>;">
<h1><?php echo $color ?></h1>
</body>
@NassimRehali15
NassimRehali15 / 2018_02_13_142413_add_renews_at_column_to_subscriptions.php
Last active November 15, 2023 20:23 — forked from garygreen/2018_02_13_142413_add_renews_at_column_to_subscriptions.php
Sync Stripe Renewal Date for all subscriptions - Laravel Console Command
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class AddRenewsAtColumnToSubscriptions extends Migration
{
/**
* Run the migrations.