fixing conflicts

This commit is contained in:
Taylor Otwell 2023-11-06 17:31:18 -06:00
commit de6d4f58cc
7 changed files with 23 additions and 18 deletions

View File

@ -19,13 +19,13 @@ jobs:
strategy: strategy:
fail-fast: true fail-fast: true
matrix: matrix:
php: [8.2] php: [8.2, 8.3]
name: PHP ${{ matrix.php }} name: PHP ${{ matrix.php }}
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v3 uses: actions/checkout@v4
- name: Setup PHP - name: Setup PHP
uses: shivammathur/setup-php@v2 uses: shivammathur/setup-php@v2

View File

@ -31,23 +31,23 @@ ## Learning Laravel
## Laravel Sponsors ## 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). 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 Partners program](https://partners.laravel.com).
### Premium Partners ### Premium Partners
- **[Vehikl](https://vehikl.com/)** - **[Vehikl](https://vehikl.com/)**
- **[Tighten Co.](https://tighten.co)** - **[Tighten Co.](https://tighten.co)**
- **[WebReinvent](https://webreinvent.com/)**
- **[Kirschbaum Development Group](https://kirschbaumdevelopment.com)** - **[Kirschbaum Development Group](https://kirschbaumdevelopment.com)**
- **[64 Robots](https://64robots.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/)** - **[Curotec](https://www.curotec.com/services/technologies/laravel/)**
- **[Cyber-Duck](https://cyber-duck.co.uk)**
- **[DevSquad](https://devsquad.com/hire-laravel-developers)**
- **[Jump24](https://jump24.co.uk)**
- **[Redberry](https://redberry.international/laravel/)**
- **[Active Logic](https://activelogic.com)**
- **[byte5](https://byte5.de)**
- **[OP.GG](https://op.gg)** - **[OP.GG](https://op.gg)**
- **[WebReinvent](https://webreinvent.com/?utm_source=laravel&utm_medium=github&utm_campaign=patreon-sponsors)**
- **[Lendio](https://lendio.com)**
## Contributing ## Contributing

View File

@ -8,8 +8,8 @@
"php": "^8.2", "php": "^8.2",
"guzzlehttp/guzzle": "^7.2", "guzzlehttp/guzzle": "^7.2",
"laravel/framework": "^11.0", "laravel/framework": "^11.0",
"laravel/tinker": "dev-develop", "laravel/sanctum": "^4.0",
"laravel/sanctum": "^4.0" "laravel/tinker": "dev-develop"
}, },
"require-dev": { "require-dev": {
"fakerphp/faker": "^1.9.1", "fakerphp/faker": "^1.9.1",

View File

@ -141,7 +141,7 @@
'maintenance' => [ 'maintenance' => [
'driver' => 'file', 'driver' => 'file',
// 'store' => 'redis', // 'store' => 'redis',
], ],
/* /*

View File

@ -29,7 +29,8 @@
*/ */
'bcrypt' => [ 'bcrypt' => [
'rounds' => env('BCRYPT_ROUNDS', 10), 'rounds' => env('BCRYPT_ROUNDS', 12),
'verify' => true,
], ],
/* /*
@ -47,6 +48,7 @@
'memory' => 65536, 'memory' => 65536,
'threads' => 1, 'threads' => 1,
'time' => 4, 'time' => 4,
'verify' => true,
], ],
]; ];

View File

@ -53,9 +53,9 @@
| Token Prefix | Token Prefix
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| |
| Sanctum can prefix new tokens in order to take advantage of various | Sanctum can prefix new tokens in order to take advantage of numerous
| security scanning initiaives maintained by open source platforms | security scanning initiatives maintained by open source platforms
| that alert developers if they commit tokens into repositories. | that notify developers if they commit tokens into repositories.
| |
| See: https://docs.github.com/en/code-security/secret-scanning/about-secret-scanning | See: https://docs.github.com/en/code-security/secret-scanning/about-secret-scanning
| |

View File

@ -3,6 +3,7 @@
namespace Database\Factories; namespace Database\Factories;
use Illuminate\Database\Eloquent\Factories\Factory; use Illuminate\Database\Eloquent\Factories\Factory;
use Illuminate\Support\Facades\Hash;
use Illuminate\Support\Str; use Illuminate\Support\Str;
/** /**
@ -10,6 +11,8 @@
*/ */
class UserFactory extends Factory class UserFactory extends Factory
{ {
protected static ?string $password;
/** /**
* Define the model's default state. * Define the model's default state.
* *
@ -21,7 +24,7 @@ public function definition(): array
'name' => fake()->name(), 'name' => fake()->name(),
'email' => fake()->unique()->safeEmail(), 'email' => fake()->unique()->safeEmail(),
'email_verified_at' => now(), 'email_verified_at' => now(),
'password' => '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', // password 'password' => static::$password ??= Hash::make('password'),
'remember_token' => Str::random(10), 'remember_token' => Str::random(10),
]; ];
} }