FriendsOfCake / app-template

CakePHP2: An empty application template, for use with composer
71 stars 16 forks source link

CakePHP 3.0 Version #54

Open josegonzalez opened 10 years ago

josegonzalez commented 10 years ago

We definitely want to keep the same features the app-template has - maybe even expand it if necessary - so filing this bug such that we don't forget.

We should also pull in whatever changes are necessary from the cakephp/app repo.

davidyell commented 10 years ago

Can we keep it a vanilla install. As additions will be managed with Composer it's easier for people to add their own bits to it. Otherwise it means that people will have to remove plugins, update composer and then actually edit their code to remove any package code.

ADmad commented 10 years ago

@davidyell Those who want vanilla can just use cakephp/app.

davidyell commented 10 years ago

Oh yes, sorry. Forgot that obviously with 3.x the app would be included from Composer.

josegonzalez commented 9 years ago

Okay so I think this can be done quite simply:

josegonzalez\Dotenv\Loader::load([
    'filepaths' => [
        __DIR__ . DS . '.env',
        __DIR__ . DS . '.env.default',
    ],
    'toServer' => true,
    'skipExisting' => ['toServer'],
    'raiseExceptions' => true
]);

Open question: Do we want to keep or remove all the cakephp/app history? If keep, it makes updating it in the future potentially easier.

jadb commented 9 years ago

This should also require @stable were possible. Probably also crud-view and authenticate? How does everyone feel about that?