Download the PHP package brumann/workshop-skeleton without Composer

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

Workshop skeleton

This is a basic Symfony application with a basic docker setup for development.

This dockerized skeleton will provide all the services we need throughout the workshop, plus some more to play around with. This is not intended as a template for a production ready environment and most likely is even missing things you might want in your regular development setup like SSL certificates.

Installation

  1. Create project from skeleton

  2. Build docker image for app

  3. Start up docker containers

    The -d-flag is optional and allows you to run other commands afterwards

  4. Install project dependencies for the Symfony application

Checking if everything is working

Once you followed the installation instructions, you should be able to open the following URLs in your preferred browser:

Additionally you should be able to connect to the MySQL database on port 3306.

If you can access each section, you are well prepared for the workshop and ready to get started :+1:

Troubleshooting

I can not connect to one or more of the services (RabbitMQ, Redis, MySQL)

This could be, because the port is already being used, e.g. by a local instance. You can modify the docker-compose.yml to change the port being exposed to the outside by checking the service's port: settings and changing the value before the colon. Another option could be to temporarily disable the local service if you have permissions.

The Symfony application only shows a blank page

This could be because of file permissions or problems with mounting the volume. Please make sure the directory has permissions for File Sharing in your Docker preferences.

I am not permitted to install Docker on my machine

If you can not use the dockerized setup, don't worry. We will not need most of the services provided, only the Symfony application and a database. Feel free to run things locally using the following instructions:

  1. Create project composer create-project brumann/workshop-skeleton workshop
  2. Run a PHP internal webserver: php -S 127.0.0.1:8000 -t public/

Additionally make sure that you have a database server like MySQL or Postgres running or whether you have sqlite3 installed. To make sure the database is usable by your PHP applications, you can check php -m | grep pdo. This should print out the name of all available drivers you can use.

I have XAMPP, WAMPP or something similar setup, can I use that?

Yes, but I have not used those in a while, so I might not have the time to properly assist you, should you run into problems. Please make sure in advance that you have PHP 7.1+ and a database you can use.

How can I run Symfony console commands?

You can log into the app-service to run console commands, just like you are used to:

This will open a terminal inside the container in the project folder, so afterwards you can run commands like bin/console cache:clear. If you only want to run a single command you can also replace bash with that command:

Some development tools like PhpStorm also allow you to connect to containers and perform commands.

Issues, questions and suggestions

Should you have any other issue not covered in the troubleshooting guide or need further assistance with setting up the skeleton don't hesitate to contact me, preferably via email:

[email protected]

All versions of workshop-skeleton with dependencies

PHP Build Version
Package Version
Requires php Version ^7.1.3
ext-ctype Version *
ext-iconv Version *
symfony/console Version 4.3.*
symfony/dotenv Version 4.3.*
symfony/flex Version ^1.1
symfony/framework-bundle Version 4.3.*
symfony/yaml Version 4.3.*
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 brumann/workshop-skeleton contains the following files

Loading the files please wait ....