What are these exactly?: Composer, Git and Pyrus [closed] - php

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I am trying to start working with PHP frameworks like Laravel, Symphony or Zend-framework2!
But I've understood I'm completely mixed up with different applications I should install before using those frameworks like "Composer", "Git" or "Pyrus".
My BIG question is: What are these things and How should I act with them?
Thanks.

Composer is a dependency manager, if your project uses third party libraries Composer will keep them up to date for you and provide you with an autoloader to use them.
GIT is version control software and effectively lets you back-up your code, provide other people will access to it and provide a log of all changes.
Pyrus is a PEAR installer.

Related

Git store current commit hash in file [duplicate]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
I wonder If there are any APIs or something for php to interact with GIT?
I want to print out information about branches, repositories etcetc, on a web page.
Is this possible?
A quick search turns up a github project https://github.com/kbjr/Git.php - which has a PHP library for accessing git using proc_open and usable in git safe mode.
It seems to be fairly easy to use. According to the api documents, you'd be able to get a list of branches in an array with these commands:
require_once('Git.php');
$repo = Git::open('/path/to/repo');
$branch_array = $repo->list_branches();
You'd substitute your own repo path. You would need the git commands installed for that to work.
As for creating a whole web page, there are complete systems for this - cgit, gitweb, gitphp and a number of others so it may be worth considering if any of those could be configured to meet your needs before creating a completely new tool.

Payfort for Laravel [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
Does Laravel have any package to integrate Payfort payment gateway? I want to integrate payout/checkout in my Laravel project. I got the reference code but don't know which package will be helpful? For that I have first installed wshurafa/laravel-payfort package but it was not going to import certain models which are mentioned in the reference code and that models are, Start, Start_Charge etc. I have also tried another package called conceptlz/payfort but it also not satisfied my above given reference link's code.
you can use this library
composer require conceptlz/payfort
here is the link for detailed documentation
https://packagist.org/packages/conceptlz/payfort
Conceptlz/Payfort
is good and do the job. I'm using it in my applications when it needed.

PHP Functions repository [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I am wondering if you know any source where we can find premade functions in PHP ?
A sort of open-source repository where functions are tested and created taking in mind security and best practices. For example : generating mails, field escape functions, login, register, ... the classic stuff.
There are MANY such packages available at https://packagist.org/. You autoload these into your PHP app using Composer, available at https://getcomposer.org/. This is the newest, bestest way to developer PHP apps. Don't re-invent the wheel; use some of the great code available here.

Create setup for web application (PHP) [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I developed a php web application in windows. As you know there is two service needed to do this; APACHE and MYSQL.
But my application will be hosted in custom computers, possibl no apache and no mysql in it. So I need a windows setup that install these services and also check if they are already exist and running.
Its my first time face with this, so please be as clear as possible on advices and examples.
Thank you
Under Windows environment, the simplest way is to install EasyPHP. To do this in an automated way, you'll need an install script (for quiet install for example). Check the website for details.
Hope it helps.

Is there a PHP api for GIT? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
I wonder If there are any APIs or something for php to interact with GIT?
I want to print out information about branches, repositories etcetc, on a web page.
Is this possible?
A quick search turns up a github project https://github.com/kbjr/Git.php - which has a PHP library for accessing git using proc_open and usable in git safe mode.
It seems to be fairly easy to use. According to the api documents, you'd be able to get a list of branches in an array with these commands:
require_once('Git.php');
$repo = Git::open('/path/to/repo');
$branch_array = $repo->list_branches();
You'd substitute your own repo path. You would need the git commands installed for that to work.
As for creating a whole web page, there are complete systems for this - cgit, gitweb, gitphp and a number of others so it may be worth considering if any of those could be configured to meet your needs before creating a completely new tool.

Categories