Skip to content
This repository has been archived by the owner on Mar 25, 2024. It is now read-only.

Commit

Permalink
Revert "Update package namespace and references to lexian-droid"
Browse files Browse the repository at this point in the history
This reverts commit 0bf4386.
  • Loading branch information
Lexian-droid committed Mar 10, 2024
1 parent 0bf4386 commit 05352ee
Show file tree
Hide file tree
Showing 14 changed files with 33 additions and 33 deletions.
2 changes: 1 addition & 1 deletion .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
github: lexian-droid
github: lexiandev
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
blank_issues_enabled: false
contact_links:
- name: Ask a question
url: https://github.com/lexian-droid/laravel-motd/discussions/new?category=q-a
url: https://github.com/lexiandev/laravel-motd/discussions/new?category=q-a
about: Ask the community for help
- name: Request a feature
url: https://github.com/lexian-droid/laravel-motd/discussions/new?category=ideas
url: https://github.com/lexiandev/laravel-motd/discussions/new?category=ideas
about: Share ideas for new features
- name: Report a security issue
url: https://github.com/lexian-droid/laravel-motd/security/policy
url: https://github.com/lexiandev/laravel-motd/security/policy
about: Learn how to notify us for sensitive bugs
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) lexian-droid <dev@lexian.dev>
Copyright (c) lexiandev <dev@lexian.dev>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Display MOTD messages to your users.

[![Latest Version on Packagist](https://img.shields.io/packagist/v/lexian-droid/laravel-motd.svg?style=flat-square)](https://packagist.org/packages/lexian-droid/laravel-motd)
[![GitHub Tests Action Status](https://img.shields.io/github/actions/workflow/status/lexian-droid/laravel-motd/run-tests.yml?branch=main&label=tests&style=flat-square)](https://github.com/lexian-droid/laravel-motd/actions?query=workflow%3Arun-tests+branch%3Amain)
[![GitHub Code Style Action Status](https://img.shields.io/github/actions/workflow/status/lexian-droid/laravel-motd/fix-php-code-style-issues.yml?branch=main&label=code%20style&style=flat-square)](https://github.com/lexian-droid/laravel-motd/actions?query=workflow%3A"Fix+PHP+code+style+issues"+branch%3Amain)
[![Total Downloads](https://img.shields.io/packagist/dt/lexian-droid/laravel-motd.svg?style=flat-square)](https://packagist.org/packages/lexian-droid/laravel-motd)
[![Latest Version on Packagist](https://img.shields.io/packagist/v/lexiandev/laravel-motd.svg?style=flat-square)](https://packagist.org/packages/lexiandev/laravel-motd)
[![GitHub Tests Action Status](https://img.shields.io/github/actions/workflow/status/lexiandev/laravel-motd/run-tests.yml?branch=main&label=tests&style=flat-square)](https://github.com/lexiandev/laravel-motd/actions?query=workflow%3Arun-tests+branch%3Amain)
[![GitHub Code Style Action Status](https://img.shields.io/github/actions/workflow/status/lexiandev/laravel-motd/fix-php-code-style-issues.yml?branch=main&label=code%20style&style=flat-square)](https://github.com/lexiandev/laravel-motd/actions?query=workflow%3A"Fix+PHP+code+style+issues"+branch%3Amain)
[![Total Downloads](https://img.shields.io/packagist/dt/lexiandev/laravel-motd.svg?style=flat-square)](https://packagist.org/packages/lexiandev/laravel-motd)

This is a simple package to display MOTD messages to your users, it can
be used to display updates, maintenance messages, or any other message
Expand All @@ -17,7 +17,7 @@ and it'll return the **newest** message that is not expired.
You can install the package via composer:

```bash
composer require lexian-droid/laravel-motd
composer require lexiandev/laravel-motd
```

You can publish and run the migrations with:
Expand Down Expand Up @@ -72,7 +72,7 @@ Please review [our security policy](../../security/policy) on how to report secu

## Credits

- [Lexian-droid](https://github.com/lexian-droid)
- [Lexian-droid](https://github.com/lexiandev)
- [All Contributors](../../contributors)

## License
Expand Down
16 changes: 8 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "lexian-droid/laravel-motd",
"name": "lexiandev/laravel-motd",
"description": "Display MOTD messages to your users.",
"keywords": [
"lexian-droid",
"lexiandev",
"laravel",
"laravel-motd"
],
"homepage": "https://github.com/lexian-droid/laravel-motd",
"homepage": "https://github.com/lexiandev/laravel-motd",
"license": "MIT",
"authors": [
{
Expand Down Expand Up @@ -35,13 +35,13 @@
},
"autoload": {
"psr-4": {
"lexian-droid\\Motd\\": "src/",
"lexian-droid\\Motd\\Database\\Factories\\": "database/factories/"
"Lexiandev\\Motd\\": "src/",
"Lexiandev\\Motd\\Database\\Factories\\": "database/factories/"
}
},
"autoload-dev": {
"psr-4": {
"lexian-droid\\Motd\\Tests\\": "tests/",
"Lexiandev\\Motd\\Tests\\": "tests/",
"Workbench\\App\\": "workbench/app/"
}
},
Expand Down Expand Up @@ -73,10 +73,10 @@
"extra": {
"laravel": {
"providers": [
"lexian-droid\\Motd\\MotdServiceProvider"
"Lexiandev\\Motd\\MotdServiceProvider"
],
"aliases": {
"Motd": "lexian-droid\\Motd\\Facades\\Motd"
"Motd": "Lexiandev\\Motd\\Facades\\Motd"
}
}
},
Expand Down
2 changes: 1 addition & 1 deletion config/motd.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

// config for lexian-droid/Motd
// config for Lexiandev/Motd
return [
/**
* The default text that will be displayed if no MOTD is set.
Expand Down
2 changes: 1 addition & 1 deletion database/factories/ModelFactory.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace lexian-droid\Motd\Database\Factories;
namespace Lexiandev\Motd\Database\Factories;

use Illuminate\Database\Eloquent\Factories\Factory;

Expand Down
2 changes: 1 addition & 1 deletion phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
backupStaticProperties="false"
>
<testsuites>
<testsuite name="lexian-droid Test Suite">
<testsuite name="Lexiandev Test Suite">
<directory>tests</directory>
</testsuite>
</testsuites>
Expand Down
2 changes: 1 addition & 1 deletion src/Commands/MotdCommand.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace lexian-droid\Motd\Commands;
namespace Lexiandev\Motd\Commands;

use Illuminate\Console\Command;

Expand Down
6 changes: 3 additions & 3 deletions src/Facades/Motd.php
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
<?php

namespace lexian-droid\Motd\Facades;
namespace Lexiandev\Motd\Facades;

use Illuminate\Support\Facades\Facade;

/**
* @see \lexian-droid\Motd\Motd
* @see \Lexiandev\Motd\Motd
*/
class Motd extends Facade
{
protected static function getFacadeAccessor()
{
return \lexian-droid\Motd\Motd::class;
return \Lexiandev\Motd\Motd::class;
}
}
2 changes: 1 addition & 1 deletion src/Models/motd.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace lexian-droid\Motd\Models;
namespace Lexiandev\Motd\Models;

use Illuminate\Database\Eloquent\Model;

Expand Down
4 changes: 2 additions & 2 deletions src/MotdServiceProvider.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

namespace lexian-droid\Motd;
namespace Lexiandev\Motd;

use lexian-droid\Motd\Commands\MotdCommand;
use Lexiandev\Motd\Commands\MotdCommand;
use Spatie\LaravelPackageTools\Package;
use Spatie\LaravelPackageTools\PackageServiceProvider;

Expand Down
2 changes: 1 addition & 1 deletion tests/Pest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php

use lexian-droid\Motd\Tests\TestCase;
use Lexiandev\Motd\Tests\TestCase;

uses(TestCase::class)->in(__DIR__);
6 changes: 3 additions & 3 deletions tests/TestCase.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php

namespace lexian-droid\Motd\Tests;
namespace Lexiandev\Motd\Tests;

use Illuminate\Database\Eloquent\Factories\Factory;
use lexian-droid\Motd\MotdServiceProvider;
use Lexiandev\Motd\MotdServiceProvider;
use Orchestra\Testbench\TestCase as Orchestra;

class TestCase extends Orchestra
Expand All @@ -13,7 +13,7 @@ protected function setUp(): void
parent::setUp();

Factory::guessFactoryNamesUsing(
fn (string $modelName) => 'lexian-droid\\Motd\\Database\\Factories\\'.class_basename($modelName).'Factory'
fn (string $modelName) => 'Lexiandev\\Motd\\Database\\Factories\\'.class_basename($modelName).'Factory'
);
}

Expand Down

0 comments on commit 05352ee

Please sign in to comment.