How to install KumbiaPHP on Ubuntu 20.04?

Windows Articles

How to update apps on Android

Hi folks! In this post, we will show you how to update your Android apps. Updating the apps on your device is...

How to install Apache Ant on Ubuntu 20.04?

Hello, friends. Apache Ant is a very important tool for the development of applications in Java. So in this post, we will...

How to use the ss command

For Linux users, there will come a time when you need to know about the network. Several tools help in this process,...

How to create user template in Windows Server 2019/2016

Hello! Windows Server has many features that support system administration. For example, through the users it is possible to manage many administrative...

Debian 10.6 available

Several volunteers have developed the free software distributed under the name of Debian. Debian does not sell its software directly, the developers...
angeloma
angeloma
Senior Writer and partner

Hello, friends in this post, I’ll show you how to install KumbiaPHP on Ubuntu 20.04.

KumbiaPHP is a simple and light PHP framework under the BSD license, that is, we can use it for our personal projects. The framework is used by many Spanish speaking people because it’s a Latin product. It has a documentation in English, in addition to current communication channels such as mailing lists and IRC.

Some advantages of installing and using KumbiaPHP

Under the premise of shortening development times, KumbiaPHP is a framework with the characteristic of being “Zero Config”. In other words, after you unzip it, you can start working. It’s that simple.

Clearer, more natural codes with fewer errors thanks to Helpers and other patterns to reduce the use of other languages.

Another very favorable aspect is that the learning curve is very short.

The framework has as its main premises to be easy to learn, simple to use, open source and everything without sacrificing quality and robustness. Supports 4 database handlers such as MySQL, PostgreSQL, SQLite, and Oracle, which ensures that you can develop without worrying about the compatibility of your database.

So, let us do it.

Install KumbiaPHP on Ubuntu 20.04

Before installing KumbiaPHP, you need to have PHP installed on your computer.

So, open a terminal and run the following:

:~$ sudo apt install php
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following additional packages will be installed:
apache2 apache2-bin apache2-data apache2-utils libapache2-mod-php7.4 libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap libjansson4 liblua5.2-0 php-common
php7.4 php7.4-cli php7.4-common php7.4-json php7.4-opcache php7.4-readline ssl-cert
Suggested packages:
apache2-doc apache2-suexec-pristine | apache2-suexec-custom www-browser php-pear openssl-blacklist
The following NEW packages will be installed:
apache2 apache2-bin apache2-data apache2-utils libapache2-mod-php7.4 libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap libjansson4 liblua5.2-0 php
php-common php7.4 php7.4-cli php7.4-common php7.4-json php7.4-opcache php7.4-readline ssl-cert
0 upgraded, 20 newly installed, 0 to remove and 0 not upgraded.
Need to get 5882 kB of archives.
After this operation, 26.0 MB of additional disk space will be used.
Do you want to continue? [Y/n]
1.- Installing PHP on Ubuntu 20.04
1.- Installing PHP on Ubuntu 20.04

Then, you should install a database manager such as MySQL, MariaDB or SQLite. So you can start in shape with the development of an application. The choice is all yours.

The next step is to download KumbiaPHP from the project’s website. At the time of writing this post, the latest stable version is 1.1.3 so check first which one it is.

:~$ wget -c https://github.com/KumbiaPHP/KumbiaPHP/archive/v1.1.3.zip
--2020-07-17 23:29:42-- https://github.com/KumbiaPHP/KumbiaPHP/archive/v1.1.3.zip
Resolving github.com (github.com)… 140.82.114.4
Connecting to github.com (github.com)|140.82.114.4|:443… connected.
HTTP request sent, awaiting response… 302 Found
Location: https://codeload.github.com/KumbiaPHP/KumbiaPHP/zip/v1.1.3 [following]
--2020-07-17 23:29:44-- https://codeload.github.com/KumbiaPHP/KumbiaPHP/zip/v1.1.3
Resolving codeload.github.com (codeload.github.com)… 140.82.114.10
Connecting to codeload.github.com (codeload.github.com)|140.82.114.10|:443… connected.
HTTP request sent, awaiting response… 200 OK
Length: unspecified [application/zip]
Saving to: ‘v1.1.3.zip’
v1.1.3.zip [ <=> ] 328.65K 44.3KB/s in 8.0s
2020-07-17 23:29:54 (41.2 KB/s) - ‘v1.1.3.zip’ saved [336537]
2.- Download and install KumbiaPHP on Ubuntu 20.04
2.- Download and install KumbiaPHP on Ubuntu 20.04

Now, decompress it using the unzip command. If you have it, just install it:

:~$ sudo apt install unzip
:~$ unzip v1.1.3.zip

Then, it is convenient to rename the generated folder to a name related to our project. Or simply the name of our project.

:~$ mv KumbiaPHP-1.1.3/ example

Remember that you can replace example with the name of your project.

Now KumbiaPHP allows to serve the project in development mode without the need of having a web server installed. To do so, navigate to the project’s app folder.

:~$ cd ~/example/default/app

And from there, it starts serving the project in development mode.

:~$ bin/phpserver
3.- Serve the project
3.- Serve the project

Now, our project is available from any computer. And all you have to do is open your favorite web browser and check it out.

So, go to http://your-pc:8001 and you will see the following:

4.- KumbiaPHP on Ubuntu 20.04
4.- KumbiaPHP on Ubuntu 20.04

This indicates that KumbiaPHP is installed and ready to start development.

Conclusion

In conclusion we can say that web development tools are to reduce coding times. KumbiaPHP stands as a solid proposal for personal work and serious projects.

KumbiaPHP is quite easy to install and practically ready for work. While it is true that compared to other frameworks this has some shortcomings, the truth is that it also becomes very comfortable to work and maintain projects with it.

Please share this post and join our Telegram channel.

Some links to learn more about KumbiaPHP

English Documentation

GitHub Site

More articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest article

How to update apps on Android

Hi folks! In this post, we will show you how to update your Android apps. Updating the apps on your device is...

How to install Apache Ant on Ubuntu 20.04?

Hello, friends. Apache Ant is a very important tool for the development of applications in Java. So in this post, we will...

How to use the ss command

For Linux users, there will come a time when you need to know about the network. Several tools help in this process,...

How to create user template in Windows Server 2019/2016

Hello! Windows Server has many features that support system administration. For example, through the users it is possible to manage many administrative...

Debian 10.6 available

Several volunteers have developed the free software distributed under the name of Debian. Debian does not sell its software directly, the developers...