repo stringlengths 7 63 | file_url stringlengths 81 284 | file_path stringlengths 5 200 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-04 15:02:33 2026-01-05 05:24:06 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/config/queue.php | config/queue.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Default Queue Connection Name
|--------------------------------------------------------------------------
|
| Laravel's queue supports a variety of backends via a single, unified
| API, giving y... | php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/config/sentry.php | config/sentry.php | <?php
return [
// @see https://docs.sentry.io/product/sentry-basics/dsn-explainer/
'dsn' => env('SENTRY_LARAVEL_DSN', env('SENTRY_DSN')),
// The release version of your application
// Example with dynamic git hash: trim(exec('git --git-dir ' . base_path('.git') . ' log --pretty="%h" -n1 HEAD'))
'... | php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/config/cache.php | config/cache.php | <?php
use Illuminate\Support\Str;
return [
/*
|--------------------------------------------------------------------------
| Default Cache Store
|--------------------------------------------------------------------------
|
| This option controls the default cache store that will be used by the... | php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/config/database.php | config/database.php | <?php
use Illuminate\Support\Str;
return [
/*
|--------------------------------------------------------------------------
| Default Database Connection Name
|--------------------------------------------------------------------------
|
| Here you may specify which of the database connections b... | php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/config/blade-icons.php | config/blade-icons.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Icons Sets
|--------------------------------------------------------------------------
|
| With this config option you can define a couple of
| default icon sets. Provide a key name for your ico... | php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/config/services.php | config/services.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Third Party Services
|--------------------------------------------------------------------------
|
| This file is for storing the credentials for third party services such
| as Mailgun, Postmark... | php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/config/permission.php | config/permission.php | <?php
return [
'models' => [
/*
* When using the "HasPermissions" trait from this package, we need to know which
* Eloquent model should be used to retrieve your permissions. Of course, it
* is often just the "Permission" model but you may use whatever you like.
*
... | php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/config/fields.php | config/fields.php | <?php
return [
'lang' => [
'bn' => 'বাংলা',
'en' => 'English',
],
];
| php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/config/filesystems.php | config/filesystems.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Default Filesystem Disk
|--------------------------------------------------------------------------
|
| Here you may specify the default filesystem disk that should be used
| by the framework. T... | php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/config/mail.php | config/mail.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Default Mailer
|--------------------------------------------------------------------------
|
| This option controls the default mailer that is used to send all email
| messages unless another ma... | php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/config/auth.php | config/auth.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Authentication Defaults
|--------------------------------------------------------------------------
|
| This option defines the default authentication "guard" and password
| reset "broker" for y... | php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/database/factories/SubscriberFactory.php | database/factories/SubscriberFactory.php | <?php
namespace Database\Factories;
use App\Models\Subscriber;
use Illuminate\Database\Eloquent\Factories\Factory;
use Illuminate\Support\Str;
class SubscriberFactory extends Factory
{
/**
* The name of the factory's corresponding model.
*
* @var string
*/
protected $model = Subscriber::c... | php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/database/factories/FeedbackFactory.php | database/factories/FeedbackFactory.php | <?php
namespace Database\Factories;
use App\Models\Feedback;
use Illuminate\Database\Eloquent\Factories\Factory;
/**
* @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\Feedback>
*/
class FeedbackFactory extends Factory
{
protected $model = Feedback::class;
/**
* Define the model's... | php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/database/factories/ArticleFactory.php | database/factories/ArticleFactory.php | <?php
namespace Database\Factories;
use App\Models\Article;
use App\Models\Category;
use Illuminate\Database\Eloquent\Factories\Factory;
use Illuminate\Support\Str;
class ArticleFactory extends Factory
{
/**
* The name of the factory's corresponding model.
*
* @var string
*/
protected $mo... | php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/database/factories/CategoryFactory.php | database/factories/CategoryFactory.php | <?php
namespace Database\Factories;
use App\Models\Category;
use Illuminate\Database\Eloquent\Factories\Factory;
class CategoryFactory extends Factory
{
/**
* The name of the factory's corresponding model.
*
* @var string
*/
protected $model = Category::class;
/**
* Define the m... | php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/database/factories/CommentFactory.php | database/factories/CommentFactory.php | <?php
namespace Database\Factories;
use App\Models\Comment;
use Illuminate\Database\Eloquent\Factories\Factory;
class CommentFactory extends Factory
{
/**
* The name of the factory's corresponding model.
*
* @var string
*/
protected $model = Comment::class;
/**
* Define the mode... | php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/database/factories/UserFactory.php | database/factories/UserFactory.php | <?php
namespace Database\Factories;
use App\Models\User;
use Illuminate\Database\Eloquent\Factories\Factory;
class UserFactory extends Factory
{
/**
* The name of the factory's corresponding model.
*
* @var string
*/
protected $model = User::class;
/**
* Define the model's defau... | php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/database/factories/KeywordFactory.php | database/factories/KeywordFactory.php | <?php
namespace Database\Factories;
use App\Models\Keyword;
use Illuminate\Database\Eloquent\Factories\Factory;
class KeywordFactory extends Factory
{
/**
* The name of the factory's corresponding model.
*
* @var string
*/
protected $model = Keyword::class;
/**
* Define the mode... | php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/database/migrations/2021_07_08_125022_create_sessions_table.php | database/migrations/2021_07_08_125022_create_sessions_table.php | <?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateSessionsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('sessions', fun... | php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/database/migrations/2023_01_27_221841_add_slug_in_articles_table.php | database/migrations/2023_01_27_221841_add_slug_in_articles_table.php | <?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
public function up(): void
{
Schema::table('articles', function (Blueprint $table) {
$table->string('slug')->after('id')... | php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/database/migrations/2017_02_25_150152_create_configs_table.php | database/migrations/2017_02_25_150152_create_configs_table.php | <?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateConfigsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('configs', funct... | php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/database/migrations/2020_04_10_185833_create_permission_tables.php | database/migrations/2020_04_10_185833_create_permission_tables.php | <?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreatePermissionTables extends Migration
{
/**
* Run the migrations.
*
*
* @throws Exception
*/
public function up(): void
{
$tableNam... | php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/database/migrations/2016_10_01_014930_create_comments_table.php | database/migrations/2016_10_01_014930_create_comments_table.php | <?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateCommentsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('comments', fun... | php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/database/migrations/2016_10_01_014152_create_categories_table.php | database/migrations/2016_10_01_014152_create_categories_table.php | <?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateCategoriesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('categories',... | php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/database/migrations/2020_04_09_091100_create_cache_table.php | database/migrations/2020_04_09_091100_create_cache_table.php | <?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('cache', function (Blueprint $table) {
... | php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/database/migrations/2021_07_08_075207_create_subscribers_table.php | database/migrations/2021_07_08_075207_create_subscribers_table.php | <?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateSubscribersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('subscribers... | php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/database/migrations/2014_10_12_000000_create_users_table.php | database/migrations/2014_10_12_000000_create_users_table.php | <?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateUsersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('users', function ... | php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/database/migrations/2014_10_12_100000_create_password_resets_table.php | database/migrations/2014_10_12_100000_create_password_resets_table.php | <?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreatePasswordResetsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('password... | php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/database/migrations/2017_02_27_161927_create_feedback_table.php | database/migrations/2017_02_27_161927_create_feedback_table.php | <?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateFeedbackTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('feedbacks', fu... | php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/database/migrations/2024_09_12_230821_add_uuid_in_images_table.php | database/migrations/2024_09_12_230821_add_uuid_in_images_table.php | <?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::table('images', function (Blueprint $table) {
... | php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/database/migrations/2024_06_23_091013_create_password_reset_tokens_table.php | database/migrations/2024_06_23_091013_create_password_reset_tokens_table.php | <?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('password_reset_tokens', function (Blueprint ... | php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/database/migrations/2017_06_17_100129_add_is_comment_enabled_in_article_table.php | database/migrations/2017_06_17_100129_add_is_comment_enabled_in_article_table.php | <?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddIsCommentEnabledInArticleTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('a... | php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/database/migrations/2014_10_12_000001_create_readers_table.php | database/migrations/2014_10_12_000001_create_readers_table.php | <?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateReadersTable extends Migration
{
public function up(): void
{
Schema::create('readers', function (Blueprint $table) {
$table->increments('id');
... | php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/database/migrations/2016_10_01_014543_create_articles_table.php | database/migrations/2016_10_01_014543_create_articles_table.php | <?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateArticlesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('articles', fun... | php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/database/migrations/2019_08_19_000000_create_failed_jobs_table.php | database/migrations/2019_08_19_000000_create_failed_jobs_table.php | <?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateFailedJobsTable extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('failed_jobs', function (Blueprint... | php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/database/migrations/2016_10_03_014544_create_article_image_table.php | database/migrations/2016_10_03_014544_create_article_image_table.php | <?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateArticleImageTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('article_im... | php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/database/migrations/2024_06_23_091256_create_job_batches_table.php | database/migrations/2024_06_23_091256_create_job_batches_table.php | <?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('job_batches', function (Blueprint $table) {
... | php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/database/migrations/2016_10_01_014203_create_keywords_table.php | database/migrations/2016_10_01_014203_create_keywords_table.php | <?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateKeywordsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('keywords', fun... | php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/database/migrations/2016_10_03_190244_create_article_keyword_table.php | database/migrations/2016_10_03_190244_create_article_keyword_table.php | <?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateArticleKeywordTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('article_... | php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/database/migrations/2024_09_12_162739_create_telescope_entries_table.php | database/migrations/2024_09_12_162739_create_telescope_entries_table.php | <?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Get the migration connection name.
*/
public function getConnection(): ?string
{
return config('telescope.storag... | php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/database/migrations/2023_07_15_104621_add_meta_in_articles_table.php | database/migrations/2023_07_15_104621_add_meta_in_articles_table.php | <?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::table('articles', function (Blueprint $table) {
... | php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/database/migrations/2017_01_05_183023_create_jobs_table.php | database/migrations/2017_01_05_183023_create_jobs_table.php | <?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateJobsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('jobs', function (B... | php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/database/migrations/2014_09_01_014904_create_images_table.php | database/migrations/2014_09_01_014904_create_images_table.php | <?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateImagesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('images', functio... | php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/database/seeders/RolesAndPermissionsTableSeeder.php | database/seeders/RolesAndPermissionsTableSeeder.php | <?php
namespace Database\Seeders;
use Illuminate\Database\Seeder;
use Spatie\Permission\Models\Permission;
use Spatie\Permission\Models\Role;
use Spatie\Permission\PermissionRegistrar;
class RolesAndPermissionsTableSeeder extends Seeder
{
public function run(): void
{
$this->saveRole();
$this... | php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/database/seeders/ArticlesTableSeeder.php | database/seeders/ArticlesTableSeeder.php | <?php
namespace Database\Seeders;
use App\Models\Article;
use App\Models\Category;
use App\Models\User;
use Faker\Factory;
use Illuminate\Database\Seeder;
class ArticlesTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
if (a... | php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/database/seeders/CategoriesTableSeeder.php | database/seeders/CategoriesTableSeeder.php | <?php
namespace Database\Seeders;
use App\Models\Category;
use DateTime;
use Illuminate\Database\Seeder;
class CategoriesTableSeeder extends Seeder
{
/**
* Run the database seeds.
*/
public function run(): void
{
$categories[] = [
'name' => 'Object Oriented Programming',
... | php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/database/seeders/UsersTableSeeder.php | database/seeders/UsersTableSeeder.php | <?php
namespace Database\Seeders;
use App\Models\User;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\Hash;
use Spatie\Permission\Models\Role;
class UsersTableSeeder extends Seeder
{
/**
* Run the database seeds.
*/
public function run(): void
{
if (env('APP_ENV') == 'lo... | php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/database/seeders/CommentsTableSeeder.php | database/seeders/CommentsTableSeeder.php | <?php
namespace Database\Seeders;
use App\Models\Article;
use App\Models\Comment;
use App\Models\User;
use Faker\Factory;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;
class CommentsTableSeeder extends Seeder
{
/**
* Run the database seeds.
*/
public function run(): void
{
... | php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/database/seeders/DatabaseSeeder.php | database/seeders/DatabaseSeeder.php | <?php
namespace Database\Seeders;
use Illuminate\Database\Seeder;
class DatabaseSeeder extends Seeder
{
/**
* Run the database seeds.
*/
public function run(): void
{
$this->call(RolesAndPermissionsTableSeeder::class);
$this->call(UsersTableSeeder::class);
$this->call(Re... | php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/database/seeders/KeywordsTableSeeder.php | database/seeders/KeywordsTableSeeder.php | <?php
namespace Database\Seeders;
use App\Models\Keyword;
use Illuminate\Database\Seeder;
class KeywordsTableSeeder extends Seeder
{
/**
* Run the database seeds.
*/
public function run(): void
{
if (env('APP_ENV') != 'production') {
Keyword::factory()->count(5)->create();
... | php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/database/seeders/ConfigsTableSeeder.php | database/seeders/ConfigsTableSeeder.php | <?php
namespace Database\Seeders;
use App\Models\Config;
use Illuminate\Database\Seeder;
class ConfigsTableSeeder extends Seeder
{
/**
* Run the database seeds.
*/
public function run(): void
{
Config::query()->insert([
['name' => 'site_name', 'value' => 'Al- Imran Ahmed (-'... | php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/database/seeders/ReadersTableSeeder.php | database/seeders/ReadersTableSeeder.php | <?php
namespace Database\Seeders;
use App\Models\Reader;
use Illuminate\Database\Seeder;
class ReadersTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
Reader::query()->create(
[
'is_verified' => ... | php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/resources/views/errors/503.blade.php | resources/views/errors/503.blade.php | <!DOCTYPE html>
<html>
<head>
<title>Be right back.</title>
<link href="https://fonts.googleapis.com/css?family=Lato:100" rel="stylesheet" type="text/css">
<style>
html, body {
height: 100%;
}
body {
margin: 0;
... | php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/resources/views/emails/testMail.blade.php | resources/views/emails/testMail.blade.php | @extends('emails.master')
@section('content)
Welcome
@endsection | php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/resources/views/emails/comment_thread_notification.blade.php | resources/views/emails/comment_thread_notification.blade.php | @extends('emails.master')
@section('content')
<h2>Hi</h2>
<p><strong>{{$comment->user->name}}</strong> has respond to a comment thread you are following on <strong>{{$globalConfigs->site_name}}</strong></p>
<h4 style="margin-bottom: 15px;">Response:</h4>
<p style="border-top: 1px solid #ddd; border-bo... | php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/resources/views/emails/notify_admin.blade.php | resources/views/emails/notify_admin.blade.php | @extends('emails.master')
@section('content')
<h2>Hi <strong>{{$globalConfigs->copyright_owner}}</strong></h2>
<p>A user has respond on <strong>{{$globalConfigs->site_name}}</strong></p>
<h3 style="margin-bottom: 15px;">Response:</h3>
<p style="border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; padding: 10px;... | php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/resources/views/emails/notify_new_article.blade.php | resources/views/emails/notify_new_article.blade.php | @extends('emails.master')
@section('content')
<h4>Dear {{$user->name}},</h4>
<p style="margin-bottom: 15px;">A new Article has been published in <strong>{{$globalConfigs->site_name}}</strong> about {{$article->category->name}}</p>
<div style="border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; paddi... | php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/resources/views/emails/subscribe_confirmation.blade.php | resources/views/emails/subscribe_confirmation.blade.php | @extends('emails.master')
@section('content')
<h2>Dear Reader</h2>
<p>You have expressed your interested to stay connected with <strong>{{$globalConfigs->site_name}}</strong>
Click the link bellow to confirm</p><br>
<a href="{{route('subscription.confirm')."?token=".$subscriber->token}}">
Cl... | php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/resources/views/emails/master.blade.php | resources/views/emails/master.blade.php | <!doctype html>
<html lang="en">
<body>
<div style="border: 1px solid #d1ebd3; padding: 15px 40px">
@yield('content')
</div>
<div style="background: #d1ebd3; padding: 15px; text-align: center">
© {{date('Y').' '.$globalConfigs->copyright_owner}}
</div>
</body>
</html>
| php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/resources/views/emails/comment_confirmation.blade.php | resources/views/emails/comment_confirmation.blade.php | @extends('emails.master')
@section('content')
<h2>Dear <strong>{{$comment->user->name}}</strong></h2>
<p>A comment has been published on <strong>{{$globalConfigs->site_name}}</strong> using your email</p>
<h4 style="margin-bottom: 15px;">Comment Content:</h4>
<p style="border-top: 1px solid #ddd; bord... | php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/resources/views/components/slideover.blade.php | resources/views/components/slideover.blade.php | @props(['body' => '', 'message' => ''])
<!-- This example requires Tailwind CSS v2.0+ -->
<div class="fixed inset-0 overflow-hidden" aria-labelledby="slide-over-title" role="dialog" aria-modal="true"
x-show="show_slideover" x-transition.opacity.duration.500ms>
<div class="absolute inset-0 overflow-hidden">
... | php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/resources/views/components/svg.blade.php | resources/views/components/svg.blade.php | @props(['icon'])
@php
$path = match ($icon) {
'search' => 'M16.32 14.9l5.39 5.4a1 1 0 0 1-1.42 1.4l-5.38-5.38a8 8 0 1 1 1.41-1.41zM10 16a6 6 0 1 0 0-12 6 6 0 0 0 0 12z',
'cross' => 'M16.24 14.83a1 1 0 0 1-1.41 1.41L12 13.41l-2.83 2.83a1 1 0 0 1-1.41-1.41L10.59 12 7.76 9.17a1 1 0 0 1 1.41-1.41L12 10... | php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/resources/views/components/toggle.blade.php | resources/views/components/toggle.blade.php | @props(['text' => null, 'isEnabled' => false])
<div class="flex items-center">
<!-- Enabled: "bg-indigo-600", Not Enabled: "bg-gray-200" -->
<button {{$attributes}}
type="button"
wire:loading.attr="disabled" wire:loading.class="cursor-wait"
@class([
'relative ... | php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/resources/views/components/status.blade.php | resources/views/components/status.blade.php | @props(['text', 'state' => 'positive'])
@php
$statusClasses = match ($state) {
'positive' => 'bg-green-100 text-green-700',
'negative' => 'bg-red-100 text-red-700',
'neutral' => 'bg-red-100 text-gray-600',
}
@endphp
<span {{$attributes->merge(['class' => "inline-flex items-center rounde... | php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/resources/views/components/backend/navbar.blade.php | resources/views/components/backend/navbar.blade.php | <nav class="bg-gray-800" x-data="{show_mobile_menu: false}">
<div class="max-w-7xl mx-auto px-2 sm:px-6 lg:px-8">
<div class="relative flex items-center justify-between h-16">
<div class="absolute inset-y-0 left-0 flex items-center sm:hidden">
<!-- Mobile menu toggle button(burge... | php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/resources/views/components/backend/comment.blade.php | resources/views/components/backend/comment.blade.php | @props(['comment'])
<div {{$attributes}}>
<div class="font-semibold">
<span class="border-b-2 border-indigo-500">{{\Illuminate\Support\Str::title($comment->user->name)}}</span>
commented
</div>
<div>{{$comment->content}}</div>
<div class="text-gray-500">
@if($comment->published_... | php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/resources/views/components/backend/table.blade.php | resources/views/components/backend/table.blade.php | <div {{$attributes->merge(['class' => 'mt-8 flow-root'])}}>
<div class="-mx-4 -my-2 overflow-x-auto sm:-mx-6 lg:-mx-8">
<div class="inline-block min-w-full py-2 align-middle sm:px-6 lg:px-8">
<div class="overflow-hidden shadow ring-1 ring-black ring-opacity-5 rounded-lg">
<table ... | php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/resources/views/components/backend/reply.blade.php | resources/views/components/backend/reply.blade.php | @props(['reply'])
<div {{$attributes}}>
<div class="font-semibold">
<span
class="border-b-2 border-indigo-500">{{\Illuminate\Support\Str::title($reply->user->name)}}</span>
replied
</div>
<div>{{$reply->content}}</div>
<div class="text-gray-500">
@if($reply->publishe... | php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/resources/views/components/backend/comment/publish-status.blade.php | resources/views/components/backend/comment/publish-status.blade.php | @props(['comment'])
@if($comment->is_published)
<span
class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">
Published
</span>
@else
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-red-100 text-red-800">
Not P... | php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/resources/views/components/backend/navbar/navs.blade.php | resources/views/components/backend/navbar/navs.blade.php | @props(['isMobile' => false])
<!-- Current: "bg-gray-900 text-white", Default: "text-gray-300 hover:bg-gray-700 hover:text-white" -->
@php
$menus = [
'Articles' => route('backend.article.index'),
'Comments' => route('backend.comment.index'),
'Users' => route('backend.user.index'),
'... | php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/resources/views/components/backend/form/select.blade.php | resources/views/components/backend/form/select.blade.php | @props(['name'])
<select name="{{$name}}"
{{$attributes->merge(['class' => 'block p-1 border border-indigo-300 rounded focus:outline-none focus:ring-0 focus:border-indigo-500'])}}
>
{{$slot}}
</select>
| php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/resources/views/components/backend/form/label.blade.php | resources/views/components/backend/form/label.blade.php | @props(['required' => false])
<label {{$attributes}}>
{{$slot}} {!! $required ? '<span class="text-red-600">*</span>' : '' !!}
</label>
| php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/resources/views/components/backend/form/button.blade.php | resources/views/components/backend/form/button.blade.php | @props(['type' => 'submit'])
<button type="{{$type}}"
wire:loading.attr="disabled" wire:loading.class="cursor-wait animate-pulse"
{{$attributes->merge(['class' => 'block rounded-md bg-indigo-600 px-3 py-2 text-center text-sm font-semibold text-white shadow-sm hover:bg-indigo-500 focus-visible:outline focus-visi... | php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/resources/views/components/backend/form/input.blade.php | resources/views/components/backend/form/input.blade.php | @props(['type' => 'text', 'name'])
<input type="{{$type}}" name="{{$name}}"
{{$attributes->merge(['class' => 'p-1 border border-indigo-300 rounded focus:outline-none focus:ring-0 focus:border-indigo-500'])}}
>
@error($name)
<div class="text-red-600">{{$message}}</div>
@enderror
| php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/resources/views/components/backend/form/textarea.blade.php | resources/views/components/backend/form/textarea.blade.php | @props(['type' => 'text', 'name', 'rounded' => true])
@php
$class = $rounded ? 'rounded' : '';
@endphp
<textarea type="{{$type}}" name="{{$name}}"
{{$attributes->merge(['class' => "p-1 border border-indigo-300 focus:outline-none focus:ring-0 focus:border-indigo-500 $class"])}}
>{{$slot}}</textarea>
| php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/resources/views/components/backend/table/th.blade.php | resources/views/components/backend/table/th.blade.php | <th scope="col"
{{$attributes->merge(['class' => "px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider whitespace-nowrap"])}}>
{{$slot}}
</th>
| php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/resources/views/components/backend/table/td.blade.php | resources/views/components/backend/table/td.blade.php | @props(['wrap' => false])
<td {{$attributes->merge(['class' => "py-4 pl-4 text-sm".($wrap ? '' : 'whitespace-no-wrap')])}}>
{{$slot}}
</td>
| php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/resources/views/components/layouts/backend.blade.php | resources/views/components/layouts/backend.blade.php | <!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
@vite(['resources/css/app.css', 'resources/js/app... | php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/resources/views/components/layouts/frontend.blade.php | resources/views/components/layouts/frontend.blade.php | @props(['title' => $globalConfigs->site_title, 'article' => null])
<x-frontend.header :title="$title" :article="$article"/>
{{$slot}}
<x-frontend.footer/>
| php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/resources/views/components/frontend/navbar.blade.php | resources/views/components/frontend/navbar.blade.php | <!--Medium Device-->
<div class="mb-0 py-2 justify-between items-center hidden md:flex">
<a href="/" class="flex items-center">
<img src="{{\App\Models\Config::getPath(\App\Models\Config::USER_PHOTO)}}" alt="logo" class="rounded-full h-10 w-10 object-cover object-center">
<div class="ml-4 font-semib... | php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/resources/views/components/frontend/seo-meta.blade.php | resources/views/components/frontend/seo-meta.blade.php | @props(['article' => null])
@if(isset($article))
@php
$meta = [
'author' => $article->user->name,
'title' => $article->heading,
'description' => \Illuminate\Support\Arr::get($article->meta, 'description', mb_substr($article->content, 0, 152).'...'),
'image' =>... | php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/resources/views/components/frontend/header.blade.php | resources/views/components/frontend/header.blade.php | @props(['title', 'article' => null])
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<x-frontend.... | php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/resources/views/components/frontend/footer.blade.php | resources/views/components/frontend/footer.blade.php | </div>
<div class="mt-4 p-4 border-t border-blue-200 md:flex md:justify-between text-center">
<div>
<?php echo '© ' . (new DateTime())->format('Y') . ' Al Imran Ahmed' ?>
<div>Proudly build with: <a href="https://github.com/alimranahmed/larablog" class="text-indigo-600" target="_blank">Larablog... | php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/resources/views/components/frontend/social-links.blade.php | resources/views/components/frontend/social-links.blade.php | <div {{$attributes->merge(['class' => 'flex'])}}>
<a href="https://stackoverflow.com/users/2997855/imran" target="_blank">
<x-tni-stackoverflow class="text-orange-500"/>
</a>
<a href="https://twitter.com/al_imran_ahmed" target="_blank" class="mx-3">
<x-uni-twitter-alt-thin class="text-blue-7... | php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/resources/views/components/frontend/article.blade.php | resources/views/components/frontend/article.blade.php | @props(['article'])
<div class="py-3 border-b border-dashed border-blue-300">
<!-- Heading-->
<h2 class="xs:text-md sm:text-xl md:text-2xl leading-tight mb-2">
<a href="{{route('get-article', $article->slug)}}"
class="text-slate-700 hover:text-gray-900 focus:outline-none focus:text-gray-... | php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/resources/views/components/frontend/google-analytics.blade.php | resources/views/components/frontend/google-analytics.blade.php | <!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id={{config('services.google.analytics_tracking_id')}}"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('confi... | php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/resources/views/components/frontend/article/comment.blade.php | resources/views/components/frontend/article/comment.blade.php | @props(['comment'])
<div {{
$attributes->merge([
'class' => "border-b border-blue-300 border-dashed leading-tight py-1"
]) }}>
<h3 class="text-xs md:text-sm mb-1">
<span class="font-semibold border-b-2 border-blue-300">{{$comment->user->name}}</span> said
</h3>
<div>
{{$comment... | php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/resources/views/components/frontend/article/tags.blade.php | resources/views/components/frontend/article/tags.blade.php | @props(['keywords'])
<div class="text-left">
@foreach($keywords as $keyword)
@if(!$loop->first) @endif
<x-frontend.article.tag :keyword="$keyword"></x-frontend.article.tag>
@endforeach
</div>
| php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/resources/views/components/frontend/article/reply.blade.php | resources/views/components/frontend/article/reply.blade.php | @props(['reply', 'is_reply' => false,])
<div {{
$attributes->merge([
'class' => "border-b border-blue-300 border-dashed leading-tight py-1 ml-5"
]) }}>
<h3 class="text-xs md:text-sm mb-1">
<span class="font-semibold border-b-2 border-blue-300">{{$reply->user->name}}</span> replied
</h3>
... | php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/resources/views/components/frontend/article/tag.blade.php | resources/views/components/frontend/article/tag.blade.php | @props(['keyword'])
<a href="{{route('articles-by-keyword', [$keyword->name])}}"
class="py-1 px-2
font-semibold
bg-indigo-400
rounded-lg text-xs
text-gray-50
whitespace-no-wrap
hover:text-white hover:bg-indigo-500
focus:outline-none focus:t... | php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/resources/views/components/frontend/article/comment/form.blade.php | resources/views/components/frontend/article/comment/form.blade.php | @props(['article'])
<form wire:submit.prevent="add">
@csrf
<textarea placeholder="Comment"
wire:model.defer="comment.content"
aria-label="Comment"
class="px-2 py-1
w-full rounded-lg
text-justify text-sm md:text-base
border border-blue-200 block ... | php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/resources/views/components/frontend/meta/google.blade.php | resources/views/components/frontend/meta/google.blade.php | @props(['meta'])
<meta name="description" content="{{$meta['description']}}"/>
<meta name="author" content="{{$meta['author']}}"/>
<meta name="keywords" content="{{$meta['keywords']}}"/>
| php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/resources/views/components/frontend/meta/facebook.blade.php | resources/views/components/frontend/meta/facebook.blade.php | @props(['meta'])
<meta property="og:title" content="{{$meta['title']}}">
<meta property="og:description" content="{{$meta['description']}}">
<meta property="og:image" content="{{$meta['image']}}">
<meta property="og:url" content="{{$meta['url']}}">
<meta property="og:type" content="article">
<meta property="og:site_na... | php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/resources/views/components/frontend/meta/twitter.blade.php | resources/views/components/frontend/meta/twitter.blade.php | @props(['meta'])
<meta name="twitter:card" content="summary" />
<meta name="twitter:site" content="{{$meta['site']}}" />
<meta name="twitter:title" content="{{$meta['title']}}" />
<meta name="twitter:description" content="{{$meta['description']}}" />
<meta name="twitter:image" content="{{$meta['image']}}" />
| php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/resources/views/backend/dashboard.blade.php | resources/views/backend/dashboard.blade.php | <x-layouts.backend>
<livewire:backend.dashboard/>
</x-layouts.backend>
| php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/resources/views/backend/auth.blade.php | resources/views/backend/auth.blade.php | <x-layouts.backend>
<div class="flex justify-center px-4">
<div class="w-full sm:w-1/4">
<div>
<h2>Welcome...</h2>
</div>
<div>
<form method="post" action="{{route('login')}}">
{{csrf_field()}}
<div c... | php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/resources/views/backend/users/edit.blade.php | resources/views/backend/users/edit.blade.php | <x-layouts.backend>
<livewire:backend.user.form :user="$user"/>
</x-layouts.backend>
| php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/resources/views/backend/users/edit_password.blade.php | resources/views/backend/users/edit_password.blade.php | <x-layouts.backend>
<livewire:backend.user.password-form/>
</x-layouts.backend>
| php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/resources/views/backend/users/create.blade.php | resources/views/backend/users/create.blade.php | <x-layouts.backend>
<livewire:backend.user.form/>
</x-layouts.backend>
| php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
alimranahmed/LaraBlog | https://github.com/alimranahmed/LaraBlog/blob/2179d56d2a8f1651b32be9656b23b27ad2cff167/resources/views/backend/users/show.blade.php | resources/views/backend/users/show.blade.php | <x-layouts.backend>
<div class="flex justify-center">
<div>
<div>
{{$user->name}}
@if(!$user->roles->isEmpty())
<span class="text-gray-600">({{$user->roles->pluck('name')->implode(', ')}})</span>
@endif
<a href="... | php | MIT | 2179d56d2a8f1651b32be9656b23b27ad2cff167 | 2026-01-05T02:10:47.599221Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.