Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/brendt/laravel-preload
Laravel preload testing in PHP 7.4
https://github.com/brendt/laravel-preload
Last synced: 16 days ago
JSON representation
Laravel preload testing in PHP 7.4
- Host: GitHub
- URL: https://github.com/brendt/laravel-preload
- Owner: brendt
- Created: 2019-06-28T09:36:04.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T01:26:51.000Z (almost 2 years ago)
- Last Synced: 2024-10-13T13:09:21.672Z (about 1 month ago)
- Language: PHP
- Size: 1.32 MB
- Stars: 48
- Watchers: 7
- Forks: 8
- Open Issues: 25
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This Laravel project demonstrates how preloading can be used to preload the whole Laravel framework. Unfortunately, it results in a segfault.
## Setup
```
git clone [email protected]:brendt/laravel-preload.git
cd laravel-preload
composer install
```Configure `opcache.preload` in your PHP's ini file to [`preload.php`](./preload.php),
and restart php-fpm or whatever server you're using.