2017 © Pedro Peláez
 

project afshlim_framework

Slim fullstack framework in my way!

image

afshinpersian/afshlim_framework

Slim fullstack framework in my way!

  • Thursday, February 22, 2018
  • by afshinpersian
  • Repository
  • 1 Watchers
  • 1 Stars
  • 3 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 13 Versions
  • 0 % Grown

The README.md

Build Status Scrutinizer Code Quality Total Downloads License Latest Stable Version, (*1)

Twitter, (*2)

AfshlimFramework

a Slim framework boilerplate in my Way - PSR-7 - PSR-4 - PHP 7.0 - Namespaced, (*3)

- MVC

Contents


Usage

as a php developer I used to use many php frameworks such as laravel- yii - codeigniter and in the other hand I have used some php micro frameworks like SLIM , SILEX , FatfreeFramework ... but micro frameworks are tiny and fullstacks are huge , this skeleton is very slim with features of full stack frameworks .. this is my way to creating new framework ... I know it's not perfect .. but it's easy to use and full featured tool, (*4)

How to install

Run this command from the directory in which you want to install, (*5)

    composer create-project afshinpersian/afshlim_framework

create mysql database, (*6)

copy .env_example file, (*7)

    cp .env_example .env

run migration with this command, (*8)

    php afsh migrate

it's done, (*9)


Libraries

CLI Tools

  • Currently there are some supported commands:
  • php afsh make:controller MyControllerClassName
  • php afsh make:middleware MyMiddlewareClassName
  • php afsh make:model MyModelClassName
  • php afsh make:migration MymigrationClassName
  • php afsh list // list of commnads
  • php afsh migrate // run migrations
  • php afsh migrate:rollback// rollback migrations
  • php afsh migration:status // checking status of migrations
  • php afsh routes:list // getting routes list in cli tool

TODO

  • [x] registration
  • [x] login 1 step
  • [x] login 2 step
  • [ ] admin panel
  • [ ] sending email
  • [x] image manupulation
  • [ ] ajax support

The Versions