Installing Propel in our project via Composer / ~#root -i Installing Propel in our project via Composer / ~#root -i Installing Propel in our project via Composer / ~#root -i Installing Propel in our project via Composer / ~#root -i Installing Propel in our project via Composer / ~#root -i Installing Propel in our project via Composer / ~#root -i Installing Propel in our project via Composer / ~#root -i Installing Propel in our project via Composer / ~#root -i
  • RU
  • UA
  • EN
  • Create an online store
  • Documentation
  • Blog
    • Unix ОS
    • Php
    • MySQL
    • JavaScript
    • Package Managers
    • Docker
    • Seo
  • Auxiliary services
    • Short Links
    • Exchange views YouTube
  • Sign in
  • Create Account
  • Home
  • Package Managers
  • Installing Propel in our project via Composer

Installing Propel in our project via Composer

Propel makes it easy to access the database, so it allows you to quickly expand the project and convenient to use. A short description on using composer is here .

Take the package from packegist .

1. At the root of the project, create composer.json :

{
"require": {
"propel/propel": "dev-master"
}
}

2. At the root of the project, where composer.json - install :

sudo composer install

In my case /var/www/test1.loc

3. These packages will be pulled up :

Packages install

Don't pay attention to "PHP Warning", it's echoes of my previous project)

4. Connection on site :

Don't forget to include autoload.php. For example, I placed in index.php

<?php
include_once './vendor/autoload.php';

03 June 18
617
0

Comments

Name
E-mail
Rating
Review

Other articles from the category

01 June 2018

Connecting Composer libraries to Php site

Having figured out what Compser is and what it is for, you should figure out how to use it on the site. In the article, we will consider connecting libraries pulled up through Composer.

31 May 2018

Getting started with Composer on Ubuntu 14.04

Composer brought the convenience of using ready-made solutions, packages and libraries. Proper organization of work with Composer can make it easy to maintain always up-to-date versions of the libraries used in the project. Consider getting started with Composer.

Categories

  • Unix OS
  • Php
  • MySQL
  • JavaScript
  • Package Managers
  • Docker
  • Seo

Latest comments

Добрый день, Сергей. Я на более новых версиях блют...
root-i
23.02.23
Пробовал на transmart колонке. Ничего из перечисле...
Сергей
20.02.23
HenryMit, может быть
root-i
07.02.23
Неофрейдизм — это… Определение, принципы, представ...
HenryMit
07.02.23

I share information in which I needed help and spent a lot of time figuring it out. If the information helped at least one person, then this site was not created in vain.

Thank you for the continuation of the site:
Contacts

Telegram Viber Mail

Search for articles

  • Sign in
  • Create Account

Powered by chmod -R