Download the PHP
package enderastronaute/lighter without Composer
On this page you can find all versions of the php package
enderastronaute/lighter. It is possible to download/install
these versions without Composer. Possible dependencies are resolved
automatically.
Vendor enderastronaute Package lighter Short Description Light and intuitive PHP framework License
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.
Lighter is a light, easy to use and intuitive PHP framework. It allows you to fully create an app in a simple way while leaving full control of what you are doing.
Lighter gives you a lot of features and dependencies, some are listed below.
Table of content
Lighter :flashlight:
Table of content
MVC
Router
Middleware
Components
Project
MVC
Lighter mainly uses the MVC model (Model View Controller), although one can use views to work with HTML alongside PHP.
Router
The router gives you full control over : which pages are public or not, which route returns what or custom error pages like 404.php.
It does not use Symphony.
Middleware
The middleware function allows you to do anything before accessing a route.
The Middleware.php file has some examples of use, replace them by your needs.
Components
The components feature allows one to reuse pieces of code everywhere and to pass data dynamically to them, just like functions but for HTML too.
Project
Project is the main file of Lighter it is similar to Artisan.
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 enderastronaute/lighter 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.