Download the PHP package strangebuzz/microsymfony without Composer

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

MicroSymfony ๐ŸŽถ

Latest Version PHP Version Require level Software License Build Status (GitHub) Code Coverage Scrutinizer Code Quality Quality Score

About ๐Ÿ–‹

MicroSymfony is a Symfony 7.2 application skeleton on steroids, ready to use.

I have made a long blog post explaining the philosophy behind and how to use it:

One rule: the only mandatory dependency is PHP!

PS: If you want to use the last Symfony 6.4 LTS version in your composer.json file, replace all occurrences of 7.2 with 6.4 and run composer up.

Table of Contents ๐Ÿ“–

Demos ๐ŸŒˆ

Because a live demo is always better than all explanations:

Quick-start โšก

With the Symfony binary ๐ŸŽถ

You must have the Symfony binary and composer installed locally.

To create a new project, from the last tag, run:

composer create-project strangebuzz/microsymfony && cd microsymfony

Then start the PHP server with make:

make start

Or with Castor:

castor start

Open https://127.0.0.1:8000 (considering your 8000 port is free) and enjoy! ๐Ÿ™‚

PS: You can also use the green button "Use this template โ‡ฉ" at the top right of the GitHub project homepage. This creates a new repository from the main branch instead of the last release. I guarantee that all commits on the main are stable; you can verify that the associated CI jobs are โœ….

With FrankenPHP ๐ŸงŸโ€

We can also use FrankenPHP to run MicroSymfony. You must have Docker installed locally.

Create a new project from the GitHub template, run:

docker run --rm -it -v $PWD:/app composer:latest create-project strangebuzz/microsymfony && cd microsymfony

Install the FrankenPHP Symfony runtime:

docker run --rm -it -v $PWD:/app composer:latest require runtime/frankenphp-symfony

Then run:

docker run \
    -e FRANKENPHP_CONFIG="worker ./public/index.php" \
    -e APP_RUNTIME=Runtime\\FrankenPhpSymfony\\Runtime \
    -v $PWD:/app \
    -p 80:80 -p 443:443 \
    -d \
    dunglas/frankenphp

Open https://localhost and enjoy! ๐Ÿ™‚

PS: On Windows, replace $PWD with "%cd%".

You can also directly use the FrankenPHP branch.

Requirements โš™

Optional requirements ๐Ÿšฆ

Stack ๐Ÿ”—

Features ๐Ÿš€

MicroSymfony ships these features, ready to use:

Feature branches ๐Ÿš…

Feature branches are not merged in the main branch but are used to test the integration of a new vendor library or make a POC. For example, have you ever dreamed of testing Eloquent, the Laravel ORM, on a Symfony project? Then clone the eloquent branch, and run composer install && make load-fixtures.

Infrastructure

Database ๐Ÿ’ฝ

These ยซ database ยป branches aim to display a list of records from a SQLite database.

Tooling ๐Ÿ”จ

One will rebase those branches regularly so they are always up to date.

Notes ๐Ÿ“’

Symfony-UX

Turbo forms are disabled in assets/app.js. To enable the feature for a given form, add the data-turbo="true" attribute to it. Or change the parameter Turbo.setFormMode to on to activate the feature globally. In both cases, your controller code has to be modified accordingly.

PHP configuration files

If you install a new Symfony library, the flex recipes can add YAML files to your project. These YAML files are loaded, but you can convert them to PHP like the other configuration files. For example, to convert the messenger YAML configuration to PHP with Simplify, run:

vendor/bin/config-transformer convert config/packages/messenger.yaml

Other good practices ๐Ÿ‘Œ

References ๐Ÿ“š

Contributing ๐Ÿค

Please see CONTRIBUTING and CODE_OF_CONDUCT for details.

Security ๐Ÿงฏ

Please see SECURITY for details.

Credits ๐Ÿ™

strangebuzz/MicroSymfony contributors

Made with contrib.rocks.

License โš–๏ธ

The MIT License (MIT). Please see License File for more information.

Built with MicroSymfony ๐Ÿ› ๏ธ


All versions of microsymfony with dependencies

PHP Build Version
Package Version
Requires php Version >=8.2
ext-ctype Version *
ext-dom Version *
ext-iconv Version *
ext-libxml Version *
ext-mbstring Version *
ext-simplexml Version *
ext-xml Version *
league/commonmark Version ^2.4
runtime/frankenphp-symfony Version ^0.2.0
symfony/asset Version ~7.2.0
symfony/asset-mapper Version ~7.2.0
symfony/console Version ~7.2.0
symfony/dotenv Version ~7.2.0
symfony/flex Version ^2
symfony/form Version ~7.2.0
symfony/framework-bundle Version ~7.2.0
symfony/http-foundation Version ~7.2.0
symfony/http-kernel Version ~7.2.0
symfony/intl Version ~7.2.0
symfony/monolog-bundle Version ^3.8
symfony/routing Version ~7.2.0
symfony/runtime Version ~7.2.0
symfony/security-csrf Version ~7.2.0
symfony/stimulus-bundle Version ^2.0
symfony/string Version ~7.2.0
symfony/twig-bundle Version ~7.2.0
symfony/ux-turbo Version ^2.16
symfony/validator Version ~7.2.0
symfony/web-link Version ~7.2.0
symfony/yaml Version ~7.2.0
twig/extra-bundle Version ^3.0
twig/markdown-extra Version ^3.7
twig/twig Version ^3.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 strangebuzz/microsymfony contains the following files

Loading the files please wait ....