-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #94 from VictorAvelar/helpers-classes-for-known-va…
…lues [3.x] Forge defaults as class constants
- Loading branch information
Showing
5 changed files
with
57 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?php | ||
|
||
namespace Laravel\Forge\Resources; | ||
|
||
class GitProviders | ||
{ | ||
const BITBUCKET = 'bitbucket'; | ||
const CUSTOM = 'custom'; | ||
const GITHUB = 'github'; | ||
const GITLAB = 'gitlab'; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?php | ||
|
||
namespace Laravel\Forge\Resources; | ||
|
||
class InstallableServices | ||
{ | ||
const PHP_56 = 'php56'; | ||
const PHP_70 = 'php70'; | ||
const PHP_71 = 'php71'; | ||
const PHP_72 = 'php72'; | ||
const PHP_73 = 'php73'; | ||
const PHP_74 = 'php74'; | ||
|
||
const MYSQL = 'mysql'; | ||
const MYSQL_8 = 'mysql8'; | ||
|
||
const MARIADB = 'mariadb'; | ||
|
||
const POSTGRES = 'postgres'; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?php | ||
|
||
namespace Laravel\Forge\Resources; | ||
|
||
class LoadBalancingStrategies | ||
{ | ||
const ROUND_ROBIN = 'round_robin'; | ||
const LEAST_CONNECTIONS = 'least_conn'; | ||
const IP_HASH = 'ip_hash'; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?php | ||
|
||
namespace Laravel\Forge\Resources; | ||
|
||
class ServerProviders | ||
{ | ||
const AWS = 'aws'; | ||
const CUSTOM = 'custom'; | ||
const DIGITAL_OCEAN = 'ocean2'; | ||
const HETZNER = 'hetzner'; | ||
const LINODE = 'linode'; | ||
const VULTR = 'vultr'; | ||
} |