Skip to content

Problem with laravel #9

Description

@trompx

Hello laruence,

I'm pretty new to the linux world but I gave it a try at installing php-lua in order to play with some lua scripts in laravel.

I create a simple php file :
$lua = new Lua();
$lua->assign("php_var", array(1=>1, 2, 3));
var_dump($lua->php_var);

If I launch it from linux terminal, I get the correct output.

When trying the same code inside a laravel class, I get the following message : "Class 'Lua' not found".

Do you know if there is some extra setup steps required to make it work with laravel ? I added extension=lua.so to php.ini file.

Thank you !

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions