Download the PHP package darkalchemy/slim-auth without Composer
On this page you can find all versions of the php package darkalchemy/slim-auth. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download darkalchemy/slim-auth
More information about darkalchemy/slim-auth
Files in darkalchemy/slim-auth
Package slim-auth
Short Description A Slim 4 skeleton with authentication
License MIT
Homepage https://github.com/darkalchemy/slim-auth
Informations about the package slim-auth
Slim-Auth
A Slim 4 Skeleton.
This is a simple skeleton to quickly ramp up a slim 4 project.
PHP 8 is required\ Composer is required\ npm/npx is required
Slim 4 as the core framework\ nyholm/psr7 for the PSR-7 implementation\ php-di/php-di to manage dependency injection\ Cartalyst/Sentinel for user authentication and authorization\ delight-im/PHP-I18N for handling the users locale\ hellogerard/jobby to run all background jobs through cron\ Eloquent/ORM for database storage\ EmailValidator for validating email addresses\ Middlewares/Trailing-slash to remove any trailing slashes in the url\ Monolog for logging\ PHPMailer for sending email\ Phinx for database migrations\ Odan/Session for managing the session\ Slim/CSRF to protect against csrf\ Slim/Flash for flash messaging\ Slim/Twig/Flash (updated and included manually) for displaying flash messages in twig\ Slim/Twig-View for templates\ Slim/Whoops for displaying errors\ Twig-Translate for translations\ umpirsky/composer-permissions-handler to set folder permissions for log and cache folders\ Vlucas/Valitron for validation
To install using composer
cd into project, edit config/settings.php as needed and create the database.
After install
To update for development
To update for production
Set up cron job, this is necessary to be able to run scripts as www-data when needed
Emails do not get sent directly, they are inserted into the database and jobby will take care of sending them.
Compile twig templates for translating
Translate all php files to locale - en_US
Add additional locales
Translate all php files to locale - fr_FR
Then open locale/**/LC_MESSAGES/messages.po in poedit and edit translation.
Then to create the binary forms of the translations, you need to run again for each locale
Notes
If you want to use redis as your session handler, you should add this to php.ini and uncomment as needed, TCP or Socket
and add this to your redis.ini file
Add these to your apcu.ini
Available command line commands
TODO
phpunit for testing.
Credits
Much of what I have done here I learned from watching videos on youtube, Laracasts, Codecourse and from what I have read in many of the online tutorials and Slim Skeletons on github.\ Slim4-Skeleton, Slim-Skeleton and Slim4-Starter to list just a few.
I still have a long way to go, but I'm enjoying the trip. This should not be used for any production websites as there are still many things to correct.
All versions of slim-auth with dependencies
ext-gettext Version *
ext-intl Version *
ext-json Version *
ext-pdo Version *
cartalyst/sentinel Version ^v5.1.0
darkalchemy/twig-translate Version ^0.3.0
delight-im/i18n Version ^v1.1.0
egulias/email-validator Version ^3.1.2
fullpipe/twig-webpack-extension Version ^v4.0.1
hellogerard/jobby Version ^v3.5.0
illuminate/database Version ^v8.9.0
illuminate/events Version ^v8.9.0
middlewares/trailing-slash Version ^v2.0.1
monolog/monolog Version ^2.3.5
nyholm/psr7 Version ^1.4.1
nyholm/psr7-server Version ^1.0.2
odan/session Version ^5.1.0
php-di/slim-bridge Version ^3.2.0
phpmailer/phpmailer Version ^v6.5.3
robmorgan/phinx Version ^0.12.10
selective/config Version ^1.1.0
slim/csrf Version ^1.2.1
slim/flash Version ^0.4.0
slim/slim Version ^4.9.0
slim/twig-view Version ^3.3.0
symfony/http-foundation Version ^v6.0.2
uma/redis-session-handler Version ^v0.9.9
umpirsky/composer-permissions-handler Version ^v1.7
vlucas/valitron Version v1.4.10
zeuxisoo/slim-whoops Version ^0.7.3