You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
node script.js --parallel "tables/*"# Process in parallel (add =N for a specific worker count)
265
266
```
266
267
267
268
**Important:** The script expects `http://127.0.0.1:8000`. Don't use a custom port.
268
269
270
+
**Important:** Set up the app first with `php artisan migrate:fresh --seed && php artisan storage:link` — seeding also copies the file upload demos' sample images from `database/seed-images/` to the `public` disk.
271
+
272
+
`--parallel` starts its own servers on ports 8001+ (no `php artisan serve` needed), each with its own copy of the seeded database, because many demos mutate the database on mount and would corrupt each other's screenshots if they shared one. The pristine database is restored before every page load, so each screenshot always sees freshly seeded data — this makes parallel mode the most reliable way to run large batches (in serial mode, a demo that truncates tables can 404 later entries, e.g. tenancy or resource pages, until you reseed). Screenshots using the `configure` option run serially after the parallel pool because they mutate a PHP file shared by every server.
273
+
274
+
Schema entries without a `before` callback that share the same URL, viewport, and theme are captured from a single page load, and one browser process is shared across the whole run. If an entry needs an isolated page load (e.g. its demo mutates state when rendered), give it a `before` callback.
275
+
276
+
Pages are captured with `prefers-reduced-motion: reduce` and with CSS animations, transitions, and the input caret disabled, so screenshots never depend on which animation frame they caught (e.g. spinning loading indicators, modal fade-ins, caret blinking).
277
+
269
278
5.**Use in docs** with `<AutoScreenshot name="schemas/layout/my-component/simple" alt="Description" version="5.x" />`
270
279
271
280
Screenshots are generated in `images/light/` and `images/dark/`. Use natural, realistic content - not test-like examples.
Copy file name to clipboardExpand all lines: docs-assets/app/README.md
+10-18Lines changed: 10 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,29 +25,21 @@ Laravel is accessible, powerful, and provides tools required for large, robust a
25
25
26
26
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.
27
27
28
-
You may also try the [Laravel Bootcamp](https://bootcamp.laravel.com), where you will be guided through building a modern Laravel application from scratch.
28
+
In addition, [Laracasts](https://laracasts.com) 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.
29
29
30
-
If you don't feel like reading, [Laracasts](https://laracasts.com) can help. Laracasts contains over 2000 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.
30
+
You can also watch bite-sized lessons with real-world projects on [Laravel Learn](https://laravel.com/learn), where you will be guided through building a Laravel application from scratch while learning PHP fundamentals.
31
31
32
-
## Laravel Sponsors
32
+
## Agentic Development
33
33
34
-
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).
34
+
Laravel's predictable structure and conventions make it ideal for AI coding agents like Claude Code, Cursor, and GitHub Copilot. Install [Laravel Boost](https://laravel.com/docs/ai) to supercharge your AI workflow:
35
35
36
-
### Premium Partners
36
+
```bash
37
+
composer require laravel/boost --dev
37
38
38
-
-**[Vehikl](https://vehikl.com/)**
39
-
-**[Tighten Co.](https://tighten.co)**
40
-
-**[Kirschbaum Development Group](https://kirschbaumdevelopment.com)**
41
-
-**[64 Robots](https://64robots.com)**
42
-
-**[Cubet Techno Labs](https://cubettech.com)**
43
-
-**[Cyber-Duck](https://cyber-duck.co.uk)**
44
-
-**[Many](https://www.many.co.uk)**
45
-
-**[Webdock, Fast VPS Hosting](https://www.webdock.io/en)**
0 commit comments