Comments (4)
I have used composer for a long time, and it seems to handle package dependency very easy.
most PACKAGES are PSR compliant http://www.php-fig.org/ (https://packagist.org/ php packages).
Also, it handle cutting edge PHP features (to handle dependencies, closures, namespacing ). avoiding class conflicts.
to INSTALL packages, you DO NOT need NODEJS (Bower does).
Benefits:
using composer help us to make sure that dependencies of the proyect are meet very easy.
Upgrades made easy with composer commands
Ability to vesion composer with different dependencies across branches.
Downsize:
you need to know how composer works.
Sometimes you need to be able to run CLI commands
Conclusion:
I would prefer COMPOSER instead of BOWER.
from crm.
I would agree with you that composer is a better for php projects... Let me create a list of libs that we use and go from there
from crm.
Eloquent (LARAVEL ORM).
For ORM I would recomend the following package
Is realy easy to use: (see docs)
http://laravel.com/docs/5.0/eloquent
composer file:
{
"require": {
"illuminate/database": "*"
}
}
GUZZLE HTTP:
PHP HTTP client and framework for consuming RESTful web services
urL: http://guzzle.readthedocs.org/en/latest/
Composer file:
{
"require": {
"guzzlehttp/guzzle": "~5.0"
}
}
SLIM PHP framework
Url: http://www.slimframework.com/
LIGHT WEIGHT MICRO PHP FRAMEWORK can help us to migrate to MVC .
Composer file:
{
"require": {
"slim/slim": "dev-master"
}
}
Phinx
This is a DATABASE migration tool writen in php
Is framework agnostic.
Is is realy easy to manage migrations:
URL: http://docs.phinx.org/en/latest/
Composer File:
{
"require": {
"robmorgan/phinx": "dev-master"
}
}
Faker
Faker is a PHP library that generates fake data for you.
https://packagist.org/packages/fzaninotto/faker
{
"require": {
"fzaninotto/faker": "1.5.*@dev"
}
}
from crm.
While we are not yet using composer, we are moving all the external lib into a vendor dir.
from crm.
Related Issues (20)
- Enhancement: Use `securityRedirect` whenever we redirect because of a missing user role
- Bug: People directory outputs in Legal page size when Letter page size is selected HOT 2
- add 7 Day to Birthday and Anniversary on Dash Board HOT 1
- Bug: International phone numbers are shortened
- Bug: SQL Injection Vulnerability in EventAttendance.php HOT 2
- Bug: Age is not correct in Birthday Calendar.
- Bug: Birthday Calendar works for only current year.
- Wedding Date in wrong order on Directory Report HOT 5
- Feature request: Customize columns on View Active People/Families
- Bug: Unnecessary Actions column in Data Dump HOT 1
- Government compliancy HOT 5
- Bug: Save doesn't work in family editor HOT 17
- Bug: Person editor not showing full content. HOT 20
- Stored XSS from external family registration HOT 2
- Feature request: Remove the unused IE code since it's no longer a supported browser
- Required State causes issue on Self Registration page HOT 2
- Bug: Files deleted in new release is still on site after upgrading HOT 2
- Bug: Database upgrade fails on shared hosting 5.7.0 to 5.8.0 HOT 1
- Bug: sudo -u www-data php setup/index.php => "ChurchCRM\model\ChurchCRM\Base\ListOptionQuery" not found in ... HOT 14
- Feature request: LDAP integration for userdata HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from crm.