Download the PHP package phpreel/static without Composer

On this page you can find all versions of the php package phpreel/static. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

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.
Please rate this library. Is it a good library?

Informations about the package static

phpReel Static Laravel Package

Total Downloads

phpReel Static is a simple Laravel Package created and used by phpReel that converts your Laravel application to a static HTML website.

You only have one artisan command php artisan generate:static which will generate your static website. Once you run this command you will find your static website in a directory called static, right at the root of your Laravel application.

You can add a .gitignore file to the static directory and restrict the files that can be committed. Here is the .gitignore file used by phpReel.

Make sure you have your Laravel application running on a server before executing the command. You can start a server in seconds by running php artisan serve into your terminal. Don't close the server when you are running php artisan generate:static, just use two terminals if needed.

Keep in mind that a some of the functionality that your Laravel app offered might not be available anymore on your static website (you will not have access to a database, login system, payments and so on).

Installation

You can install the package via composer.

Why to use phpReel Static?

The main benefit of having static websites is the fact that you can deploy them anywhere from GitHub Pages to Netlify or even Google Drive. This means that is very easy and cheap to have your own website on the internet.

How to update a website generated by phpReel Static

You should run your Laravel application and make your modifications there (stuff like adding a new article, updating something and so on). Once you are done, run the command php artisan generate:static and deploy the newly generated static website directly to your provider.

Contributing

phpReel is getting bigger and better each day, thus with every new feature, it becomes more and more difficult to manage a product without a team. I really want to grow this project into a full-blown software company but until that day I rely entirely on the help of the community. Here is a list of things you can do to help phpReel grow:

License

MIT


All versions of static with dependencies

PHP Build Version
Package Version
Requires spatie/url Version ^1.3
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 phpreel/static contains the following files

Loading the files please wait ....