File: README.md
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.
- Powerful dependency injection container.
- Multiple back-ends for session and cache storage.
- Expressive, intuitive database ORM.
- Database agnostic schema migrations.
- Robust background job processing.
- Real-time event broadcasting.
Laravel is accessible, powerful, and provides tools required for large, robust applications.
Learning Laravel
Laravel has the most extensive and thorough documentation and video tutorial library of all modern web application frameworks, making it a breeze to get started with the framework.
In addition, Laracasts contains thousands of 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.
You can also watch bite-sized lessons with real-world projects on Laravel Learn, where you will be guided through building a Laravel application from scratch while learning PHP fundamentals.
Agentic Development
Laravel's predictable structure and conventions make it ideal for AI coding agents like Claude Code, Cursor, and GitHub Copilot. Install Laravel Boost to supercharge your AI workflow:
composer require laravel/boost --dev
php artisan boost:installBoost provides your agent 15+ tools and skills that help agents build Laravel applications while following best practices.
Contributing
Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the Laravel documentation.
Code of Conduct
In order to ensure that the Laravel community is welcoming to all, please review and abide by the Code of Conduct.
Security Vulnerabilities
If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell via [email protected]. All security vulnerabilities will be promptly addressed.
License
The Laravel framework is open-sourced software licensed under the MIT license.
File: AGENTS.md
This repository contains a Laravel application. Complete the following setup before working on the user's request.
Prerequisites
Verify that PHP and Composer are available:
php -v
composer -VIf either command is unavailable, detect the user's operating system and install the prerequisites with the appropriate command:
macOS:
/bin/bash -c "$(curl -fsSL https://php.new/install/mac/8.5)"Windows PowerShell:
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://php.new/install/windows/8.5'))Linux:
/bin/bash -c "$(curl -fsSL https://php.new/install/linux/8.5)"After installation, ask the user to restart their terminal. If the agent needs the restarted shell to continue, ask the user to reopen their terminal and rerun their original prompt.
Agent Setup
Install Laravel Boost from the application root before making application changes:
composer require laravel/boost --dev
php artisan boost:installBoost replaces these bootstrap instructions with guidelines tailored to the application. After installation, read AGENTS.md again and continue with the user's original request using the generated guidelines.
File: CHANGELOG.md
Release Notes
[Unreleased](https://github.com/laravel/laravel/compare/v13.11.0...13.x)
[v13.11.0](https://github.com/laravel/laravel/compare/v13.10.1...v13.11.0) - 2026-09-30
- Use a different default lock directory for the file cache driver by @CasEbb in https://github.com/laravel/laravel/pull/6871
[v13.10.1](https://github.com/laravel/laravel/compare/v13.10.0...v13.10.1) - 2026-08-25
Full Changelog: https://github.com/laravel/laravel/compare/v13.10.0...v13.10.1
[v13.10.0](https://github.com/laravel/laravel/compare/v13.9.0...v13.10.0) - 2026-08-17
- Add "monthly" to the available log drivers comment by @csemazharul in https://github.com/laravel/laravel/pull/6855
- Ignore temporary LSP script files in
storage/frameworkby @imKenjo18 in https://github.com/laravel/laravel/pull/6856
[v13.9.0](https://github.com/laravel/laravel/compare/v13.8.0...v13.9.0) - 2026-08-12
- GitHub Actions hardening by @nunomaduro in https://github.com/laravel/laravel/pull/6829
- Bump actions/checkout from 6.0.2 to 6.0.3 in the github-actions group by @dependabot[bot] in https://github.com/laravel/laravel/pull/6830
- Pin pull requests and issues workflows to least-privilege reusable workflows by @nunomaduro in https://github.com/laravel/laravel/pull/6831
- Pin pull requests and issues workflows to latest laravel/.github by @nunomaduro in https://github.com/laravel/laravel/pull/6832
- Add Dependabot cooldown of 5 days by @nunomaduro in https://github.com/laravel/laravel/pull/6833
- Enable Dependabot auto-merge by @nunomaduro in https://github.com/laravel/laravel/pull/6834
- Restore expectsJson fallback when rendering JSON exceptions by @jasonvarga in https://github.com/laravel/laravel/pull/6837
- Bump shivammathur/setup-php from 2.37.1 to 2.37.2 in the github-actions group by @dependabot[bot] in https://github.com/laravel/laravel/pull/6838
- Add 'array' as a supported maintenance mode driver doc block by @jackbayliss in https://github.com/laravel/laravel/pull/6840
- Bump actions/checkout from 6.0.3 to 7.0.0 in the github-actions group by @dependabot[bot] in https://github.com/laravel/laravel/pull/6841
- Bump Concurrently to v10 by @u01jmg3 in https://github.com/laravel/laravel/pull/6845
- Update APP_URL to use port 8000 by @dipesh79 in https://github.com/laravel/laravel/pull/6846
- Add monthly log driver to
config/logging.phpby @SjorsO in https://github.com/laravel/laravel/pull/6847 - Bump actions/checkout from 7.0.0 to 7.0.1 in the github-actions group by @dependabot[bot] in https://github.com/laravel/laravel/pull/6848
- Use new
artisan devcommand incomposer devscript by @WendellAdriel in https://github.com/laravel/laravel/pull/6849 - Add
@laravel/multiplexby @joetannenbaum in https://github.com/laravel/laravel/pull/6854
[v13.8.0](https://github.com/laravel/laravel/compare/v13.7.0...v13.8.0) - 2026-05-25
- [13.x] remove Tailwind
@sourcecalls that are already covered by default by @browner12 in https://github.com/laravel/laravel/pull/6823 - [13.x] Render JSON exceptions for API routes by default by @LucasCavalheri in https://github.com/laravel/laravel/pull/6824
[v13.7.0](https://github.com/laravel/laravel/compare/v13.6.0...v13.7.0) - 2026-05-14
Full Changelog: https://github.com/laravel/laravel/compare/v13.6.0...v13.7.0
[v13.6.0](https://github.com/laravel/laravel/compare/v13.5.0...v13.6.0) - 2026-05-11
- Remove Pdo/Mysql const workaround by @jnoordsij in https://github.com/laravel/laravel/pull/6810
[v13.5.0](https://github.com/laravel/laravel/compare/v13.4.0...v13.5.0) - 2026-04-30
- Use the Vite font plugin for application fonts by @WendellAdriel in https://github.com/laravel/laravel/pull/6806
[v13.4.0](https://github.com/laravel/laravel/compare/v13.3.0...v13.4.0) - 2026-04-28
- Add @no_additional_args to composer test script config clear by @jnoordsij in https://github.com/laravel/laravel/pull/6799
- [13.x] Adds pao by default by @nunomaduro in https://github.com/laravel/laravel/pull/6802
[v13.3.0](https://github.com/laravel/laravel/compare/v13.2.0...v13.3.0) - 2026-04-16
- [13.x] enable npm audit by default by @leo95batista in https://github.com/laravel/laravel/pull/6788
- Update changelog link to Laravel framework repo by @Rattone in https://github.com/laravel/laravel/pull/6790
- [13x] Add .codex to .gitignore by @amdad121 in https://github.com/laravel/laravel/pull/6793
[v13.2.0](https://github.com/laravel/laravel/compare/v13.1.2...v13.2.0) - 2026-04-09
- Remove axios and enable ignore-scripts by @WendellAdriel in https://github.com/laravel/laravel/pull/6778
- Add /.cursor/ to .gitignore by @workwithbinu in https://github.com/laravel/laravel/pull/6782
- Remove '.fleet' from .gitignore by @dominiq007 in https://github.com/laravel/laravel/pull/6783
- Support all compose file naming conventions in editorconfig by @mmachatschek in https://github.com/laravel/laravel/pull/6786
[v13.1.2](https://github.com/laravel/laravel/compare/v13.1.1...v13.1.2) - 2026-03-31
- Prevents installed package from executing malicious code via
postinstallby @crynobone in https://github.com/laravel/laravel/pull/6777 - Add missing comma in axios by @aziyan99 in https://github.com/laravel/laravel/pull/6779
[v13.1.1](https://github.com/laravel/laravel/compare/v13.1.0...v13.1.1) - 2026-03-31
- Update .gitignore by @Cegem-360 in https://github.com/laravel/laravel/pull/6774
- [security] pin axios version by @NickSdot in https://github.com/laravel/laravel/pull/6776
[v13.1.0](https://github.com/laravel/laravel/compare/v12.12.2...v13.1.0) - 2026-03-18
- Change back minimum-stability to stable by @jnoordsij in https://github.com/laravel/laravel/pull/6766
- Vite 8 support
[v12.12.2](https://github.com/laravel/laravel/compare/v12.12.1...v12.12.2) - 2026-03-14
- [12.x] Add
APP_NAMEfallback in Slack log channel username by @hamedelasma in https://github.com/laravel/laravel/pull/6762
[v12.12.1](https://github.com/laravel/laravel/compare/v12.12.0...v12.12.1) - 2026-03-10
- [12.x] Makes imports consistent by @nunomaduro in https://github.com/laravel/laravel/pull/6760
[v12.12.0](https://github.com/laravel/laravel/compare/v12.11.2...v12.12.0) - 2026-03-09
- Update phpunit version to ^11.5.50 to address CVE by @PerryvanderMeer in https://github.com/laravel/laravel/pull/6746
- [12.x] Add
APP_NAMEfallback in mail config by @apoorvdarshan in https://github.com/laravel/laravel/pull/6755 - [12.x] Neutralize DB_URL in default phpunit.xml by @Husseinadq in https://github.com/laravel/laravel/pull/6761
[v12.11.2](https://github.com/laravel/laravel/compare/v12.11.1...v12.11.2) - 2026-01-19
- [12.x] Update composer dev script to ensure no timeout by @jackbayliss in https://github.com/laravel/laravel/pull/6735
- [12.x] Update jobs/cache migrations by @jackbayliss in https://github.com/laravel/laravel/pull/6736
- [12.x] Remove failed jobs indexes by @jackbayliss in https://github.com/laravel/laravel/pull/6739
- [12.x] Add
APP_URLfallback in filesystems config by @KentarouTakeda in https://github.com/laravel/laravel/pull/6742 - chore: Update outdated GitHub Actions version by @pgoslatara in https://github.com/laravel/laravel/pull/6743
[v12.11.1](https://github.com/laravel/laravel/compare/v12.11.0...v12.11.1) - 2025-12-23
- Use environment variable for
DB_SSLMODE- Postgres by @robsontenorio in https://github.com/laravel/laravel/pull/6727 - fix: ensure APP_URL does not have trailing slash in filesystem by @msamgan in https://github.com/laravel/laravel/pull/6728
[v12.11.0](https://github.com/laravel/laravel/compare/v12.10.1...v12.11.0) - 2025-11-25
- fix: cookies are not available for subdomains by default by @joostdebruijn in https://github.com/laravel/laravel/pull/6705
- Fix PHP 8.5 PDO Driver Specific Constant Deprecation by @RyanSchaefer in https://github.com/laravel/laravel/pull/6710
- Ignore Laravel compiled views for Vite by @QistiAmal1212 in https://github.com/laravel/laravel/pull/6714
[v12.10.1](https://github.com/laravel/laravel/compare/v12.10.0...v12.10.1) - 2025-11-06
- Update schema URL in package.json by @robinmiau in https://github.com/laravel/laravel/pull/6701
[v12.10.0](https://github.com/laravel/laravel/compare/v12.9.1...v12.10.0) - 2025-11-04
- Add background driver by @barryvdh in https://github.com/laravel/laravel/pull/6699
[v12.9.1](https://github.com/laravel/laravel/compare/v12.9.0...v12.9.1) - 2025-10-23
- [12.x] Replace Bootcamp with Laravel Learn by @AhmedAlaa4611 in https://github.com/laravel/laravel/pull/6692
- [12.x] Comment out CLI workers for fresh applications by @timacdonald in https://github.com/laravel/laravel/pull/6693
[v12.9.0](https://github.com/laravel/laravel/compare/v12.8.0...v12.9.0) - 2025-10-21
Full Changelog: https://github.com/laravel/laravel/compare/v12.8.0...v12.9.0
[v12.8.0](https://github.com/laravel/laravel/compare/v12.7.1...v12.8.0) - 2025-10-20
- [12.x] Makes test suite using broadcast's
nulldriver by @nunomaduro in https://github.com/laravel/laravel/pull/6691
[v12.7.1](https://github.com/laravel/laravel/compare/v12.7.0...v12.7.1) - 2025-10-15
- Added
failoverdriver to thequeueconfig comment. by @sajjadhossainshohag in https://github.com/laravel/laravel/pull/6688
[v12.7.0](https://github.com/laravel/laravel/compare/v12.6.0...v12.7.0) - 2025-10-14
Full Changelog: https://github.com/laravel/laravel/compare/v12.6.0...v12.7.0
[v12.6.0](https://github.com/laravel/laravel/compare/v12.5.0...v12.6.0) - 2025-10-02
- Fix setup script by @goldmont in https://github.com/laravel/laravel/pull/6682
[v12.5.0](https://github.com/laravel/laravel/compare/v12.4.0...v12.5.0) - 2025-09-30
- [12.x] Fix type casting for environment variables in config files by @AhmedAlaa4611 in https://github.com/laravel/laravel/pull/6670
- Fix CVEs affecting vite by @faissaloux in https://github.com/laravel/laravel/pull/6672
- Update .editorconfig to target compose.yaml by @fredikaputra in https://github.com/laravel/laravel/pull/6679
- Add pre-package-uninstall script to composer.json by @cosmastech in https://github.com/laravel/laravel/pull/6681
[v12.4.0](https://github.com/laravel/laravel/compare/v12.3.1...v12.4.0) - 2025-08-29
- [12.x] Add default Redis retry configuration by @mateusjatenee in https://github.com/laravel/laravel/pull/6666
[v12.3.1](https://github.com/laravel/laravel/compare/v12.3.0...v12.3.1) - 2025-08-21
- [12.x] Bump Pint version by @AhmedAlaa4611 in https://github.com/laravel/laravel/pull/6653
- [12.x] Making sure all related processed are closed when terminating the currently command by @AhmedAlaa4611 in https://github.com/laravel/laravel/pull/6654
- [12.x] Use application name from configuration by @AhmedAlaa4611 in https://github.com/laravel/laravel/pull/6655
- Bring back postAutoloadDump script by @jasonvarga in https://github.com/laravel/laravel/pull/6662
[v12.3.0](https://github.com/laravel/laravel/compare/v12.2.0...v12.3.0) - 2025-08-03
- Fix Critical Security Vulnerability in form-data Dependency by @izzygld in https://github.com/laravel/laravel/pull/6645
- Revert "fix" by @RobertBoes in https://github.com/laravel/laravel/pull/6646
- Change composer post-autoload-dump script to Artisan command by @lmjhs in https://github.com/laravel/laravel/pull/6647
[v12.2.0](https://github.com/laravel/laravel/compare/v12.1.0...v12.2.0) - 2025-07-11
- Add Vite 7 support by @timacdonald in https://github.com/laravel/laravel/pull/6639
[v12.1.0](https://github.com/laravel/laravel/compare/v12.0.11...v12.1.0) - 2025-07-03
- [12.x] Disable nightwatch in testing by @laserhybiz in https://github.com/laravel/laravel/pull/6632
- [12.x] Reorder environment variables in phpunit.xml for logical grouping by @AhmedAlaa4611 in https://github.com/laravel/laravel/pull/6634
- Change to hyphenate prefixes and cookie names by @u01jmg3 in https://github.com/laravel/laravel/pull/6636
- [12.x] Fix type casting for environment variables in config files by @AhmedAlaa4611 in https://github.com/laravel/laravel/pull/6637
[v12.0.11](https://github.com/laravel/laravel/compare/v12.0.10...v12.0.11) - 2025-06-10
Full Changelog: https://github.com/laravel/laravel/compare/v12.0.10...v12.0.11
[v12.0.10](https://github.com/laravel/laravel/compare/v12.0.9...v12.0.10) - 2025-06-09
- fix alphabetical order by @Khuthaily in https://github.com/laravel/laravel/pull/6627
- [12.x] Reduce redundancy and keeps the .gitignore file cleaner by @AhmedAlaa4611 in https://github.com/laravel/laravel/pull/6629
- [12.x] Fix: Add void return type to satisfy Rector analysis by @Aluisio-Pires in https://github.com/laravel/laravel/pull/6628
[v12.0.9](https://github.com/laravel/laravel/compare/v12.0.8...v12.0.9) - 2025-05-26
- [12.x] Remove apc by @AhmedAlaa4611 in https://github.com/laravel/laravel/pull/6611
- [12.x] Add JSON Schema to package.json by @martinbean in https://github.com/laravel/laravel/pull/6613
- Minor language update by @woganmay in https://github.com/laravel/laravel/pull/6615
- Enhance .gitignore to exclude common OS and log files by @mohammadRezaei1380 in https://github.com/laravel/laravel/pull/6619
[v12.0.8](https://github.com/laravel/laravel/compare/v12.0.7...v12.0.8) - 2025-05-12
- [12.x] Clean up URL formatting in README by @AhmedAlaa4611 in https://github.com/laravel/laravel/pull/6601
[v12.0.7](https://github.com/laravel/laravel/compare/v12.0.6...v12.0.7) - 2025-04-15
- Add
composer run testcommand by @crynobone in https://github.com/laravel/laravel/pull/6598 - Partner Directory Changes in ReadME by @joshcirre in https://github.com/laravel/laravel/pull/6599
[v12.0.6](https://github.com/laravel/laravel/compare/v12.0.5...v12.0.6) - 2025-04-08
Full Changelog: https://github.com/laravel/laravel/compare/v12.0.5...v12.0.6
[v12.0.5](https://github.com/laravel/laravel/compare/v12.0.4...v12.0.5) - 2025-04-02
- [12.x] Update
config/mail.phpto match the latest core configuration by @AhmedAlaa4611 in https://github.com/laravel/laravel/pull/6594
[v12.0.4](https://github.com/laravel/laravel/compare/v12.0.3...v12.0.4) - 2025-03-31
- Bump vite from 6.0.11 to 6.2.3 - Vulnerability patch by @abdel-aouby in https://github.com/laravel/laravel/pull/6586
- Bump vite from 6.2.3 to 6.2.4 by @thinkverse in https://github.com/laravel/laravel/pull/6590
[v12.0.3](https://github.com/laravel/laravel/compare/v12.0.2...v12.0.3) - 2025-03-17
- Remove reverted change from CHANGELOG.md by @AJenbo in https://github.com/laravel/laravel/pull/6565
- Improves clarity in app.css file by @AhmedAlaa4611 in https://github.com/laravel/laravel/pull/6569
- [12.x] Refactor: Structural improvement for clarity by @AhmedAlaa4611 in https://github.com/laravel/laravel/pull/6574
- Bump axios from 1.7.9 to 1.8.2 - Vulnerability patch by @abdel-aouby in https://github.com/laravel/laravel/pull/6572
- [12.x] Remove Unnecessarily @source by @AhmedAlaa4611 in https://github.com/laravel/laravel/pull/6584
[v12.0.2](https://github.com/laravel/laravel/compare/v12.0.1...v12.0.2) - 2025-03-04
- Make the github test action run out of the box independent of the choice of testing framework by @ndeblauw in https://github.com/laravel/laravel/pull/6555
[v12.0.1](https://github.com/laravel/laravel/compare/v12.0.0...v12.0.1) - 2025-02-24
- [12.x] prefer stable stability by @pataar in https://github.com/laravel/laravel/pull/6548
[v12.0.0 (2025-??-??)](https://github.com/laravel/laravel/compare/v11.0.2...v12.0.0)
Laravel 12 includes a variety of changes to the application skeleton. Please consult the diff to see what's new.
File: CLAUDE.md
This repository contains a Laravel application. Complete the following setup before working on the user's request.
Prerequisites
Verify that PHP and Composer are available:
php -v
composer -VIf either command is unavailable, detect the user's operating system and install the prerequisites with the appropriate command:
macOS:
/bin/bash -c "$(curl -fsSL https://php.new/install/mac/8.5)"Windows PowerShell:
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://php.new/install/windows/8.5'))Linux:
/bin/bash -c "$(curl -fsSL https://php.new/install/linux/8.5)"After installation, ask the user to restart their terminal. If the agent needs the restarted shell to continue, ask the user to reopen their terminal and rerun their original prompt.
Agent Setup
Install Laravel Boost from the application root before making application changes:
composer require laravel/boost --dev
php artisan boost:installBoost replaces these bootstrap instructions with guidelines tailored to the application. After installation, read AGENTS.md again and continue with the user's original request using the generated guidelines.
File: composer.json
{
"$schema": "https://getcomposer.org/schema.json",
"name": "laravel/laravel",
"type": "project",
"description": "The skeleton application for the Laravel framework.",
"keywords": ["laravel", "framework"],
"license": "MIT",
"require": {
"php": "^8.3",
"laravel/framework": "^13.17",
"laravel/tinker": "^3.0"
},
"require-dev": {
"fakerphp/faker": "^1.23",
"laravel/pail": "^1.2.5",
"laravel/pao": "^1.0.6",
"laravel/pint": "^1.27",
"mockery/mockery": "^1.6",
"nunomaduro/collision": "^8.6",
"phpunit/phpunit": "^12.5.12"
},
"autoload": {
"psr-4": {
"App\": "app/",
"Database\Factories\": "database/factories/",
"Database\Seeders\": "database/seeders/"
}
},
"autoload-dev": {
"psr-4": {
"Tests\": "tests/"
}
},
"scripts": {
"setup": [
"composer install",
"@php -r "file_exists('.env') || copy('.env.example', '.env');"",
"@php artisan key:generate",
"@php artisan migrate --force",
"npm install --ignore-scripts",
"npm run build"
],
"dev": [
"Composer\Config::disableProcessTimeout",
"@php artisan dev"
],
"test": [
"@php artisan config:clear --ansi @no_additional_args",
"@php artisan test"
],
"post-autoload-dump": [
"Illuminate\Foundation\ComposerScripts::postAutoloadDump",
"@php artisan package:discover --ansi"
],
"post-update-cmd": [
"@php artisan vendor:publish --tag=laravel-assets --ansi --force"
],
"post-root-package-install": [
"@php -r "file_exists('.env') || copy('.env.example', '.env');""
],
"post-create-project-cmd": [
"@php artisan key:generate --ansi",
"@php -r "file_exists('database/database.sqlite') || touch('database/database.sqlite');"",
"@php artisan migrate --graceful --ansi"
],
"pre-package-uninstall": [
"Illuminate\Foundation\ComposerScripts::prePackageUninstall"
]
},
"extra": {
"laravel": {
"dont-discover": []
}
},
"config": {
"optimize-autoloader": true,
"preferred-install": "dist",
"sort-packages": true,
"allow-plugins": {
"pestphp/pest-plugin": true,
"php-http/discovery": true
}
},
"minimum-stability": "stable",
"prefer-stable": true
}
File: package.json
{
"$schema": "https://www.schemastore.org/package.json",
"private": true,
"type": "module",
"scripts": {
"build": "vite build",
"dev": "vite"
},
"devDependencies": {
"@tailwindcss/vite": "^4.0.0",
"concurrently": "^10.0.3",
"laravel-vite-plugin": "^3.1",
"tailwindcss": "^4.0.0",
"vite": "^8.0.0"
},
"optionalDependencies": {
"@laravel/multiplex": "^0.4.1"
}
}
File: .styleci.yml
php:
preset: laravel
disabled:
- no_unused_imports
finder:
not-name:
- index.php
js: true
css: true
File: public/robots.txt
User-agent: *
Disallow:
File: .github/dependabot.yml
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
cooldown:
default-days: 5
groups:
github-actions:
patterns:
- "*"
File: .github/workflows/dependabot-auto-merge.yml
name: dependabot-auto-merge
on: pull_request
permissions:
contents: write
pull-requests: write
jobs:
dependabot:
if: ${{ github.actor == 'dependabot[bot]' }}
uses: laravel/.github/.github/workflows/dependabot-auto-merge.yml@c265c45c41ccb723befb7a2b807dffff4595bd39
File: .github/workflows/issues.yml
name: Issues
on:
issues:
types: [labeled]
permissions:
issues: write
jobs:
help-wanted:
uses: laravel/.github/.github/workflows/issues.yml@b019b7649633cd7149a2d2a4a6e3bba5d7e5ba01 # main
File: .github/workflows/pull-requests.yml
name: Pull Requests
on:
pull_request_target:
types: [opened]
permissions:
pull-requests: write
jobs:
uneditable:
uses: laravel/.github/.github/workflows/pull-requests.yml@b019b7649633cd7149a2d2a4a6e3bba5d7e5ba01 # main
File: .github/workflows/tests.yml
name: Tests
on:
push:
branches:
- master
- '*.x'
pull_request:
schedule:
- cron: '0 0 * * *'
permissions:
contents: read
jobs:
tests:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
php: [8.3, 8.4, 8.5]
name: PHP ${{ matrix.php }}
steps:
- name: Checkout code
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Setup PHP
uses: shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962 # v2
with:
php-version: ${{ matrix.php }}
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite
coverage: none
- name: Install Composer dependencies
run: composer install --prefer-dist --no-interaction --no-progress
- name: Copy environment file
run: cp .env.example .env
- name: Generate app key
run: php artisan key:generate
- name: Execute tests
run: php artisan testFile: .github/workflows/update-changelog.yml
name: Update Changelog
on:
release:
types: [released]
permissions: {}
jobs:
update:
permissions:
contents: write
uses: laravel/.github/.github/workflows/update-changelog.yml@dd86ce0a18475504e42fa809d7454c1cb1a88028 # main