Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
NiclasvanEyk committed Jun 26, 2021
0 parents commit 901fbea
Show file tree
Hide file tree
Showing 131 changed files with 32,552 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
indent_style = space
indent_size = 4
trim_trailing_whitespace = true

[*.md]
trim_trailing_whitespace = false

[*.{yml,yaml}]
indent_size = 2
49 changes: 49 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
APP_NAME="Initializr for Laravel"
APP_ENV=local
APP_KEY=
APP_DEBUG=true
APP_URL=http://localhost

LOG_CHANNEL=stack
LOG_LEVEL=debug

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=initializer
DB_USERNAME=root
DB_PASSWORD=

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

MEMCACHED_HOST=127.0.0.1

REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379

MAIL_MAILER=smtp
MAIL_HOST=mailhog
MAIL_PORT=1025
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null
MAIL_FROM_ADDRESS=null
MAIL_FROM_NAME="${APP_NAME}"

AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_DEFAULT_REGION=us-east-1
AWS_BUCKET=

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}"
5 changes: 5 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
* text=auto
*.css linguist-vendored
*.scss linguist-vendored
*.js linguist-vendored
CHANGELOG.md export-ignore
13 changes: 13 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
/node_modules
/public/hot
/public/storage
/storage/*.key
/vendor
.env
.env.backup
.phpunit.result.cache
docker-compose.override.yml
Homestead.json
Homestead.yaml
npm-debug.log
yarn-error.log
13 changes: 13 additions & 0 deletions .styleci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
php:
preset: laravel
disabled:
- no_unused_imports
finder:
not-name:
- index.php
- server.php
js:
finder:
not-name:
- webpack.mix.js
css: true
62 changes: 62 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
<p align="center"><a href="https://laravel.com" target="_blank"><img src="https://raw.githubusercontent.com/laravel/art/master/logo-lockup/5%20SVG/2%20CMYK/1%20Full%20Color/laravel-logolockup-cmyk-red.svg" width="400"></a></p>

<p align="center">
<a href="https://travis-ci.org/laravel/framework"><img src="https://travis-ci.org/laravel/framework.svg" alt="Build Status"></a>
<a href="https://packagist.org/packages/laravel/framework"><img src="https://img.shields.io/packagist/dt/laravel/framework" alt="Total Downloads"></a>
<a href="https://packagist.org/packages/laravel/framework"><img src="https://img.shields.io/packagist/v/laravel/framework" alt="Latest Stable Version"></a>
<a href="https://packagist.org/packages/laravel/framework"><img src="https://img.shields.io/packagist/l/laravel/framework" alt="License"></a>
</p>

## About Laravel

Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel takes the pain out of development by easing common tasks used in many web projects, such as:

- [Simple, fast routing engine](https://laravel.com/docs/routing).
- [Powerful dependency injection container](https://laravel.com/docs/container).
- Multiple back-ends for [session](https://laravel.com/docs/session) and [cache](https://laravel.com/docs/cache) storage.
- Expressive, intuitive [database ORM](https://laravel.com/docs/eloquent).
- Database agnostic [schema migrations](https://laravel.com/docs/migrations).
- [Robust background job processing](https://laravel.com/docs/queues).
- [Real-time event broadcasting](https://laravel.com/docs/broadcasting).

Laravel is accessible, powerful, and provides tools required for large, robust applications.

## Learning Laravel

Laravel has the most extensive and thorough [documentation](https://laravel.com/docs) and video tutorial library of all modern web application frameworks, making it a breeze to get started with the framework.

If you don't feel like reading, [Laracasts](https://laracasts.com) can help. Laracasts contains over 1500 video tutorials on a range of topics including Laravel, modern PHP, unit testing, and JavaScript. Boost your skills by digging into our comprehensive video library.

## Laravel Sponsors

We would like to extend our thanks to the following sponsors for funding Laravel development. If you are interested in becoming a sponsor, please visit the Laravel [Patreon page](https://patreon.com/taylorotwell).

### Premium Partners

- **[Vehikl](https://vehikl.com/)**
- **[Tighten Co.](https://tighten.co)**
- **[Kirschbaum Development Group](https://kirschbaumdevelopment.com)**
- **[64 Robots](https://64robots.com)**
- **[Cubet Techno Labs](https://cubettech.com)**
- **[Cyber-Duck](https://cyber-duck.co.uk)**
- **[Many](https://www.many.co.uk)**
- **[Webdock, Fast VPS Hosting](https://www.webdock.io/en)**
- **[DevSquad](https://devsquad.com)**
- **[Curotec](https://www.curotec.com/services/technologies/laravel/)**
- **[OP.GG](https://op.gg)**

## Contributing

Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the [Laravel documentation](https://laravel.com/docs/contributions).

## Code of Conduct

In order to ensure that the Laravel community is welcoming to all, please review and abide by the [Code of Conduct](https://laravel.com/docs/contributions#code-of-conduct).

## Security Vulnerabilities

If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell via [taylor@laravel.com](mailto:taylor@laravel.com). All security vulnerabilities will be promptly addressed.

## License

The Laravel framework is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).
41 changes: 41 additions & 0 deletions app/Console/Kernel.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
<?php

namespace App\Console;

use Illuminate\Console\Scheduling\Schedule;
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;

class Kernel extends ConsoleKernel
{
/**
* The Artisan commands provided by your application.
*
* @var array
*/
protected $commands = [
//
];

/**
* Define the application's command schedule.
*
* @param \Illuminate\Console\Scheduling\Schedule $schedule
* @return void
*/
protected function schedule(Schedule $schedule)
{
// $schedule->command('inspire')->hourly();
}

/**
* Register the commands for the application.
*
* @return void
*/
protected function commands()
{
$this->load(__DIR__.'/Commands');

require base_path('routes/console.php');
}
}
29 changes: 29 additions & 0 deletions app/Dependencies/ComposerDependency.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<?php


namespace App\Dependencies;


abstract class ComposerDependency
{
/**
* A unique identifier for the package.
*/
abstract function id(): string;

/**
* The human readable name for the package.
*/
abstract function name(): string;

/**
* An optional description of what the package does or what it can be
* useful for.
*/
abstract function description(): string;

/**
* An optional link to the documentation or the website of the package.
*/
abstract public function href(): ?string;
}
10 changes: 10 additions & 0 deletions app/Dependencies/ComposerDependencyBundle.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?php


namespace App\Dependencies;


class ComposerDependencyBundle
{

}
20 changes: 20 additions & 0 deletions app/Dependencies/Laravel/Breeze.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?php


namespace App\Dependencies\Laravel;


class Breeze extends FirstPartyPackage
{
function description(): string
{
return 'A minimal, simple implementation of all of Laravel\'s '
. 'authentication features, including login, registration, '
. 'password reset, email verification, and password confirmation.';
}

public function href(): string
{
return 'https://laravel.com/docs/starter-kits#laravel-breeze';
}
}
27 changes: 27 additions & 0 deletions app/Dependencies/Laravel/CashierPaddle.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?php

namespace App\Dependencies\Laravel;

class CashierPaddle extends FirstPartyPackage
{
function id(): string
{
return 'cashier-paddle';
}

function name(): string
{
return 'Cashier (Paddle)';
}

function description(): string
{
return 'An expressive, fluent interface to Paddle\'s subscription '
. 'billing services.';
}

public function href(): string
{
return self::laravelDocsHref('cashier-paddle');
}
}
27 changes: 27 additions & 0 deletions app/Dependencies/Laravel/CashierStripe.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?php

namespace App\Dependencies\Laravel;

class CashierStripe extends FirstPartyPackage
{
function id(): string
{
return 'cashier-stripe';
}

function name(): string
{
return 'Cashier (Stripe)';
}

function description(): string
{
return 'An expressive, fluent interface to Stripe\'s subscription '
. 'billing services.';
}

public function href(): string
{
return self::laravelDocsHref('cashier-stripe');
}
}
11 changes: 11 additions & 0 deletions app/Dependencies/Laravel/Dusk.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?php

namespace App\Dependencies\Laravel;

class Dusk extends FirstPartyPackage
{
function description(): string
{
return 'An expressive, easy-to-use browser automation and testing API.';
}
}
12 changes: 12 additions & 0 deletions app/Dependencies/Laravel/Envoy.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?php

namespace App\Dependencies\Laravel;

class Envoy extends FirstPartyPackage
{
function description(): string
{
return 'A tool for executing common tasks you run on your remote '
. 'servers for deployment, Artisan commands, and more.';
}
}
30 changes: 30 additions & 0 deletions app/Dependencies/Laravel/FirstPartyPackage.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<?php

namespace App\Dependencies\Laravel;

use App\Dependencies\ComposerDependency;
use Illuminate\Support\Str;

abstract class FirstPartyPackage extends ComposerDependency
{
function id(): string
{
$packageName = Str::lower(class_basename(static::class));

return "laravel/$packageName";
}

function name(): string
{
return Str::ucfirst(Str::replaceFirst('laravel/', '', $this->id()));
}

public function href(): string
{
return self::laravelDocsHref($this->id());
}

static function laravelDocsHref(string $path): string {
return "https://laravel.com/docs/$path";
}
}
14 changes: 14 additions & 0 deletions app/Dependencies/Laravel/Fortify.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?php

namespace App\Dependencies\Laravel;

class Fortify extends FirstPartyPackage
{
function description(): string
{
return 'A backend implementation for Laravel\'s authentication '
. 'features. Very useful if you want to build your own custom '
. 'user interface for authentication, without reimplementing '
. 'all the backend functionality.';
}
}

0 comments on commit 901fbea

Please sign in to comment.