Download the PHP
package fortephp/reload without Composer
On this page you can find all versions of the php package
fortephp/reload. It is possible to download/install
these versions without Composer. Possible dependencies are resolved
automatically.
Vendor fortephp Package reload Short Description Hot reload for Laravel Blade. License
MIT
FAQ
After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.
Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.
In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories.
In this case some credentials are needed to access such packages.
Please use the auth.json textarea to insert credentials, if a package is coming from a private repository.
You can look here for more information.
Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
To use Composer is sometimes complicated. Especially for beginners.
Composer needs much resources. Sometimes they are not available on a simple webspace.
If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Reload is an experimental package that adds hot reload functionality for Laravel Blade.
Installation
To install Reload, run the following from the root of your project:
If you want to customize the package config, you may publish it by running:
Vite Setup
Import the plugin from Composer vendor:
Reload watches resources/views/**/*.blade.php by default.
If your Blade files live elsewhere, add more watch patterns:
The plugin also injects the Reload runtime into resources/js/app.js and resources/js/app.ts by default. If your app uses different entry files, configure entries:
Available plugin options:
watch: Additional Blade globs to watch.
log: Set to false to silence Reload logs.
Configuration
The package config lives at config/reload.php.
enabled: null by default, which enables Reload automatically in the local environment. Set it to true or false to force the behavior.
constructs: Controls which Blade constructs are instrumented. Available flags are elements, components, directives, directive_blocks, and includes.
include_vendor_views: Includes vendor Blade views in instrumentation when set to true.
max_patches_before_reload: The maximum number of incremental patches Reload will attempt before falling back to a full refresh.
Reporting Issues
When reporting issues, please include all necessary steps to reproduce the issue. Linking to a small repository that contains the setup to reproduce the helps a lot. Include any dependencies required to reproduce the bug.
License
Reload is free software, released under the MIT license.
Composer command for our command line client (download client)This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free.Standard composer command
The package fortephp/reload contains the following files
Loading the files please wait ...
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.