Krzych Jończyk

Modern PHP, soft skills, productivity and time management.

Tag: symfony (page 2 of 2)

PHPyths Buster: Hello World!

I hope, that setting up the environment goes ok 😉

In this post, I want to show you how to install Symfony on previously prepared docker container.

Installation

The simplest way to install Symfony is to use composer. Symfony has it’s own installation script, but I think that composer’s one is just fine.

If you have composer installed then it’s enough to call composer create-project symfony/framework-standard-edition code in your terminal (in the main directory of a docker, where docker-composer.yml file is placed, see PHPyths Buster: Project environment). All required packages will be downloaded and installed automatically.
Continue reading

PHPyths Buster: Project environment

Ok, time for some action!

I’ll start the project by setting up the environment. As mentioned in the previous post, I want to use Docker to simplify configuration for everyone who wanted to create this project with me 😉

I’m not a docker expert. In fact, a basic configuration for this project took me about 2 days! I could not find ready to use configuration so I had to create it myself using 2 or 3 different configurations.

But finally I made it, and I proudly present it to you! It is very simple and you might be surprised what took me so long 😉

Continue reading

PHPyths Buster: The Project

As promised I’m starting with a real project to proof that PHP may be what you want to build a web application 😉

Objectives

I want to show you complete way to build the functional application. I’ll go from setting up the environment, through installing the framework and required libraries, to deploying to the server.

Environment

I’ll use Docker with Nginx, MySQL, and PHP7 – I want you to make a minimal effort to start the project. In addition, you won’t need to install something on your computer (well, except Docker itself) and your computer will be clean as always. You could also do the examples yourself and easy experiment with the code in the same environment. If something will break you could always let me know and we’ll fix it together 🙂
Continue reading

Newer posts »

© 2019 Krzych Jończyk

Theme by Anders NorenUp ↑