Skip to content

Commit

Permalink
Change namespace to Outl1ne
Browse files Browse the repository at this point in the history
  • Loading branch information
Tarpsvo committed Aug 24, 2022
1 parent a302348 commit 273f930
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2021 Optimist Digital <info@optimistdigital.com>
Copyright (c) 2022 Outl1ne <info@outl1ne.com>

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
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Laravel Console over HTTP

[![Latest Version on Packagist](https://img.shields.io/packagist/v/optimistdigital/laravel-console-over-http.svg?style=flat-square)](https://packagist.org/packages/optimistdigital/laravel-console-over-http)
[![Total Downloads](https://img.shields.io/packagist/dt/optimistdigital/laravel-console-over-http.svg?style=flat-square)](https://packagist.org/packages/optimistdigital/laravel-console-over-http)
[![Latest Version on Packagist](https://img.shields.io/packagist/v/outl1ne/laravel-console-over-http.svg?style=flat-square)](https://packagist.org/packages/outl1ne/laravel-console-over-http)
[![Total Downloads](https://img.shields.io/packagist/dt/outl1ne/laravel-console-over-http.svg?style=flat-square)](https://packagist.org/packages/outl1ne/laravel-console-over-http)

Run console commands over HTTP connection for [Laravel](https://laravel.com) applications.

Expand Down Expand Up @@ -40,7 +40,7 @@ ConsoleOverHttp::endpoint()->auth(function () {
Install the package in a Laravel project via Composer:

```
composer require optimistdigital/laravel-console-over-http
composer require outl1ne/laravel-console-over-http
```

## Credits
Expand Down
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "optimistdigital/laravel-console-over-http",
"name": "outl1ne/laravel-console-over-http",
"description": "Run console commands over HTTP connection for Laravel applications.",
"keywords": [
"laravel",
"console",
"optimistdigital"
"outl1ne"
],
"license": "MIT",
"require": {
Expand All @@ -13,16 +13,16 @@
},
"autoload": {
"psr-4": {
"OptimistDigital\\LaravelConsoleOverHttp\\": "src/"
"Outl1ne\\LaravelConsoleOverHttp\\": "src/"
}
},
"extra": {
"laravel": {
"providers": [
"OptimistDigital\\LaravelConsoleOverHttp\\ServiceProvider"
"Outl1ne\\LaravelConsoleOverHttp\\ServiceProvider"
],
"aliases": {
"ConsoleOverHttp": "OptimistDigital\\LaravelConsoleOverHttp\\Facade"
"ConsoleOverHttp": "Outl1ne\\LaravelConsoleOverHttp\\Facade"
}
}
},
Expand Down
2 changes: 1 addition & 1 deletion src/ConsoleOverHttp.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace OptimistDigital\LaravelConsoleOverHttp;
namespace Outl1ne\LaravelConsoleOverHttp;

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

namespace OptimistDigital\LaravelConsoleOverHttp;
namespace Outl1ne\LaravelConsoleOverHttp;

use Illuminate\Routing\Controller as BaseController;
use Illuminate\Http\Request;
Expand Down
6 changes: 3 additions & 3 deletions src/ConsoleOverHttpRouteMethods.php
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<?php

namespace OptimistDigital\LaravelConsoleOverHttp;
namespace Outl1ne\LaravelConsoleOverHttp;

class ConsoleOverHttpRouteMethods
{
public function console()
{
return function ($endpoint = 'console') {
$this->get($endpoint, '\OptimistDigital\LaravelConsoleOverHttp\ConsoleOverHttpController@console')->middleware(Middleware::class)->name('console-over-http-get');
$this->post($endpoint, '\OptimistDigital\LaravelConsoleOverHttp\ConsoleOverHttpController@console')->middleware(Middleware::class)->name('console-over-http-post');
$this->get($endpoint, '\Outl1ne\LaravelConsoleOverHttp\ConsoleOverHttpController@console')->middleware(Middleware::class)->name('console-over-http-get');
$this->post($endpoint, '\Outl1ne\LaravelConsoleOverHttp\ConsoleOverHttpController@console')->middleware(Middleware::class)->name('console-over-http-post');
};
}
}
2 changes: 1 addition & 1 deletion src/Facade.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace OptimistDigital\LaravelConsoleOverHttp;
namespace Outl1ne\LaravelConsoleOverHttp;

class Facade extends \Illuminate\Support\Facades\Facade
{
Expand Down
2 changes: 1 addition & 1 deletion src/Middleware.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace OptimistDigital\LaravelConsoleOverHttp;
namespace Outl1ne\LaravelConsoleOverHttp;

use Closure;
use Illuminate\Http\Request;
Expand Down
2 changes: 1 addition & 1 deletion src/ServiceProvider.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace OptimistDigital\LaravelConsoleOverHttp;
namespace Outl1ne\LaravelConsoleOverHttp;

use Illuminate\Support\Facades\Route;

Expand Down

0 comments on commit 273f930

Please sign in to comment.