Preload | Effortlessly create a PHP Preload Script

 by   Laragear PHP Version: v1.1.0 License: MIT

kandi X-RAY | Preload Summary

kandi X-RAY | Preload Summary

Preload is a PHP library. Preload has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

By default, PHP needs to read, interpret and compile each requested file in your project. When Opcache is enabled, it will keep interpreted files in memory to avoid reading them again from the file system. Opcache preloading stores in memory a given list of files when the PHP process starts, before normal execution. This makes the application faster during the first requests, as these files to read are already in memory. With JIT, these files are also compiled into byte-code.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              Preload has a low active ecosystem.
              It has 54 star(s) with 5 fork(s). There are 3 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 0 open issues and 1 have been closed. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of Preload is v1.1.0

            kandi-Quality Quality

              Preload has no bugs reported.

            kandi-Security Security

              Preload has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              Preload is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              Preload releases are available to install and integrate.
              Installation instructions, examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of Preload
            Get all kandi verified functions for this library.

            Preload Key Features

            No Key Features are available at this moment for Preload.

            Preload Examples and Code Snippets

            Preload,Configuration
            PHPdot img1Lines of Code : 38dot img1License : Permissive (MIT)
            copy iconCopy
            php artisan vendor:publish --provider="Laragear\Preload\PreloadServiceProvider"
            
             env('PRELOAD_ENABLE'),
                'condition' => [
                    'store' => null,
                    'hits' => 10000,
                    'key' => 'preload|request_count'
                ],
                'project_o  
            Preload,Configuration,Exclude and append files
            PHPdot img2Lines of Code : 22dot img2License : Permissive (MIT)
            copy iconCopy
            use Symfony\Component\Finder\Finder;
            use Illuminate\Support\ServiceProvider;
            use Laragear\Preload\Facades\Preload;
            
            class AppServiceProvider extends ServiceProvider
            {
                // ...
                
                public function boot()
                {
                    Preload::append(function (  
            Preload,Configuration,Project Scope
            PHPdot img3Lines of Code : 21dot img3License : Permissive (MIT)
            copy iconCopy
            return [
                'project_only' => true,
            ];
            
            return [
                'memory' => 64,
            ];
            
            return [
                'job' => [
                    'connection' => env('PRELOAD_JOB_CONNECTION'),
                    'queue' => env('PRELOAD_JOB_QUEUE'),
                ],
            ];
            
            PRELOAD_JOB_CONNECTION=red  

            Community Discussions

            No Community Discussions are available at this moment for Preload.Refer to stack overflow page for discussions.

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install Preload

            Require this using Composer into your project. This package doesn't require the ext-zend-opcache extension to install. Just be sure to have it enabled in your deployment server.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/Laragear/Preload.git

          • CLI

            gh repo clone Laragear/Preload

          • sshUrl

            git@github.com:Laragear/Preload.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link