Skip to content

coa989/mvc-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple PHP CRUD made in MVC style

For this project you will need Composer https://getcomposer.org/

Next you need to run following:

composer install

Then you need to rename .env.example to .env and enter your DB credentials.

For migrations and seeding we are using robmorgan/phinx.

To create phinx.php config file run:

vendor/bin/phinx init

In phinx.php under development environments add you DB credentials.

Next you need to run following command to migrate DB:

php vendor/bin/phinx migrate

and then to seed admin and users run:

php vendor/bin/phinx seed:run

now cd to public dir and run

php -S 127.0.0.1:8000

Now in your browser you can run the 127.0.0.1:8000 url and start the app.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages