Download the PHP package krag/karch without Composer

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

A light-weight and fast MVC framework for php developers. This is build with a system similar to Laravel and for people who require light-weight framework than Laravel can easily adapt to this as well.

We have a well documented documentation to get started with the framework, making it a breeze to get started with the framework.

Content :

  1. Instalation
  2. Routes
  3. Controllers
  4. Special Functions
  5. Requests
  6. Database Queries
  7. Migrations
  8. Error Handling

Instalation

Using composer,

Using the git repository url download the framework from github or run the following code on the terminal, opened in your folder.

Routes

Class for the routes are included inside the routes folder as web.php.

use

to include the route class.

Controllers

Class for the controllers are included inside the routes folder as controller.php.

use

to include the controller class.

Special Functions

Views

To view a html or php file. All the view file locations are given relative to the Views folder.

eg:- /index.html or index.html ( for a file as index.html inside the views folder )

Redirects

To redirect a web page insert

here you should insert the full url of the web page.

Assets

To load the assets like images, documents and videos for public view insert

here you should insert the relative url of the files inside the public folder skiping ../public/ part of the relative url.

Route

Return the url of a specific route in the website.

Request

Return the $_REQUEST values of the website.

Config

Return the $_ENV values of the website inside the .env file.

Get

Return the $_GET request values of the website.

Post

Return the $_POST request values of the website.

Cookie

Return the $_COOKIE values of the website.

Files

Return the $_FILES values of the website.

Session

Return the $_SESSION values of the website stored in the web server.

Requests

Class for the requests are included inside the includes folder as data_handling.php.

use

to include the requests class.

env data

get, post and session requests

get request

post request

Database Queries

Class for the db queries are included inside the includes folder as database.php.

use

to include the database class.

Records selection

Mass records insert

Single record insert

Update records

Delete records

Migrations

All the migrations required to create tables are in the database/migrations folder, each with their respective table name.

to run a migration such as below run the code

Error Handling

Class for the error handling are included inside the includes folder as error_handling.php.

use

to include the ErrorHandling class.

view the 404 error

for custom 404 error message

view the 405 error

for custom 405 error message

view the 500 error

for custom 500 error message


All versions of karch with dependencies

PHP Build Version
Package Version
Requires php Version >=8.0
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 krag/karch contains the following files

Loading the files please wait ....