Download the PHP package bombkiml/phpbeech without Composer

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

PHP Beech framework (LTS)

beech-api release PyPI license

Make it by yourself

N|Solid

Environment Requirements

PHP >= 7.1.11

#

Installing Beech

The Beech use to manage its dependencies. So, before using make sure you have Composer installed on your machine.

$ composer create-project bombkiml/phpbeech hello-world

#

Local development server

If you have PHP installed locally and you would like to use PHP's built-in development server to your application, You may use the serve command. This command will start a development server at http://localhost:8000

$ php beech serve

#

Defining Controllers

Below is an example of a basic controller class. Note that the controller extends the base controller class. The controller are stored in the modules/controllers/ directory. A simple controller might look something like this:

#

Passing data to views

You may use the $this->view->yourVariable and assign data this one for passing the data to . A simple passing the data might look something like this:

#

Creating Views

Below is an simple of a basic views contain the HTML served, The are stored in the directory. A simple view might look something like this:

#

Accessing the data passed from controller

You may use the $this for accessing the data passed to views. A simple accessing the data passed might look something like this:

#

Defining Models

Below is an example of a basic create an class. Note that the model extends the base model class. The are stored in the modules/models/ directory. A simple model modules/models/Fruits.php might look something like this:

#

Database

The Beech database (MySQL supported) using by it's query builder provides a convenient, fluent interface to creating and running database queries. It can be used to perform most database operations in your application. #

Retrieving Results

You may use the method on the facade to begin a query. The method returns a object query builder instance for the given table, allowing you to using sql statements for query by the method then finally get the results using the method. So, 3 step easy usage you may retrieving results by use the methods like this:

:grey_question: Tips: You can show your sql statements before execute:

#

Database transactions

You may use the transaction method provided by facade to run a set of operations within a database transaction. If an exception is thrown within the transaction closure, the transaction will automatically be rolled back. If the closure executes successfully, the transaction will automatically be committed. You don't need to worry about manually rolling back or committing while using the transaction method:

#

Controller calling The Database

#

Inserts

The query builder also provides an method for inserting records into the database table. The insert method accepts an array of column names and values:

#

Updates

The query builder can also update existing records using the method. The method accepts an array of column and new value pairs containing the columns to be updated. You may constrain the update query using where clauses:

#

Deletes

The query builder may also be used to records from the table via the delete method. You may constrain the query using where clauses:

#

Using with beech-cli command (recommended)

Document PHP beech command line interface (CLI) #

Development

Want to contribute or join for Great Job!. You can contact to me via


All versions of phpbeech with dependencies

PHP Build Version
Package Version
Requires php Version >=7.1.1
bombkiml/beech-cli Version ^2.0
components/font-awesome Version dev-master
twbs/bootstrap Version ^5.1.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 bombkiml/phpbeech contains the following files

Loading the files please wait ....