Skip to content

Commit

Permalink
Moving or Organization
Browse files Browse the repository at this point in the history
  • Loading branch information
nikuscs committed Dec 7, 2022
1 parent 0d84741 commit 1bc5086
Show file tree
Hide file tree
Showing 19 changed files with 49 additions and 49 deletions.
8 changes: 4 additions & 4 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
blank_issues_enabled: false
contact_links:
- name: Ask a question
url: https://github.com/igerslike/inertia-flash/discussions/new?category=q-a
url: https://github.com/flavorly/inertia-flash/discussions/new?category=q-a
about: Ask the community for help
- name: Request a feature
url: https://github.com/igerslike/inertia-flash/discussions/new?category=ideas
url: https://github.com/flavorly/inertia-flash/discussions/new?category=ideas
about: Share ideas for new features
- name: Report a security issue
url: https://github.com/igerslike/inertia-flash/security/policy
url: https://github.com/flavorly/inertia-flash/security/policy
about: Learn how to notify us for sensitive bugs
- name: Report a bug
url: https://github.com/igerslike/inertia-flash/issues/new
url: https://github.com/flavorly/inertia-flash/issues/new
about: Report a reproducable bug
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) igerslike <[email protected]>
Copyright (c) flavorly <[email protected]>

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
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

<p align="center"><img src="./assets/cover.png"></p>

[![Latest Version on Packagist](https://img.shields.io/packagist/v/igerslike/inertia-flash.svg?style=flat-square)](https://packagist.org/packages/igerslike/inertia-flash)
[![GitHub Tests Action Status](https://img.shields.io/github/workflow/status/igerslike/inertia-flash/run-tests?label=tests)](https://github.com/igerslike/inertia-flash/actions?query=workflow%3Arun-tests+branch%3Amain)
[![GitHub Code Style Action Status](https://img.shields.io/github/workflow/status/igerslike/inertia-flash/Check%20&%20fix%20styling?label=code%20style)](https://github.com/igerslike/inertia-flash/actions?query=workflow%3A"Check+%26+fix+styling"+branch%3Amain)
[![Total Downloads](https://img.shields.io/packagist/dt/igerslike/inertia-flash.svg?style=flat-square)](https://packagist.org/packages/igerslike/inertia-flash)
[![Latest Version on Packagist](https://img.shields.io/packagist/v/flavorly/inertia-flash.svg?style=flat-square)](https://packagist.org/packages/flavorly/inertia-flash)
[![GitHub Tests Action Status](https://img.shields.io/github/workflow/status/flavorly/inertia-flash/run-tests?label=tests)](https://github.com/flavorly/inertia-flash/actions?query=workflow%3Arun-tests+branch%3Amain)
[![GitHub Code Style Action Status](https://img.shields.io/github/workflow/status/flavorly/inertia-flash/Check%20&%20fix%20styling?label=code%20style)](https://github.com/flavorly/inertia-flash/actions?query=workflow%3A"Check+%26+fix+styling"+branch%3Amain)
[![Total Downloads](https://img.shields.io/packagist/dt/flavorly/inertia-flash.svg?style=flat-square)](https://packagist.org/packages/flavorly/inertia-flash)

A Quick way to flash & share variables to [InertiaJS](https://inertiajs.com/) that persist on session or cache. Really useful for redirects & returns!
Sharing to Inertia anywhere :)
Expand All @@ -15,7 +15,7 @@ Sharing to Inertia anywhere :)
You can install the package via composer:

```bash
composer require igerslike/inertia-flash
composer require flavorly/inertia-flash
```

You can publish the config file with:
Expand Down Expand Up @@ -47,8 +47,8 @@ return [
'prefix_key' => 'inertia_container_',
'driver' => 'session',

'session-driver' => \Igerslike\InertiaFlash\Drivers\SessionDriver::class,
'cache-driver' => \Igerslike\InertiaFlash\Drivers\CacheDriver::class,
'session-driver' => \flavorly\InertiaFlash\Drivers\SessionDriver::class,
'cache-driver' => \flavorly\InertiaFlash\Drivers\CacheDriver::class,

'cache-ttl' => 60,

Expand Down Expand Up @@ -89,10 +89,10 @@ Keep in the mind that the values will only be kept on the current or next reques
You may also use closures that under-the-hood will be converted to Laravel Closure Serializer ( Previously Opis )

```php
use \Igerslike\InertiaFlash\InertiaFlash;
use \flavorly\InertiaFlash\InertiaFlash;

// Resolve from container
$flash = app(\Igerslike\InertiaFlash\InertiaFlash::class);
$flash = app(\flavorly\InertiaFlash\InertiaFlash::class);
$flash->share('foo', 'bar');

// Or using the helper
Expand Down Expand Up @@ -164,7 +164,7 @@ Please review [our security policy](../../security/policy) on how to report secu

## Credits

- [jon](https://github.com/igerslike)
- [jon](https://github.com/flavorly)
- [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": "igerslike/inertia-flash",
"name": "flavorly/inertia-flash",
"description": "A Quick way to flash & share InertiaJS Variables from anywhere, persisting on session.",
"keywords": [
"igerslike",
"flavorly",
"laravel",
"inertia-flash"
],
"homepage": "https://github.com/igerslike/inertia-flash",
"homepage": "https://github.com/flavorly/inertia-flash",
"license": "MIT",
"authors": [
{
Expand Down Expand Up @@ -36,16 +36,16 @@
},
"autoload": {
"psr-4": {
"Igerslike\\InertiaFlash\\": "src",
"Igerslike\\InertiaFlash\\Database\\Factories\\": "database/factories"
"flavorly\\InertiaFlash\\": "src",
"flavorly\\InertiaFlash\\Database\\Factories\\": "database/factories"
},
"files": [
"src/Helpers/helpers.php"
]
},
"autoload-dev": {
"psr-4": {
"Igerslike\\InertiaFlash\\Tests\\": "tests"
"flavorly\\InertiaFlash\\Tests\\": "tests"
}
},
"scripts": {
Expand All @@ -63,10 +63,10 @@
"extra": {
"laravel": {
"providers": [
"Igerslike\\InertiaFlash\\InertiaFlashServiceProvider"
"flavorly\\InertiaFlash\\InertiaFlashServiceProvider"
],
"aliases": {
"InertiaFlash": "Igerslike\\InertiaFlash\\Facades\\InertiaFlash"
"InertiaFlash": "flavorly\\InertiaFlash\\Facades\\InertiaFlash"
}
}
},
Expand Down
4 changes: 2 additions & 2 deletions config/inertia-flash.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
'prefix_key' => 'inertia_container_',
'driver' => 'session',

'session-driver' => \Igerslike\InertiaFlash\Drivers\SessionDriver::class,
'cache-driver' => \Igerslike\InertiaFlash\Drivers\CacheDriver::class,
'session-driver' => \flavorly\InertiaFlash\Drivers\SessionDriver::class,
'cache-driver' => \flavorly\InertiaFlash\Drivers\CacheDriver::class,

'cache-ttl' => 60,

Expand Down
2 changes: 1 addition & 1 deletion phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
verbose="true"
>
<testsuites>
<testsuite name="Igerslike Test Suite">
<testsuite name="flavorly Test Suite">
<directory>tests</directory>
</testsuite>
</testsuites>
Expand Down
4 changes: 2 additions & 2 deletions src/Drivers/AbstractDriver.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

namespace Igerslike\InertiaFlash\Drivers;
namespace flavorly\InertiaFlash\Drivers;

use Igerslike\InertiaFlash\Exceptions\PrimaryKeyNotFoundException;
use flavorly\InertiaFlash\Exceptions\PrimaryKeyNotFoundException;
use Illuminate\Support\Collection;

abstract class AbstractDriver
Expand Down
2 changes: 1 addition & 1 deletion src/Drivers/CacheDriver.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Igerslike\InertiaFlash\Drivers;
namespace flavorly\InertiaFlash\Drivers;

use Carbon\Carbon;
use Illuminate\Cache\CacheManager;
Expand Down
2 changes: 1 addition & 1 deletion src/Drivers/SessionDriver.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Igerslike\InertiaFlash\Drivers;
namespace flavorly\InertiaFlash\Drivers;

use Illuminate\Support\Collection;
use Illuminate\Support\Traits\Macroable;
Expand Down
2 changes: 1 addition & 1 deletion src/Exceptions/DriverNotSupportedException.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Igerslike\InertiaFlash\Exceptions;
namespace flavorly\InertiaFlash\Exceptions;

class DriverNotSupportedException extends InertiaFlashException
{
Expand Down
2 changes: 1 addition & 1 deletion src/Exceptions/InertiaFlashException.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Igerslike\InertiaFlash\Exceptions;
namespace flavorly\InertiaFlash\Exceptions;

class InertiaFlashException extends \Exception
{
Expand Down
2 changes: 1 addition & 1 deletion src/Exceptions/PrimaryKeyNotFoundException.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Igerslike\InertiaFlash\Exceptions;
namespace flavorly\InertiaFlash\Exceptions;

class PrimaryKeyNotFoundException extends InertiaFlashException
{
Expand Down
4 changes: 2 additions & 2 deletions src/Facades/InertiaFlash.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<?php

namespace Igerslike\InertiaFlash\Facades;
namespace flavorly\InertiaFlash\Facades;

use Illuminate\Support\Facades\Facade;

/**
* @see \Igerslike\InertiaFlash\InertiaFlash
* @see \flavorly\InertiaFlash\InertiaFlash
*/
class InertiaFlash extends Facade
{
Expand Down
2 changes: 1 addition & 1 deletion src/Helpers/helpers.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

use Igerslike\InertiaFlash\InertiaFlash;
use flavorly\InertiaFlash\InertiaFlash;

if(!function_exists('inertia_flash')){

Expand Down
2 changes: 1 addition & 1 deletion src/Inertia/ResponseFactory.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Igerslike\InertiaFlash\Inertia;
namespace flavorly\InertiaFlash\Inertia;
use Illuminate\Contracts\Support\Arrayable;
use Inertia\Response;
use \Inertia\ResponseFactory as BaseResponseFactory;
Expand Down
12 changes: 6 additions & 6 deletions src/InertiaFlash.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?php

namespace Igerslike\InertiaFlash;
namespace flavorly\InertiaFlash;

use Closure;
use Igerslike\InertiaFlash\Drivers\AbstractDriver;
use Igerslike\InertiaFlash\Drivers\CacheDriver;
use Igerslike\InertiaFlash\Drivers\SessionDriver;
use Igerslike\InertiaFlash\Exceptions\DriverNotSupportedException;
use Igerslike\InertiaFlash\Exceptions\PrimaryKeyNotFoundException;
use flavorly\InertiaFlash\Drivers\AbstractDriver;
use flavorly\InertiaFlash\Drivers\CacheDriver;
use flavorly\InertiaFlash\Drivers\SessionDriver;
use flavorly\InertiaFlash\Exceptions\DriverNotSupportedException;
use flavorly\InertiaFlash\Exceptions\PrimaryKeyNotFoundException;
use Illuminate\Contracts\Auth\Authenticatable;
use Illuminate\Http\Request;
use Illuminate\Support\Collection;
Expand Down
4 changes: 2 additions & 2 deletions src/InertiaFlashServiceProvider.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

namespace Igerslike\InertiaFlash;
namespace flavorly\InertiaFlash;

use Igerslike\InertiaFlash\Inertia\ResponseFactory;
use flavorly\InertiaFlash\Inertia\ResponseFactory;
use Illuminate\Http\RedirectResponse;
use Illuminate\Support\Arr;
use Inertia\Inertia;
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 Igerslike\InertiaFlash\Tests\TestCase;
use flavorly\InertiaFlash\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,10 +1,10 @@
<?php

namespace Igerslike\InertiaFlash\Tests;
namespace flavorly\InertiaFlash\Tests;

use Illuminate\Database\Eloquent\Factories\Factory;
use Orchestra\Testbench\TestCase as Orchestra;
use Igerslike\InertiaFlash\InertiaFlashServiceProvider;
use flavorly\InertiaFlash\InertiaFlashServiceProvider;

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

Factory::guessFactoryNamesUsing(
fn (string $modelName) => 'Igerslike\\InertiaFlash\\Database\\Factories\\'.class_basename($modelName).'Factory'
fn (string $modelName) => 'flavorly\\InertiaFlash\\Database\\Factories\\'.class_basename($modelName).'Factory'
);
}

Expand Down

0 comments on commit 1bc5086

Please sign in to comment.