All Projects → napolux → helloslim3

napolux / helloslim3

Licence: MIT License
A boilerplate for Slim Framework 3 apps

Programming Languages

PHP
23972 projects - #3 most used programming language
HTML
75241 projects
CSS
56736 projects
ApacheConf
554 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to helloslim3

php-finder refactoring-kata
🐘🔍Incomprehensible Finder Refactoring Kata port for PHP
Stars: ✭ 22 (-38.89%)
Mutual labels:  phpunit
lagan
Lagan is a different take on a CMS, with a focus on flexibility. Built with Slim, Redbean and Twig.
Stars: ✭ 44 (+22.22%)
Mutual labels:  slim
talks
Slides, code examples, reference materials, etc. for all technical talks I've given.
Stars: ✭ 11 (-69.44%)
Mutual labels:  phpunit
middleman-startae
A starter template ready to run on Netlify or Heroku. Comes with several helpers, partials and a nice basic structure to the HTML, Sass, Webpack and ES2015. Bottom line, a template that uses all the modern tools.
Stars: ✭ 43 (+19.44%)
Mutual labels:  slim
framework
A stylish PHP application framework crafted using Slim, Twig, Eloquent and Sentinel designed to get you from clone to production in a matter of minutes.
Stars: ✭ 56 (+55.56%)
Mutual labels:  slim
php-mime-detector
Detect a file's mime type using magic numbers.
Stars: ✭ 20 (-44.44%)
Mutual labels:  phpunit
Slim-Console
Slim Framework Console
Stars: ✭ 26 (-27.78%)
Mutual labels:  slim
phpunit-documentation-english
English Documentation for PHPUnit
Stars: ✭ 55 (+52.78%)
Mutual labels:  phpunit
REST-Api-with-Slim-PHP
REST API with PHP Slim Framework 3 and MySQL
Stars: ✭ 69 (+91.67%)
Mutual labels:  slim
CBAM-tensorflow-slim
CBAM implementation on TensorFlow Slim
Stars: ✭ 104 (+188.89%)
Mutual labels:  slim
phpunit-json-assertions
JSON assertions for PHPUnit (including JSON Schema)
Stars: ✭ 30 (-16.67%)
Mutual labels:  phpunit
phpunit-travis-ci-coverage-example
phpUnit Testing on Travis-CI with Code Coverage on CodeCov
Stars: ✭ 30 (-16.67%)
Mutual labels:  phpunit
slim-nette-extension
Nette Extension for Slim API micro-framework using middlewares.
Stars: ✭ 17 (-52.78%)
Mutual labels:  slim
strict-phpunit
Enables type-safe comparisons of objects in PHPUnit.
Stars: ✭ 18 (-50%)
Mutual labels:  phpunit
eloquent-phpunit
Eloquent model and database schema PHPUnit test case
Stars: ✭ 20 (-44.44%)
Mutual labels:  phpunit
slim-swoole
Slim 3 MVC Skeleton With Swoole
Stars: ✭ 52 (+44.44%)
Mutual labels:  slim
wp-phpunit
WordPress core PHPUnit library. [READ ONLY] Versions for new WordPress releases are built daily.
Stars: ✭ 65 (+80.56%)
Mutual labels:  phpunit
geggleto-acl
PSR-7 Zend ACL implementation - Permission Library [ slim, psr7, acl, permissions, zend ]
Stars: ✭ 33 (-8.33%)
Mutual labels:  slim
tiny-framework
A light wight easy to use RESTful apis framework for education & demo purposes. stripped down framework to the fundamental components that that every one would essentially need to (learn / make a demo application).
Stars: ✭ 13 (-63.89%)
Mutual labels:  slim
phpunit-expect
BDD-style assertions for PHPUnit
Stars: ✭ 15 (-58.33%)
Mutual labels:  phpunit

HelloSlim3 - A Slim Framework boilerplate for your apps

Build Status

A boilerplate for small PHP Projects containing the Slim microframework, Twig as Template Engine and Doctrine as ORM. If you use PHPUnit for tests, the /tests folder is there, just for you to use :P

Features

Here are some of the HelloSlim3 features...

  • Admin panel (ready to be customized, with basic auth)
  • Bootstrap integration
  • Basic controller example (both web / and API /api)
  • Basic tests examples

Requirements

To run HelloSlim3 you need:

Setup

  • Launch SASS watcher sass --watch assets/sass/:public/css --style compressed
  • Create a .env file in the root of your project. Take a look at .env.example
  • Change database connection credentials in .env
  • Change admin username and password in .env
  • Launch local PHP Server from HelloSlim3 folder php -S 0.0.0.0:8080 -t public public/index.php
  • Go and visit http://localhost:8080
  • Enjoy

How to launch tests locally

  • Copy .env.example into .env
  • Change credentials in .env according to your setup
  • Run phpunit tests/

TODO

  • Add some test cases for controller
  • Complete the to-do list ;)

Legal stuff

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

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].