Giter Site home page Giter Site logo

user-management's Introduction

User management

Built with Slim Micro Framework 4 in an ADR-ish pattern (Action-Domain-Responder).

Features:

  • Log in/Log out
  • Add/edit/delete/view user

Notes:

  • PSR-7 HTTP message interfaces: slim/psr-7
  • PSR-11 Container interface: PHP-DI
  • PSR-2 coding style
  • PSR-4 autoloading
  • PHP Codesniffer runs automatically before every git commit using GrumPHP
  • Twig for templates
  • Phinx for database migrations

Requirements:

  • PHP 7.4+
  • MySQL 5.5+

Setup

1. Clone repository

$ cd /var/www/public_html
$ git clone https://github.com/biesbjerg/user-management.git ./

2. Install dependencies using composer

$ composer install

3. Make a copy of the environment file

$ cp config/.env.example config/.env

4. Modify environment file to reflect your database settings

$ nano config/.env
DATABASE_HOST=localhost
DATABASE=users
DATABASE_USER=users
DATABASE_PASSWORD=your_password

5. Run database migrations

$ vendor/bin/phinx migrate
...
$ vendor/bin/phinx seed:run

user-management's People

Contributors

biesbjerg avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

terrybr

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.