Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Is there a PHP equivalent of Rails migrations?
Looking for a good solution for configuring schema changes locally and then automatically bumping them to the server without losing data.
My project http://github.com/robmorgan/phinx is a small lightweight migration engine without any bloat or big framework dependency. It borrows the best parts from several tools including ActiveRecord::Migration.
Ruckusing Migrations is a "Database Migrations" framework for PHP 5.2+.
The framework is modeled after ActiveRecord::Migrations from Ruby on Rails.
Doctrine, an ORM and DBAL, has got migrations.
http://github.com/nickinuse/php-migrations is built on RoRs approach
Just to throw my hat into the ring, Ladder is a simple, pure PHP migrations system.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I am having a medium size project using CakePHP right now. It is/was using MySQL as database.
While after I heard and did some research on MongoDB. I would like to give it a try.
However, the way CakePHP implements model was designed for MySQL,even with the Mongo for PHP plugin. It's still using the 'inconvenient' way.
So, Is there a PHP framework that integrates MongoDB well and has the same(or almost the same) database APIs as MongoDB does.
You can try Laravel 4.x with jenseggers mongoDB package:
https://github.com/jenssegers/laravel-mongodb
You can also give Yii a shot or Doctrine which should give you mongoDB support out of the box.
Ultimately out of personal experience I recommend Laravel due to its elegant way of communicating with the database; if done correctly, you don't need to write a single SQL query.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I like and I am so comfortable with EF provided by .Net wherein I can code first and database tables are generated by the framework itself etc. I am now coding a personal site using PHP. Is there any equivalent thing in PHP which will make my life easier. I cannot choose .Net for personal site. That answer is out :(.
With "Code-First" approach, Doctrine:
Article: Code First Approaching PHP with Doctrine 2.2.1 and Composer.
Official Website: http://www.doctrine-project.org/projects/orm.html
You can check also other popular PHP ORMs, but I'm not sure if you could do "code-first approach" as Doctrine:
http://propelorm.org/
http://redbeanphp.com/
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I currently have an application developed on Laravel-4 we are needing to implement CMS functionality e.g. pages, posts, menu... on top of the actual application we have developed.
I do not feel like re-creating the wheel.
Are there any recommended CMS composer modules available for Laravel-4? that can simple be integrated into an existing application with an existing admin / user / roles setup?
As of this date it is still in development, but the good folks at WardrobeCMS are working on exactly that:
https://twitter.com/WardrobeCMS/status/364825833715671040
You can find the repo here:
https://github.com/wardrobecms/core
Wardrobe is great if you just need posts. At this point there isn't anything more than that though.
I haven't seen anything beyond wardrobe that is being developed as a composer package that is any better.
This has some possibilities but it requires a bit more work than just a composer install.
https://github.com/TheMonkeys/laravel-silverstripe
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
how can i automate testing of a web based application?
What are some frameworks that i can use to write scripts that will run automatically / on demand and indicate success or failure?
You can use Selenium or PHPUnit
We have set up a hook with SVN so that on a commit, PHPUnit is run.
I would imagine you could do the same with git/CVS or whatever version control you use.
Microsoft has a awesome framework for generating, coding, and running automated UI tests, which is included with Visual Studio 2010.
You can use TFS to run your tests on demand or in response to a continuous integration.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Does anybody know of something similar to django in PHP ?
I am looking for something that is a simple to use as django.
I have been using django for quite a long and now I have to do some development in PHP and I was expecting to use something similar
thanks
There are lots of MVC frameworks for PHP - it's hard to say which of these are "similar to Django" because of the variance in featuresets (and most folks don't even really use all of what is available in Django). But if you're just looking for a framework that uses the MVC paradigm, you now have a handy list to look through as well as some Google-able phrases
Yii is very similiar to Django, try it
Symfony2 is the most Django-like PHP framework up to date. It's been released just few months ago, so don't expect full documentation or LTS version, but it has several features that are very similar to Django: Twig (template engine), Bundles (almost like applications in Django), ORM and Assetic (library for handling static resources).