Monday, August 9, 2021

Corporate Web site design And Development

Corporate Web site design And Development 

The growing dependence of most people along with the companies makes the site essential for those companies. There is almost no company that could not need the business website displaying information regarding the company, its products. It’s made the web site design and improvement among the necessary skills in all businesses. Some companies design their particular web, while some manage to get their corporate website design done by experts. Corporate web development requires good skills and knowledge to produce your website pleasing and accurate since in today’s world, the web site design has a lot related to the achievements business. An internet site has to be designed in a way that they strive through in this competitive world. A neatly created website will certainly have more visitors to the site which in turn increases the traffic to the site. As a result your internet site earns huge revenue and in addition boosts the sales considering that the company gets huge exposure. Just like every service can be acquired online, the business web design can also be obtained by reserving online. There are numerous of websites about the Internet, where one can mention what’s needed concerning the website and obtain the rates. They do from coding and designing to hosting the internet. Be it the graphics from the website, flash design, interface pattern or the advertising, increasing the exposure and routine maintenance everything can be obtained from the companies.

Thursday, May 20, 2021

Yii2 PHP framework

 Yii 2 is a modern framework designed to be a solid foundation for your PHP application.

It is fast, secure and efficient and works right out of the box pre-configured with reasonable defaults. The framework is easy to adjust to meet your needs, because Yii has been designed to be flexible.

Latest Stable Version Total Downloads Build Status Code Coverage Scrutinizer Quality Score


  • The minimum required PHP version of Yii is PHP 5.4.
  • It works best with PHP 7.
  • Follow the Definitive Guide in order to get step by step instructions.




The framework is Open Source powered by an excellent community.

You may join us and:

Reporting Security issues

Please refer to a special page at the website describing proper workflow for security issue reports.

Directory Structure

build/               internally used build tools
docs/                documentation
framework/           core framework code
tests/               tests of the core framework code

Spreading the Word

Acknowledging or citing Yii 2 is as important as direct contributions.

In presentations

If you are giving a presentation or talk featuring work that makes use of Yii 2 and would like to acknowledge it, we suggest using our logo on your title slide.

In projects

If you are using Yii 2 as part of an OpenSource project, a way to acknowledge it is to use a special badge in your README:


If your code is hosted at GitHub, you can place the following in your file to get the badge:



Support this project by becoming a sponsor or a backer.

Get code here

Symfony 5, development and deploy stack

 Keywords: Symfony 5, PHP7.4, Apache 2.4, Postgres 10.4, Docker, Kubernetes, cli, https, Ingress

All commands are run in the root directory.

Config files

./.envbuild env variables for build via docker-compose
./app/.envapp env variables for local development
./app/.env.testapp env variables for test development

Prod ENVs are defined in ./kubernetes/init/secrets.yaml!

Local development

Remote postgres db (no-persist), apache listening on localhost:80 and php-fpm

$ ./cli start
$ ./cli stop

Predefined app commands

CLI shortcut (within manually connecting to container):

$ ./cli tests           <-- all tests
$ ./cli tests ecs       <-- only ecs
$ ./cli tests phpstan   <-- only phpstan
$ ./cli tests phpunit   <-- only phpuni

Or run composer commands / symfony commands in webroot directory in PHP container:

$ composer ecs          <-- code style check
$ composer ecs-fix      <-- code style check with auto-fix
$ composer phpstan      <-- php static analyst
$ composer phpunit      <-- classic phpunit tests

Useful commands

$ ./cli bash            <-- return bash from php-fpm container

Push docker images to GitHub registry

Enable docker container registry for your account

  1. go to and generate new token for "repo", "write:packages", "read:packages"
  2. on click to your account -> Feature preview and click to "Enable"

Acces to github private registry from localhost

On your localhost run command (as password paste token from first step):

$ docker login -u [github_username]

Access to github private registry from Kubernetes

kubectl create secret docker-registry regcred \ \
    --docker-username=[github_username] \
    --docker-password=[token_from_first_step] \
    --namespace [githubusername/github_project]

Great! You have github docker registry. Your images you can find on your github profile under "Packages" tab.

This project has GitHub actions for automatic build php-fpm and apache with save images on GitHub.

Set GitHub SECRETS for your project -> need for automatic build and deploy

  1. on github in project settings click to Secrets
  2. click to New repository secret and create two keys with this names:
KUBE_CONFIG_DATAcontains base64 encode KUBECONFIG file for access your Kubernetes
CR_PATwith token for image repository (from previous step)

Init production

Set Kubernetes namespace

All configs use namespace attribute. Namespace is generated from your github username/repo (repo must be cloned with git), for example:

Generated namespace: kdosiodjinud-symfony-docker

Becouse project is universal, you must init script for replace namespaces in your cloned version:

./cli init

That`s all! :)


Look at the kubernetes/init/secrets.yaml file and config your settings for production. After check apply configure all files from folder init:

kubectl apply -f kubernetes/init/

Ingress (domain routing) and HTTPS

Install cert manager to Kubernetes cluster

This example is for Kubernetes over microk8s service, but commands for full install kubernetes is the same. In file ingress/cert.yaml set your email address. In file ingress/ingress.yaml set domain for your app.

// run in cluster
$ microk8s enable helm3 ingress
$ microk8s kubectl create namespace cert-manager
$ microk8s helm3 repo add jetstack
$ microk8s helm3 repo update
$ microk8s helm3 install cert-manager jetstack/cert-manager \
  --namespace cert-manager --version v0.15.2 \
  --set installCRDs=true \
  --set ingressShim.defaultIssuerName=letsencrypt-production \
  --set ingressShim.defaultIssuerKind=ClusterIssuer \
// run from localhost
$ kubectl apply -f kubernetes/ingress/

Deploy to production

If you have ready app, push it to github. Init realease is realy easy. Make git tag with prefix r(for example r0.0.1).

After github register tag, github actions run tests, build images and make deploy to Kubernetes.

Create new commands for app CLI

This project use great simple framework for generate CLI:

Thank you Danny :)

Path to sources files:


New commands you can define in yml file:


After edit you must run:

./cli-src/bashly generate 

Bashly create new *.sh files in ./cli-src/src/ directory - this is place for process your new command logic. After update run generate again!

In app root is symlink for easy call CLI:

./cli --help

Get here

About Laravel


About Laravel

Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel takes the pain out of development by easing common tasks used in many web projects, such as:

Laravel is accessible, powerful, and provides tools required for large, robust applications.

Learning Laravel

Laravel has the most extensive and thorough documentation and video tutorial library of all modern web application frameworks, making it a breeze to get started with the framework.

If you don't feel like reading, Laracasts can help. Laracasts contains over 1500 video tutorials on a range of topics including Laravel, modern PHP, unit testing, and JavaScript. Boost your skills by digging into our comprehensive video library.

Laravel Sponsors

We would like to extend our thanks to the following sponsors for funding Laravel development. If you are interested in becoming a sponsor, please visit the Laravel Patreon page.

Premium Partners


Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the Laravel documentation.

Code of Conduct

In order to ensure that the Laravel community is welcoming to all, please review and abide by the Code of Conduct.

Security Vulnerabilities

If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell via All security vulnerabilities will be promptly addressed.


The Laravel framework is open-sourced software licensed under the MIT license.

Get Laravel code here

Corporate Web site design And Development

Corporate Web site design And Development  The growing dependence of most people along with the companies makes the site essential for those...