Skip to content

Commit

Permalink
commit sin gitignore para llevarlo a linux
Browse files Browse the repository at this point in the history
  • Loading branch information
Orlando Sanhchez committed Nov 14, 2021
1 parent 38449b9 commit b65d640
Show file tree
Hide file tree
Showing 6,637 changed files with 826,752 additions and 12 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
80 changes: 80 additions & 0 deletions .discovery/Discovery.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
<?php


namespace TheCodingMachine\Discovery;

/**
* Use this class to access data stored in the discovery.json files at the root of your packages.
*/
class Discovery implements DiscoveryInterface
{
private static $instance;

/**
* @var string[]
*/
private $values;
/**
* @var AssetType[]
*/
private $assetTypes;
/**
* @var array[]
*/
private $assetTypesArray;

/**
* Singleton. Noone creates this object directly.
*/
private function __construct()
{
$this->values = require __DIR__.'/discovery_values.php';
$this->assetTypesArray = require __DIR__.'/discovery_asset_types.php';
}

/**
* Returns the unique instance of this class (singleton).
*
* @return self
*/
public static function getInstance(): self
{
if (!self::$instance) {
self::$instance = new self();
}
return self::$instance;
}

/**
* Returns the asset values of the requested type.
*
* If no assets are found, an empty array is returned.
*
* @param string $assetType
* @return string[]
*/
public function get(string $assetType) : array
{
return $this->values[$assetType] ?? [];
}

/**
* Returns an asset type object for the requested type.
*
* If no assets are found, an AssetType object containing no assets is returned.
*
* @param string $assetType
* @return AssetTypeInterface
*/
public function getAssetType(string $assetType) : AssetTypeInterface
{
if (!isset($this->assetTypes[$assetType])) {
if (isset($this->assetTypesArray[$assetType])) {
$this->assetTypes[$assetType] = ImmutableAssetType::fromArray($assetType, $this->assetTypesArray[$assetType]);
} else {
$this->assetTypes[$assetType] = ImmutableAssetType::fromArray($assetType, []);
}
}
return $this->assetTypes[$assetType];
}
}
122 changes: 122 additions & 0 deletions .discovery/discovery_asset_types.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,122 @@
<?php
return array (
'botman/driver-config' =>
array (
0 =>
array (
'value' => 'stubs/telegram.php',
'package' => 'botman/driver-telegram',
'packageDir' => 'vendor/botman/driver-telegram/',
'priority' => 0.0,
'metadata' =>
array (
),
),
1 =>
array (
'value' => 'stubs/web.php',
'package' => 'botman/driver-web',
'packageDir' => 'vendor/botman/driver-web/',
'priority' => 0.0,
'metadata' =>
array (
),
),
),
'botman/driver' =>
array (
0 =>
array (
'value' => 'BotMan\\Drivers\\Telegram\\TelegramDriver',
'package' => 'botman/driver-telegram',
'packageDir' => 'vendor/botman/driver-telegram/',
'priority' => 0.0,
'metadata' =>
array (
),
),
1 =>
array (
'value' => 'BotMan\\Drivers\\Telegram\\TelegramAudioDriver',
'package' => 'botman/driver-telegram',
'packageDir' => 'vendor/botman/driver-telegram/',
'priority' => 0.0,
'metadata' =>
array (
),
),
2 =>
array (
'value' => 'BotMan\\Drivers\\Telegram\\TelegramFileDriver',
'package' => 'botman/driver-telegram',
'packageDir' => 'vendor/botman/driver-telegram/',
'priority' => 0.0,
'metadata' =>
array (
),
),
3 =>
array (
'value' => 'BotMan\\Drivers\\Telegram\\TelegramLocationDriver',
'package' => 'botman/driver-telegram',
'packageDir' => 'vendor/botman/driver-telegram/',
'priority' => 0.0,
'metadata' =>
array (
),
),
4 =>
array (
'value' => 'BotMan\\Drivers\\Telegram\\TelegramContactDriver',
'package' => 'botman/driver-telegram',
'packageDir' => 'vendor/botman/driver-telegram/',
'priority' => 0.0,
'metadata' =>
array (
),
),
5 =>
array (
'value' => 'BotMan\\Drivers\\Telegram\\TelegramPhotoDriver',
'package' => 'botman/driver-telegram',
'packageDir' => 'vendor/botman/driver-telegram/',
'priority' => 0.0,
'metadata' =>
array (
),
),
6 =>
array (
'value' => 'BotMan\\Drivers\\Telegram\\TelegramVideoDriver',
'package' => 'botman/driver-telegram',
'packageDir' => 'vendor/botman/driver-telegram/',
'priority' => 0.0,
'metadata' =>
array (
),
),
7 =>
array (
'value' => 'BotMan\\Drivers\\Web\\WebDriver',
'package' => 'botman/driver-web',
'packageDir' => 'vendor/botman/driver-web/',
'priority' => 0.0,
'metadata' =>
array (
),
),
),
'botman/commands' =>
array (
0 =>
array (
'value' => 'BotMan\\Drivers\\Telegram\\Console\\Commands\\TelegramRegisterCommand',
'package' => 'botman/driver-telegram',
'packageDir' => 'vendor/botman/driver-telegram/',
'priority' => 0.0,
'metadata' =>
array (
),
),
),
);
23 changes: 23 additions & 0 deletions .discovery/discovery_values.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?php
return array (
'botman/driver-config' =>
array (
0 => 'stubs/telegram.php',
1 => 'stubs/web.php',
),
'botman/driver' =>
array (
0 => 'BotMan\\Drivers\\Telegram\\TelegramDriver',
1 => 'BotMan\\Drivers\\Telegram\\TelegramAudioDriver',
2 => 'BotMan\\Drivers\\Telegram\\TelegramFileDriver',
3 => 'BotMan\\Drivers\\Telegram\\TelegramLocationDriver',
4 => 'BotMan\\Drivers\\Telegram\\TelegramContactDriver',
5 => 'BotMan\\Drivers\\Telegram\\TelegramPhotoDriver',
6 => 'BotMan\\Drivers\\Telegram\\TelegramVideoDriver',
7 => 'BotMan\\Drivers\\Web\\WebDriver',
),
'botman/commands' =>
array (
0 => 'BotMan\\Drivers\\Telegram\\Console\\Commands\\TelegramRegisterCommand',
),
);
42 changes: 42 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
APP_NAME=Laravel
APP_ENV=local
APP_KEY=base64:vfC00ik+87G5YB/rGD3GU5nrVeGHQFZvN3/q213Jp8E=
APP_DEBUG=true
APP_URL=http://localhost

LOG_CHANNEL=stack

DB_CONNECTION=sqlsrv
DB_HOST=149.56.238.94
DB_PORT=1433
DB_DATABASE=AXN000183
DB_USERNAME=profitdigital
DB_PASSWORD=634949Tsc..!
DB_PREFIX=

BROADCAST_DRIVER=log
CACHE_DRIVER=file
SESSION_DRIVER=file
SESSION_LIFETIME=120
QUEUE_DRIVER=sync

REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379

MAIL_DRIVER=smtp
MAIL_HOST=smtp.mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null

PUSHER_APP_ID=
PUSHER_APP_KEY=
PUSHER_APP_SECRET=
PUSHER_APP_CLUSTER=mt1

MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}"
MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"

TELEGRAM_TOKEN=2128883931:AAE9fu_BPhXtue0slF7Twrt0KkHDKG9DAHw
12 changes: 0 additions & 12 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,12 +0,0 @@
/node_modules
/public/hot
/public/storage
/storage/*.key
/vendor
/.idea
/.vagrant
/.discovery
Homestead.json
Homestead.yaml
npm-debug.log
.env
7 changes: 7 additions & 0 deletions vendor/autoload.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?php

// autoload.php @generated by Composer

require_once __DIR__ . '/composer/autoload_real.php';

return ComposerAutoloaderInitbc019ea94a55e228a1d875f80043545e::getLoader();
7 changes: 7 additions & 0 deletions vendor/beyondcode/laravel-dump-server/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Changelog

All notable changes to `laravel-dump-server` will be documented in this file

## 1.0.0 - 2018-07-09

- initial release
55 changes: 55 additions & 0 deletions vendor/beyondcode/laravel-dump-server/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# Contributing

Contributions are **welcome** and will be fully **credited**.

Please read and understand the contribution guide before creating an issue or pull request.

## Etiquette

This project is open source, and as such, the maintainers give their free time to build and maintain the source code
held within. They make the code freely available in the hope that it will be of use to other developers. It would be
extremely unfair for them to suffer abuse or anger for their hard work.

Please be considerate towards maintainers when raising issues or presenting pull requests. Let's show the
world that developers are civilized and selfless people.

It's the duty of the maintainer to ensure that all submissions to the project are of sufficient
quality to benefit the project. Many developers have different skillsets, strengths, and weaknesses. Respect the maintainer's decision, and do not be upset or abusive if your submission is not used.

## Viability

When requesting or submitting new features, first consider whether it might be useful to others. Open
source projects are used by many developers, who may have entirely different needs to your own. Think about
whether or not your feature is likely to be used by other users of the project.

## Procedure

Before filing an issue:

- Attempt to replicate the problem, to ensure that it wasn't a coincidental incident.
- Check to make sure your feature suggestion isn't already present within the project.
- Check the pull requests tab to ensure that the bug doesn't have a fix in progress.
- Check the pull requests tab to ensure that the feature isn't already in progress.

Before submitting a pull request:

- Check the codebase to ensure that your feature doesn't already exist.
- Check the pull requests to ensure that another person hasn't already submitted the feature or fix.

## Requirements

If the project maintainer has any additional requirements, you will find them listed here.

- **[PSR-2 Coding Standard](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md)** - The easiest way to apply the conventions is to install [PHP Code Sniffer](https://pear.php.net/package/PHP_CodeSniffer).

- **Add tests!** - Your patch won't be accepted if it doesn't have tests.

- **Document any change in behaviour** - Make sure the `README.md` and any other relevant documentation are kept up-to-date.

- **Consider our release cycle** - We try to follow [SemVer v2.0.0](https://semver.org/). Randomly breaking public APIs is not an option.

- **One pull request per feature** - If you want to do more than one thing, send multiple pull requests.

- **Send coherent history** - Make sure each individual commit in your pull request is meaningful. If you had to make multiple intermediate commits while developing, please [squash them](https://www.git-scm.com/book/en/v2/Git-Tools-Rewriting-History#Changing-Multiple-Commit-Messages) before submitting.

**Happy coding**!
21 changes: 21 additions & 0 deletions vendor/beyondcode/laravel-dump-server/LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
The MIT License (MIT)

Copyright (c) Beyond Code GmbH <[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
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
Loading

0 comments on commit b65d640

Please sign in to comment.