Download the PHP package scarletsfiction/scarlets without Composer

On this page you can find all versions of the php package scarletsfiction/scarlets. 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 scarlets

Build Status Tweet

Scarlets

This framework still under development

Scarlets is a web framework for PHP that can help you build a website with API and another build-in system. This framework have a lazyload on it's system, so you can select which system that you want to use to keep your website in a high performance state.

Installation instruction

Clone/download this repository and put it on a folder.
Then copy the example folder and edit the framework path on root.php

Install by using command prompt

Make sure you have installed PHP on your computer (Windows and OSX can use XAMPP)
and make sure the php command is available on the command prompt

If not, then you need to set it up on the environment variables.

When the php command is available, open your command prompt and enter this line

The framework will automatically installed, and the example files will be prepared on your project folder.

Upgrade

Scarlets have internal upgrade feature

But if there are any error and the framework was unable to be loaded
Please clone this repository and extract it to /vendor/scarletsfiction/scarlets

Getting Started

Setup your custom website domain

Before we started, we need to setup Apache or Nginx to route every HTTP request into /public/ directory.

If you're using Windows, you can use Laragon to easily Switch Document Root that will automatically create new Apache VirtualHost and modify drivers\etc\hosts for you. So you can easily access your project with a custom domain.

This framework has a build-in server by calling

Address: localhost, network, IPAddress
Options: --log, --verbose

serve_command

Even the build-in server was blazingly fast, it still have some problem because it's running in a single thread for every request. So it's very recommended to setup your website using Nginx. But if you want to deploy a small server into Raspberry PI, Android, or other linux devices it may be better to use the build-in server.

You can also create your own command for your project

interactive_console

The user defined command are editable on /routes/console.php

Documentation

The usage on how to use this framework is in the Wiki

Contribution

If you want to help in Scarlets framework, please fork this project and edit on your repository, then make a pull request to here.

License

Scarlets is under the MIT license.
Help improve this framework by support the author \(≧▽≦)/


All versions of scarlets with dependencies

PHP Build Version
Package Version
Requires php Version >=5.6
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 scarletsfiction/scarlets contains the following files

Loading the files please wait ....