All Projects → awurth → Slim3

awurth / Slim3

Licence: mit
Slim Framework 3 Skeleton Application

Projects that are alternatives of or similar to Slim3

SlimREST
An app skeleton for building a REST API with the Slim PHP Micro-Framework
Stars: ✭ 22 (-68.57%)
Mutual labels:  eloquent, skeleton, slim
Nofw
A no-framework application skeleton
Stars: ✭ 212 (+202.86%)
Mutual labels:  twig, framework, skeleton
Generator Baukasten
Awesome!
Stars: ✭ 50 (-28.57%)
Mutual labels:  twig, framework, boilerplate
Lass
👧 Lass scaffolds a modern package boilerplate for Node.js
Stars: ✭ 615 (+778.57%)
Mutual labels:  framework, starter, boilerplate
Vue Electron Typescript Quickstart
A boilerplate of Electron app that uses Vue in TypeScript.
Stars: ✭ 22 (-68.57%)
Mutual labels:  starter, boilerplate
Node Express Boilerplate
A boilerplate for building production-ready RESTful APIs using Node.js, Express, and Mongoose
Stars: ✭ 890 (+1171.43%)
Mutual labels:  starter, boilerplate
Angular Skeleton App
Angular 7.x navigation skeleton project with styling which get you started faster.
Stars: ✭ 25 (-64.29%)
Mutual labels:  starter, skeleton
Suicrux
🚀 Ultimate universal starter with lazy-loading, SSR and i18n. [not maintained]
Stars: ✭ 958 (+1268.57%)
Mutual labels:  starter, boilerplate
Laravel Boilerplate
Laravel Boilerplate / Starter Kit with Gentelella Admin Theme
Stars: ✭ 704 (+905.71%)
Mutual labels:  starter, boilerplate
Next Boilerplate
A well-structured production ready Next.js boilerplate with Typescript, Redux, Jest, Enzyme, Express.js, Sass, Css, EnvConfig, Fetch, Reverse Proxy, Bundle Analyzer and Built-in Project CLI. https://pankod.github.io/next-boilerplate/
Stars: ✭ 936 (+1237.14%)
Mutual labels:  starter, boilerplate
Web Extension Starter
🖥🔋Web Extension starter to build "Write Once Run on Any Browser" extension
Stars: ✭ 987 (+1310%)
Mutual labels:  starter, boilerplate
Framework
MomentPHP | The PHP mini-framework based on Slim and Laravel Components
Stars: ✭ 6 (-91.43%)
Mutual labels:  framework, slim
Primitive
⛏️ ‎ A front-end design toolkit for developing web apps.
Stars: ✭ 783 (+1018.57%)
Mutual labels:  framework, boilerplate
Wp Multitenancy Boilerplate
WordPress multitenancy boilerplate configured and managed with Composer and PHP dotenv.
Stars: ✭ 24 (-65.71%)
Mutual labels:  framework, boilerplate
Reactprimer
React component prototyping tool that generates fully connected class component code.
Stars: ✭ 743 (+961.43%)
Mutual labels:  boilerplate, skeleton
Caviar
The skeleton of frameworks for micro frontends
Stars: ✭ 14 (-80%)
Mutual labels:  framework, skeleton
Docker Skeleton Php
A simple Docker PHP development environment
Stars: ✭ 40 (-42.86%)
Mutual labels:  boilerplate, skeleton
Tris Webpack Boilerplate
A Webpack boilerplate for static websites that has all the necessary modern tools and optimizations built-in. Score a perfect 10/10 on performance.
Stars: ✭ 1,016 (+1351.43%)
Mutual labels:  starter, boilerplate
Nestjs Monorepo Starter
A full-stack nestjs starter project. Includes authorization, authentication, MongoDB, Redis queue support, Crons jobs, and end-to-end testing.
Stars: ✭ 58 (-17.14%)
Mutual labels:  starter, boilerplate
Akka Http Microservice
Example of http (micro)service in Scala & akka-http
Stars: ✭ 701 (+901.43%)
Mutual labels:  boilerplate, skeleton

Slim 3 application skeleton

SensioLabsInsight Scrutinizer Code Quality

This is an app skeleton for the Slim PHP Micro-Framework to get started quickly

Features

For more information, check out the project's wiki.

Installation

Create the project using Composer

$ composer create-project awurth/slim-base [project-name]

Setup environment variables

Copy .env to a .env.local file and change the values to your needs. This file is ignored by Git so all developers working on the project can have their own configuration.

Download client-side libraries

$ yarn

or if you prefer to use npm

$ npm install

Webpack

This skeleton uses Webpack to manage assets. The CSS and Javascript files are located in assets/, so you have to use Webpack after creating your project to generate the minified files in public/, which will be ignored by Git.

Generate assets

If you just want to generate the default CSS and JS that comes with this skeleton, run the following command

$ yarn build

or

$ npm run build

If you want to run a watcher and begin coding

$ yarn watch

Setup cache files permissions

The skeleton uses a cache system for Twig templates and the Monolog library for logging, so you have to make sure that PHP has write permissions on the var/cache/ and var/log/ directories.

Update your database schema

First, create a database with the name you set in the .env* file. Then you can create the tables by running this command:

$ php bin/console db
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].