Bref: CodeIgniter documentation

Created on 29 Aug 2019  路  8Comments  路  Source: brefphp/bref

Please give instructions or tutorial on how to use bref for codeigniter for lambda

documentation help wanted

Most helpful comment

Does not require any hack.. we already integrated bref on many CI projects:

  • Install bref via composer
  • Create php/config.d folder with .ini files to enable required extensions like PDO
  • Set $config['uri_protocol'] variable to 'PATH_INFO' otherwise will not work via API Gateway
  • Set $config['composer_autoload'] to TRUE
  • Setup pdo as db driver and use the right syntax to define hostname
  • Optionally integrate S3 stream wrapper and autoload it to use s3:// protocol inside CI default libraries/helpers

That's all!

All 8 comments

Does not require any hack.. we already integrated bref on many CI projects:

  • Install bref via composer
  • Create php/config.d folder with .ini files to enable required extensions like PDO
  • Set $config['uri_protocol'] variable to 'PATH_INFO' otherwise will not work via API Gateway
  • Set $config['composer_autoload'] to TRUE
  • Setup pdo as db driver and use the right syntax to define hostname
  • Optionally integrate S3 stream wrapper and autoload it to use s3:// protocol inside CI default libraries/helpers

That's all!

Do have any sample working project

Sorry, private projects only. But it's very simple.. why do you need a sample project?

Actual I am newbie in lambda ...I have a simple project in codeigniter and using xampp on Windows...so I need a little bit instruction...so that it can be successful deployed...

Does not require any hack.. we already integrated bref on many CI projects:

* Install bref via composer

* Create php/config.d folder with .ini files to enable required extensions like PDO

* Set $config['uri_protocol'] variable to  'PATH_INFO' otherwise will not work via API Gateway

* Set $config['composer_autoload'] to TRUE

* Setup pdo as db driver and use the right syntax to define hostname

* Optionally integrate S3 stream wrapper and autoload it to use s3:// protocol inside CI default libraries/helpers

That's all!

Where to create php/config.d folder with .ini files to enable required extensions like PDO

Does not require any hack.. we already integrated bref on many CI projects:

* Install bref via composer

* Create php/config.d folder with .ini files to enable required extensions like PDO

* Set $config['uri_protocol'] variable to  'PATH_INFO' otherwise will not work via API Gateway

* Set $config['composer_autoload'] to TRUE

* Setup pdo as db driver and use the right syntax to define hostname

* Optionally integrate S3 stream wrapper and autoload it to use s3:// protocol inside CI default libraries/helpers

That's all!

Where to create php/config.d folder with .ini files to enable required extensions like PDO

Database stated working with mysqli driver

codeigniter working with database connection to amazon rds...now i am trying for session management...

@anandvns please refrain from posting too many messages at once. This notifies a lot of people.

Let's give it a day or two and post a summary of your findings here.

Was this page helpful?
0 / 5 - 0 ratings