GithubHelp home page GithubHelp logo

samuelgfeller / slim-example-project Goto Github PK

View Code? Open in Web Editor NEW
32.0 6.0 3.0 37.2 MB

Complete Real World Slim 4 Example Project with Front- and Backend, Automated Testing, Auth System, Permissions, Localization and more.

Home Page: https://samuel-gfeller.ch/slim-example-project

License: MIT License

PHP 77.83% CSS 8.00% JavaScript 14.13% Hack 0.04%
slim slim4 skeleton example-project php-skeleton php-starter slim-framework slim-skeleton slim-starter

slim-example-project's People

Contributors

janniskirschner avatar samuelgfeller avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

slim-example-project's Issues

Hi Samuel. I am getting an error when I try to run the code for the first time.

I am new to slim 4.
I have bought all of Daniel's books and wanted to learn within his repo.
I have had a torrid time of it trying to get it to work.
Then I found your codebase.
I am blown away by the detail I find.
Phew... Amazing.

May I ask a question: I added the following scripts to composer.json.
"start": "php -S localhost:8080 -t public/",
"dump": "composer dump-autoload -o",
I have set up the database and have tables inserted with seed:minimal.
I have set up config/env/env.php
I have xampp running on my machine for the database and it is running. I then run the "start" script to get up and running.
However, when I put in credentials the system crashes.
I.e. in phpstorm I get the following error Script php -S localhost:8080 -t public/ handling the start event returned with error code -1073740791
Annotation 2024-02-15 220716
and the server stops dead (per attached).
I am sure I have done everything correctly but there are a lot of moving parts.
Possibly you have seen above before.
PS I am really excited to dig into your code and use it to help me learn slim 4 in a manner that aligns with Daniel's 3 books I have bought. Again. Awesome work. Thank you for the leg up to help me to understand what is happening within the piping of the framework.

Feedback / Questions

If you have questions or suggestions, please don't hesitate to let me know here.

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.